Skip to content

lendunistus/quantum-werewolf

This branch is 4 commits behind dasgefolge/quantum-werewolf:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

48e7f82 · Feb 28, 2021

History

40 Commits
Feb 28, 2021
Feb 22, 2017
Feb 28, 2021
Feb 22, 2017
Dec 4, 2018

Repository files navigation

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.

Usage

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.

  1. Install Rust.
  2. Run cargo install --git=https://github.com/dasgefolge/quantum-werewolf.
  3. 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.

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%