2021-03-14 14:21:33 +01:00
2021-03-14 13:59:13 +01:00
2021-03-09 22:30:28 +01:00
2021-03-21 14:23:30 +01:00

PyWerwolf

Trying to rebuild https://github.com/foin137/werwolfonline.eu in python

Phases of the game

@startuml(id=overview)
hide empty description

state WaitingForPlayers
[*] --> WaitingForPlayers: Created

WaitingForPlayers --> StartGame: Start && ready
StartGame : Assign Player Roles
StartGame : Show Introduction

StartGame --> Night : All players ready


Night --> SelectVictim

SelectVictim --> KillVictim
KillVictim --> ShowDead: Some Villagers left
KillVictim --> Award: No Villagers left

ShowDead: Show the Dead of the night
ShowDead --> Election: No Major
Election --> Discussion: Major elected
ShowDead --> Discussion: all ready || major ready
Discussion --> Accuse: time is up / major forwarded
Accuse --> Poll : Accuse ok
Poll --> ShootTheConvict: Poll successfull
Poll --> Voting: Poll unsuccessfull
Voting --> ShootTheConvict: Voting Completed
ShootTheConvict --> Award: No Werewolfes left
ShootTheConvict --> Night: Some Werewolfes left
@enduml
Description
Werewolf game in python
Readme 111 KiB
Languages
Python 90.2%
HTML 4.9%
Jinja 4.9%