Skip to content

brunopinto22/Labyrinth-Tux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Labyrinth-Tux

Labyrinth Game for Linux, with a server/client architecture.

This game was made as an university project


Features 📑

  • 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
No JogoUI can be initialized without the Motor being ON

Requirements 📋

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 game
  • DURACAO : base level time (in seconds)
  • DECREMENTO : time reduced on each level (in seconds)

How to Use 🛠

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

Commands 💻 (Motor)

  • users : prints all the users currently online
  • kick <username> : kicks the player
  • bots : lists all the bots
  • bmov : adds an dynamic wall
  • rbm : removes one dynamic wall
  • begin : start the game
  • settings : prints the system settings
  • map <level> : prints the map and settings of one level
  • help : prints a command list
  • end : closes the motor and kicks all the players

Commands 👥 (JogoUI)

  • UP ARROW : moves upwards
  • DOWN ARROW : moves downwards
  • RIGHT ARROW : moves to the right
  • LEFT ARROW : moves to the left
  • SPACE KEY : changes to writing mode
  • msg <username> : sends an message to a player
  • help : prints a command list
  • exit : closes the jogoUI and notifies the motor

Releases

No releases published

Packages

No packages published