Skip to main content

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

Metadata

Release files for freefang-server 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for freefang-server 0.4.1
File Size Uploaded
freefang-server-0.4.1.tar.gz 24.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for freefang-server 0.4.1
File Interpreter ABI Platform
freefang_server-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 50.9 kB

Release files / freefang-server-0.4.1.tar.gz

Download URL freefang-server-0.4.1.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f1c6c653dd1f439ebf1d89261e1ad9e0d39326532aaa4587ecb73095f639233c
BLAKE2b-256 checksum
How to use checksums
f025a5908b8576158f15b9fbe07084f95aaac86c64aa6901d8789a218d7af9f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / freefang_server-0.4.1-py3-none-any.whl

Download URL freefang_server-0.4.1-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dc7aafa107dee5d859abc5ac25b4d57cfd4a126b9c10a9fcb320211cf1766c3
BLAKE2b-256 checksum
How to use checksums
5497a33f71a3ac3ddd209e99d0017ea3045a1ad845a31fade8f5d417b1cda13d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page