This is a Rust implementation of Quantum Werewolf, a variant of Werewolf based on quantum mechanics. It can be used as a standalone program, or as a Rust library.
Currently, the only way to run a game of Quantum Werewolf using only this code requires one person to not participate in the game and instead act as a moderator. A moderator-less mode is planned.
- Install Rust.
- Run
cargo install --git=https://github.com/dasgefolge/quantum-werewolf
. - Run
qww
. This will display different kinds of messages:- Messages starting with
[ ** ]
are public messages. You should read or show them to all players. - Messages starting with
[ __ ]
are private messages. You should make sure only the indicated player sees them. - Messages starting with
[ ?? ]
are questions. If a question is for one player, you should ask them secretly. The town lynch target, on the other hand, is determined by all living players, like in a regular game of Werewolf. - Messages starting with
[ !! ]
are errors. If you see one, try again.
- Messages starting with