Skip to content

A Python-based multiplayer game inspired by "Werewolf: The Party Game." Features real-time roleplay using socket communication with roles like Wolf, Seer, Medium, and Chavalry. Automates night actions and day discussions, supporting up to 10 players.

Notifications You must be signed in to change notification settings

DanielKirash/WereWolf.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐺 Werewolf Game Server & Client

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

About

A Python-based multiplayer game inspired by "Werewolf: The Party Game." Features real-time roleplay using socket communication with roles like Wolf, Seer, Medium, and Chavalry. Automates night actions and day discussions, supporting up to 10 players.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages