A minimalist webapp for playing Mafia without the need for a game master.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
routes
views
.gitignore
README.md
bower.json
deathQuotes.json
game.js
index.js
package.json
socket.js

README.md

Mafia

A minimalist webapp for playing Mafia without the need for a game master.

Live version

Development

Clone and run npm install and bower install.

Run with node index.js.

Note: clients use cookies to identify themselves to the server in case of a disconnect or page refresh, so you'll need to open different browsers or incognito tabs to test.

Playing

The server handles all the nighttime logic, but daytime discussion and lynching is left to the players. The moderator tells the server who gets lynched.