Skip to content
/ Mafia Public

Mafia party game, written in Java for Advanced Programming midterm project.

License

Notifications You must be signed in to change notification settings

Adibov/Mafia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mafia Party Game

mafia-game Image Source

Introduction

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.

How to Use

  • Make sure Oracle OpenJDK 16.0.1 is installed on your device
  • Clone repository using git clone https://github.com/Adibov/Mafia.git command and open project directory
  • Start server by running RunGod.sh which is placed in God folder (if you are running on windows, simplify double-click on RunGod.bat)
  • After that, each player can connect to the server by running RunPlayer.sh which is placed in Player folder (again, if you are on windows, just double-click on RunPlayer.bat)

Some Notes

  • Default server port is set on 2021, feel free to change it under GameController class
  • Some settings has been set by default in Setting class, feel free to change them

About

Mafia party game, written in Java for Advanced Programming midterm project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages