An open API service indexing awesome lists of open source software.

https://github.com/gw31415/werewolf

Rust library for implementing the game of Werewolf
https://github.com/gw31415/werewolf

rust werewolf

Last synced: 2 months ago
JSON representation

Rust library for implementing the game of Werewolf

Awesome Lists containing this project

README

        

# Werewolf

Werewolf is a Rust library for implementing the game of Werewolf (also known as Mafia).

## Usage

Here are some basic guidelines for implementing a Werewolf game using this library. For more details, please refer to the [simulate_gameflow_cli.rs](examples/simulate_gameflow_cli.rs) in the `examples` directory.

1. Sign up to the game master with a username.
2. Start the game.
3. Each player takes actions according to their role (voting, guarding, killing, divining, etc.).
4. Repeat this until the game ends.

## License

This library is licensed under the Apache 2.0 License.