Skip to content

JamesCraster/OpenWerewolf

Repository files navigation

OpenWerewolf

The fully-featured online multiplayer mafia game.

Screenshots:

An image of the OpenWerewolf client An image of the OpenWerewolf lobby

About:

OpenWerewolf is an online multiplayer adaptation of the classic game of Mafia. This is a social deception game in which a team of evil mafia players hide amongst the innocent townsfolk, attempting to pick them off one by one during the dark nights. But the town members have a way to fight back; every day they hold a trial in the main square where the population votes on who they think is a member of the mafia. The player with the most votes is removed from the game, and so it continues day by day until either the mafia are all dead, or they are the only ones left standing.

OpenWerewolf is 100% free and open source, and is designed to be modifiable in every way. You can create your own games, roles and mechanics using the core engine, and then add them in. If you are interested in contributing, read the short guide for contributors, and then either create a fork and do a pull request, or make your own compatible game project. The discord has a #dev channel, so please feel free to ask any questions or discuss your changes there!

Features:

  • Many games can run at once using the lobby system.
  • Easy to use graphical interface.
  • Multiple game modes.
  • You can use the core engine to create new game modes.

The Game Modes:

  • Classic: A classic game of mafia lasting multiple nights. Featuring mafiosos, doctors, cops and vigilantes. For 5+ players.

  • OneDay: This is a very different game from conventional mafia. During the night, your cards are stolen, swapped, carefully inspected and drunkenly taken by accident. It's up to you to piece together the truth (if you're a townie) or bluff your way to victory (if you're an evil werewolf), in the Trial, where you'll be voting to kill the werewolves among you. For 3-7 players.

  • Mafia execution, Mission games haven't been started yet: maybe you could help write them?

Contribute:

All contributors are welcome. There's a short guide to help make contributing easier. This guide includes instructions on how to easily build OpenWerewolf from source.

Download and Run

   cd release
   npm install
   node app.js

The documentation is generated using Typedoc.

Attributions and Legal Info:

The favicon 'icon.png' is made by Dave Gandy (https://www.flaticon.com/authors/dave-gandy) from www.flaticon.com. It is licensed under CC 3.0 BY.

The font 'mercutio_basic.ttf' is made by Nate Halley, 'Nate547' (Total FontGeek), and is licensed under CC BY-SA 3.0.

The sound effects 162464-kastenfrosch-message.mp3, 162465-kastenfrosch-lostitem.mp3, 162476-kastenfrosch-gotitem.mp3 are under CC0 1.0 and are available here.

All of the assets in Client/assets are licensed under CC-BY-4.0, and are made by me.

I want to avoid confusion between the OpenWerewolf site that I run and the sites that others may run. Therefore "OpenWerewolf" is an unregistered trademark belonging to me, James Craster, and it is necessary that you call your website(s) by a different name.