Compare commits
1 Commits
30102c5343
...
4f714dba28
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f714dba28 |
50
README.md
50
README.md
@@ -28,15 +28,19 @@ WaitingForPlayersEnd --> StartGame
|
|||||||
StartGame : Assign Player Roles
|
StartGame : Assign Player Roles
|
||||||
StartGame : Show Introduction
|
StartGame : Show Introduction
|
||||||
|
|
||||||
StartGame --> MainPhase : all ready
|
StartGame --> MainPhaseNight : all ready
|
||||||
state MainPhase {
|
state MainPhaseNight {
|
||||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!DayAndNight
|
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!TheNight
|
||||||
|
}
|
||||||
|
MainPhaseNight --> MainPhaseDay
|
||||||
|
state MainPhaseDay {
|
||||||
|
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!TheDay
|
||||||
}
|
}
|
||||||
@enduml
|
@enduml
|
||||||
```
|
```
|
||||||
|
|
||||||
```plantuml
|
```plantuml
|
||||||
@startuml(id=DayAndNight)
|
@startuml(id=TheNight)
|
||||||
state NightPhaseCupin <<fork>>
|
state NightPhaseCupin <<fork>>
|
||||||
[*] --> NightPhaseCupin: Game has Cupin
|
[*] --> NightPhaseCupin: Game has Cupin
|
||||||
[*] --> NightPhaseMain: no Cupin
|
[*] --> NightPhaseMain: no Cupin
|
||||||
@@ -62,12 +66,20 @@ state NightPhaseMain {
|
|||||||
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!NightPhaseMain
|
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!NightPhaseMain
|
||||||
}
|
}
|
||||||
|
|
||||||
NightPhaseMain --> NightPhaseLate : Witch/Leaderwolf && voted && actions done and all ready
|
NightPhaseMain --> NightPhaseLate : Witch/Leaderwolf &&\nvoted &&\nactions done and all ready
|
||||||
NightPhaseLate: LeaderWolf selects victim to convert
|
state NightPhaseLate {
|
||||||
NightPhaseLate: witch is allowed to select heal/murder
|
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!NightPhaseLate
|
||||||
|
}
|
||||||
|
|
||||||
NightPhaseMain --> ShowDead: no Witch/Leaderwolf && voted && actions done and all ready
|
NightPhaseMain --> [*]: no Witch/Leaderwolf &&\nvoted &&\nactions done and all ready
|
||||||
NightPhaseLate --> ShowDead: actions taken
|
NightPhaseLate --> [*]: actions taken
|
||||||
|
@enduml
|
||||||
|
```
|
||||||
|
|
||||||
|
```plantuml
|
||||||
|
@startuml(id=TheDay)
|
||||||
|
[*] --> ShowDead: Done
|
||||||
|
ShowDead --> [*]: Done
|
||||||
@enduml
|
@enduml
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -94,6 +106,26 @@ NightPhaseMainEnd --> [*]
|
|||||||
@enduml
|
@enduml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```plantuml
|
||||||
|
@startuml(id=NightPhaseLate)
|
||||||
|
state NightPhaseLateStart <<fork>>
|
||||||
|
[*] --> NightPhaseLateStart
|
||||||
|
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