Update readme
This commit is contained in:
15
README.md
15
README.md
@ -221,7 +221,7 @@ end
|
|||||||
== Player reached destination ==
|
== Player reached destination ==
|
||||||
|
|
||||||
Game -> Game: Lock game for other players
|
Game -> Game: Lock game for other players
|
||||||
activate Game
|
activate Game #skyblue
|
||||||
Game -> WS: Player reached destination
|
Game -> WS: Player reached destination
|
||||||
activate WS #coral
|
activate WS #coral
|
||||||
WS o-> Client1: Select product
|
WS o-> Client1: Select product
|
||||||
@ -231,7 +231,7 @@ deactivate Game
|
|||||||
|
|
||||||
loop #lightyellow Product select countdown timer (60s)
|
loop #lightyellow Product select countdown timer (60s)
|
||||||
Game ->o WS: Timer timeout
|
Game ->o WS: Timer timeout
|
||||||
activate Game
|
activate Game #skyblue
|
||||||
activate WS #coral
|
activate WS #coral
|
||||||
WS o-> Client1: Selection timeout
|
WS o-> Client1: Selection timeout
|
||||||
WS o-> Client2: Selection timeout
|
WS o-> Client2: Selection timeout
|
||||||
@ -240,16 +240,21 @@ loop #lightyellow Product select countdown timer (60s)
|
|||||||
deactivate Game
|
deactivate Game
|
||||||
end
|
end
|
||||||
|
|
||||||
Client1 -> WS: Product selected
|
Client1 -> Client1: Product selection
|
||||||
|
activate Client1 #greenyellow
|
||||||
|
Client1 -> Client1: Dispense product
|
||||||
|
Client1 ->o WS: Product selected
|
||||||
|
deactivate Client1
|
||||||
|
|
||||||
activate WS #coral
|
activate WS #coral
|
||||||
WS o-> Game: Product selected
|
WS o-> Game: Product selected
|
||||||
activate Game
|
activate Game #skyblue
|
||||||
WS o-> Client2: Product selected
|
WS o-> Client2: Product selected
|
||||||
deactivate WS
|
deactivate WS
|
||||||
|
|
||||||
|
|
||||||
Game -> Game: Unlock game
|
Game -> Game: Unlock game
|
||||||
Game -> WS: Game state
|
Game ->o WS: Game state
|
||||||
activate WS #coral
|
activate WS #coral
|
||||||
WS o-> Client1: Game state
|
WS o-> Client1: Game state
|
||||||
WS o-> Client2: Game state
|
WS o-> Client2: Game state
|
||||||
|
|||||||
Reference in New Issue
Block a user