Compare commits
1 Commits
bce51637fd
...
d10583cc3c
| Author | SHA1 | Date | |
|---|---|---|---|
| d10583cc3c |
46
README.md
46
README.md
@@ -29,14 +29,18 @@ StartGame : Assign Player Roles
|
|||||||
StartGame : Show Introduction
|
StartGame : Show Introduction
|
||||||
|
|
||||||
StartGame --> MainPhase : all ready
|
StartGame --> MainPhase : 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
|
||||||
@@ -63,11 +67,19 @@ state NightPhaseMain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NightPhaseMain --> NightPhaseLate : Witch/Leaderwolf && voted && actions done and all ready
|
NightPhaseMain --> NightPhaseLate : Witch/Leaderwolf && voted && actions 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 && voted && actions done and all ready
|
||||||
NightPhaseLate --> ShowDead: actions taken
|
NightPhaseLate --> [*]: actions taken
|
||||||
|
@enduml
|
||||||
|
```
|
||||||
|
|
||||||
|
```plantuml
|
||||||
|
@startuml(id=TheDay)
|
||||||
|
[*] --> ShowDead:
|
||||||
|
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 -> SelectHealOrPoison: Next selection
|
||||||
|
SelectLeaderVictim --> NightPhaseLateEnd: Done
|
||||||
|
SleepAgain --> NightPhaseLateEnd
|
||||||
|
|
||||||
|
NightPhaseLateEnd --> [*]
|
||||||
|
|
||||||
|
@enduml
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user