A multiplayer game application based on the classic "Werewolf: The Party Game.", implemented in Python. The project uses socket communication for a client-server setup and supports various player roles.
👥 Available Roles
- Werewolf (`wolf`): Can choose to eliminate a player during the night.
- Seer (`seer`): Can discover the role of another player.
- Medium (`medium`): Can learn the role of a dead player.
- Chavalry (`chavalry`): Can save a player from a werewolf attack.
- Villager (`villager`): Participates in the daytime vote to eliminate suspects.
🛠 Technologies Used
- Python: Main programming language.
- Socket: Used for client-server communication.
- Threading: To manage multiple connections and concurrent actions.
- JSON: For data transfer between client and server.
🚀 Features
- Multiplayer game supporting up to 10 players.
- Random role assignment for players.
- Automated game phases: night (role actions) and day (discussion and voting).
- Action resolution and event handling based on player roles.
- Automatic victory condition check (villagers vs. wolves).
🤝 Contributing
Contributions, issues, and pull requests are welcome! Feel free to enhance the project and suggest new features.
Made with ❤️ by DanielKirash