Labyrinth Game for Linux, with a server/client architecture.
This game was made as an university project
- Motor: The application responsible for the game management and responding to all the players requests and in-game actions
- JogoUI: The application that all players use to play the game
You'll need ncurses installed on your system
sudo apt install libncurses5 libncurses5-dev
Also it is required to have 4 ambient variables:
INSCRICAO
: time gap were the players can enter to play (in seconds)NPLAYERS
: minimum number of players needed to start the gameDURACAO
: base level time (in seconds)DECREMENTO
: time reduced on each level (in seconds)
In the terminal use the following command:
make all
: to initialize all the .exe
files needed
make clear
: This will clear all the temporary files and the .exe
files
./motor
: to initialize the motor application
./jogoUI <username>
: to initialize the jogoUI application
users
: prints all the users currently onlinekick <username>
: kicks the playerbots
: lists all the botsbmov
: adds an dynamic wallrbm
: removes one dynamic wallbegin
: start the gamesettings
: prints the system settingsmap <level>
: prints the map and settings of one levelhelp
: prints a command listend
: closes the motor and kicks all the players
UP ARROW
: moves upwardsDOWN ARROW
: moves downwardsRIGHT ARROW
: moves to the rightLEFT ARROW
: moves to the leftSPACE KEY
: changes to writing modemsg <username>
: sends an message to a playerhelp
: prints a command listexit
: closes the jogoUI and notifies the motor