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
- Host: GitHub
- URL: https://github.com/gw31415/werewolf
- Owner: gw31415
- License: apache-2.0
- Created: 2023-04-25T10:55:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T05:56:21.000Z (about 1 year ago)
- Last Synced: 2024-12-31T22:26:14.603Z (4 months ago)
- Topics: rust, werewolf
- Language: Rust
- Homepage:
- Size: 119 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.