Compare commits
1 Commits
master
...
684bc1a387
| Author | SHA1 | Date | |
|---|---|---|---|
| 684bc1a387 |
71
README.md
71
README.md
@@ -7,6 +7,8 @@ Trying to rebuild [https://github.com/foin137/werwolfonline.eu](https://github.c
|
||||
|
||||
```plantuml
|
||||
@startuml(id=overview)
|
||||
hide empty description
|
||||
|
||||
state WaitingForPlayers <<fork>>
|
||||
[*] --> WaitingForPlayers: Created
|
||||
WaitingForPlayers --> GameMaster: Creator
|
||||
@@ -28,15 +30,23 @@ WaitingForPlayersEnd --> StartGame
|
||||
StartGame : Assign Player Roles
|
||||
StartGame : Show Introduction
|
||||
|
||||
StartGame --> MainPhase : all ready
|
||||
state MainPhase {
|
||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!DayAndNight
|
||||
StartGame --> MainPhaseNight : all ready
|
||||
state MainPhaseNight {
|
||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!TheNight
|
||||
}
|
||||
MainPhaseNight --> Award: No Villagers left
|
||||
MainPhaseNight --> MainPhaseDay: Some Villagers left
|
||||
state MainPhaseDay {
|
||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!TheDay
|
||||
}
|
||||
MainPhaseDay --> Award: No Werewolfes left
|
||||
MainPhaseDay --> MainPhaseNight: Some Werewolfes left
|
||||
@enduml
|
||||
```
|
||||
|
||||
```plantuml
|
||||
@startuml(id=DayAndNight)
|
||||
@startuml(id=TheNight)
|
||||
hide empty description
|
||||
state NightPhaseCupin <<fork>>
|
||||
[*] --> NightPhaseCupin: Game has Cupin
|
||||
[*] --> NightPhaseMain: no Cupin
|
||||
@@ -61,18 +71,35 @@ NightPhaseLovedOnesEnd --> NightPhaseMain : all ready
|
||||
state NightPhaseMain {
|
||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!NightPhaseMain
|
||||
}
|
||||
NightPhaseMain --> NightPhaseLate : Witch/Leaderwolf &&\nvoted &&\nactions done and all ready
|
||||
state NightPhaseLate {
|
||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!NightPhaseLate
|
||||
}
|
||||
NightPhaseMain --> [*]: no Witch/Leaderwolf &&\nvoted &&\nactions done and all ready
|
||||
NightPhaseLate --> [*]: actions taken
|
||||
@enduml
|
||||
```
|
||||
|
||||
NightPhaseMain --> NightPhaseLate : Witch/Leaderwolf && voted && actions done and all ready
|
||||
NightPhaseLate: LeaderWolf selects victim to convert
|
||||
NightPhaseLate: witch is allowed to select heal/murder
|
||||
|
||||
NightPhaseMain --> ShowDead: no Witch/Leaderwolf && voted && actions done and all ready
|
||||
NightPhaseLate --> ShowDead: actions taken
|
||||
```plantuml
|
||||
@startuml(id=TheDay)
|
||||
hide empty description
|
||||
[*] --> ShowDead: Done
|
||||
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 --> [*]: Done
|
||||
@enduml
|
||||
```
|
||||
|
||||
```plantuml
|
||||
@startuml(id=NightPhaseMain)
|
||||
hide empty description
|
||||
state NightPhaseMainStart <<fork>>
|
||||
[*] --> NightPhaseMainStart
|
||||
NightPhaseMainStart --> SelectVictim: Werewolfes || Spy
|
||||
@@ -94,6 +121,30 @@ NightPhaseMainEnd --> [*]
|
||||
@enduml
|
||||
```
|
||||
|
||||
```plantuml
|
||||
@startuml(id=NightPhaseLate)
|
||||
hide empty description
|
||||
state NightPhaseLateStart <<fork>>
|
||||
[*] --> NightPhaseLateStart
|
||||
state "Witch selects\nHealing or Poison" as SelectHealOrPoison
|
||||
state "Leaderwolf selects victim\nfor conversion" as SelectLeaderVictim
|
||||
NightPhaseLateStart --> SelectHealOrPoison: Witch
|
||||
NightPhaseLateStart --> SelectLeaderVictim: Leaderwolf
|
||||
NightPhaseLateStart --> SleepAgain: Villager
|
||||
|
||||
|
||||
|
||||
state NightPhaseLateEnd <<join>>
|
||||
SelectHealOrPoison --> NightPhaseLateEnd: Selection finished
|
||||
SelectHealOrPoison -left-> SelectHealOrPoison: Next selection
|
||||
SelectLeaderVictim --> NightPhaseLateEnd: Done
|
||||
SleepAgain --> NightPhaseLateEnd
|
||||
|
||||
NightPhaseLateEnd --> [*]
|
||||
|
||||
@enduml
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user