Mafia is a party game that can be played by 6 or more players. All players are distributed into two teams named Mafias and Citizens. The goal for each team is to defeat other team by killing them. Each turn consists of two phases called Day and Night in which players have to act their role to become victorios. For more information and get to know more about the game, checkout this link.
- Make sure Oracle OpenJDK 16.0.1 is installed on your device
- Clone repository using
git clone https://github.com/Adibov/Mafia.gitcommand and open project directory - Start server by running
RunGod.shwhich is placed inGodfolder (if you are running on windows, simplify double-click onRunGod.bat) - After that, each player can connect to the server by running
RunPlayer.shwhich is placed inPlayerfolder (again, if you are on windows, just double-click onRunPlayer.bat)
- Default server port is set on
2021, feel free to change it underGameControllerclass - Some settings has been set by default in
Settingclass, feel free to change them
