Adibov / Mafia

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0


Languages

Language:Java 99.9%Language:Shell 0.1%Language:Batchfile 0.0%