Compare commits
1 Commits
684bc1a387
...
e1cb096bd0
| Author | SHA1 | Date | |
|---|---|---|---|
| e1cb096bd0 |
73
README.md
73
README.md
@@ -7,6 +7,8 @@ Trying to rebuild [https://github.com/foin137/werwolfonline.eu](https://github.c
|
|||||||
|
|
||||||
```plantuml
|
```plantuml
|
||||||
@startuml(id=overview)
|
@startuml(id=overview)
|
||||||
|
hide empty description
|
||||||
|
|
||||||
state WaitingForPlayers <<fork>>
|
state WaitingForPlayers <<fork>>
|
||||||
[*] --> WaitingForPlayers: Created
|
[*] --> WaitingForPlayers: Created
|
||||||
WaitingForPlayers --> GameMaster: Creator
|
WaitingForPlayers --> GameMaster: Creator
|
||||||
@@ -28,15 +30,23 @@ 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 --> 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
|
@enduml
|
||||||
```
|
```
|
||||||
|
|
||||||
```plantuml
|
```plantuml
|
||||||
@startuml(id=DayAndNight)
|
@startuml(id=TheNight)
|
||||||
|
hide empty description
|
||||||
state NightPhaseCupin <<fork>>
|
state NightPhaseCupin <<fork>>
|
||||||
[*] --> NightPhaseCupin: Game has Cupin
|
[*] --> NightPhaseCupin: Game has Cupin
|
||||||
[*] --> NightPhaseMain: no Cupin
|
[*] --> NightPhaseMain: no Cupin
|
||||||
@@ -61,24 +71,41 @@ NightPhaseLovedOnesEnd --> NightPhaseMain : all ready
|
|||||||
state NightPhaseMain {
|
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 &&\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
|
```plantuml
|
||||||
NightPhaseLate: LeaderWolf selects victim to convert
|
@startuml(id=TheDay)
|
||||||
NightPhaseLate: witch is allowed to select heal/murder
|
hide empty description
|
||||||
|
[*] --> ShowDead: Done
|
||||||
NightPhaseMain --> ShowDead: no Witch/Leaderwolf && voted && actions done and all ready
|
ShowDead: Show the Dead of the night
|
||||||
NightPhaseLate --> ShowDead: actions taken
|
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
|
@enduml
|
||||||
```
|
```
|
||||||
|
|
||||||
```plantuml
|
```plantuml
|
||||||
@startuml(id=NightPhaseMain)
|
@startuml(id=NightPhaseMain)
|
||||||
|
hide empty description
|
||||||
state NightPhaseMainStart <<fork>>
|
state NightPhaseMainStart <<fork>>
|
||||||
[*] --> NightPhaseMainStart
|
[*] --> NightPhaseMainStart
|
||||||
NightPhaseMainStart --> SelectVictim: Werewolfes || Spy
|
NightPhaseMainStart --> SelectVictim: Werewolfes || Spy
|
||||||
NightPhaseMainStart --> SelectIdentity: Seer
|
NightPhaseMainStart --> SelectIdentity: Seer
|
||||||
NightPhaseMainStart --> SelectProtectee: Protector
|
NightPhaseMainStart --> SelectProtectee: Protector
|
||||||
NightPhaseMainStart --> SeeWerewolfes: ParanormalInvestigator && FirstRound*
|
NightPhaseMainStart --> SeeWerewolfes: ParanormalInvestigator
|
||||||
NightPhaseMainStart --> Sleep: Villager
|
NightPhaseMainStart --> Sleep: Villager
|
||||||
|
|
||||||
|
|
||||||
@@ -94,6 +121,30 @@ NightPhaseMainEnd --> [*]
|
|||||||
@enduml
|
@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