Welcome to lizardNRoaches, a game where players take on the role of lizards trying to eat as many roaches as possible while avoiding wasps. This game comes in two parts:
In Part 1, the game consists of two separate components: the server and the client. The server is responsible for managing the game state and communicating with clients, while the client is responsible for displaying the game and sending user input to the server. In order to visualize the GUI, Display-app
must be executed alongside the Lizard-Client
. Roaches bots can be incorporated with the respective client and the server should is single threaded.
In Part 2, the gmae is further extended so that clients board is updated when connecting to the board. Furthermore, Wasps can be added the game with Wasps-client
, and the server is multi-threaded.
For more detailed explanations regarding both parts, please read LizardNRoaches-Part(A/B).pdf
- Curses library
- Protocol Buffers
- ZeroMQ
- Navigate to the
part1
orpart2
directory - Compile server and clients using
make
- Run server with
./bin/lizardsNroaches-server
- Run client with
./bin/Lizard-client
- If on Part1 run
./bin/Display-app
for UI - Add bots by running
./bin/Roaches-Client
and/or./bin/Wasps-Client
(wasps are only available in Part2)