Skip to main content

The server for FreeFang, a libre python implementation of Werewolf (also known as Mafia)

Project description

FreeFang

A free implementation of Werewolf (also known as Mafia) in python. Currently in beta, however it is usable and all core features are implemented.

Gameplay

This game opposes two sides, the werewolves (minority) and the town (majority). The goal of the town is to exterminate the werewolves and the goal of the werewolves is to reach numerical parity with the town. The game happens in a cycle of night and day. During the night roles with different powers (such as finding out the role of another player) wake up and the werewolves vote to kill one non-werewolf. During the day the town (with the werewolves hidden among them) vote to kill one player which they suspect to be a werewolf. The town does not know who the werewolves are and rely on clues/info given to them by the different roles.

This game is about social deduction, lying, persuasion, finding and using clues, etc.

Getting started

The FreeFang server is available on pypi as freefang-server.
To get started with hosting simply run

python -m pip install freefang-server
freefang-server

For all the options available run freefang-server -h

Features

  • Full werewolf experience with quite a few roles to pick from.
  • No moderator needed, the server takes care of everything from role attribution to voting to role actions.
  • Create a custom ruleset on game creation with only the roles you want and more custom options!.
  • No signup, enter a server, game id, pick a name and you're good.
  • Selfhostable, very simple to get started with.

Clients

freefang-qt is the reference client written by the devs. You are free to write your own and PR to have it added here, full protocol documentation is coming.

Protocol documentation

Full protocol documentation in PROTOCOL.md with examples and complete descriptions.

Contribute

There are many ways you can help the FreeFang project and we would be extremely thankful. Those include but aren't limited to:

  • Contributing code
  • Contributing ideas
  • Hosting a server
  • Writing a client
  • Finding and reporting bugs
  • Testing on different platforms (Windows, MacOS, *BSD)
  • Spreading the word about FreeFang

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freefang-server-0.4.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freefang_server-0.4.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file freefang-server-0.4.1.tar.gz.

File metadata

  • Download URL: freefang-server-0.4.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for freefang-server-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f1c6c653dd1f439ebf1d89261e1ad9e0d39326532aaa4587ecb73095f639233c
MD5 95ce879bdc31c452501f2991c64199b8
BLAKE2b-256 f025a5908b8576158f15b9fbe07084f95aaac86c64aa6901d8789a218d7af9f4

See more details on using hashes here.

File details

Details for the file freefang_server-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for freefang_server-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc7aafa107dee5d859abc5ac25b4d57cfd4a126b9c10a9fcb320211cf1766c3
MD5 abce8c8214b0e6092c1c21b8b0b4247c
BLAKE2b-256 5497a33f71a3ac3ddd209e99d0017ea3045a1ad845a31fade8f5d417b1cda13d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page