diff --git a/README.md b/README.md index 25de778..fe2ee81 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ end == Player reached destination == Game -> Game: Lock game for other players -activate Game +activate Game #skyblue Game -> WS: Player reached destination activate WS #coral WS o-> Client1: Select product @@ -231,7 +231,7 @@ deactivate Game loop #lightyellow Product select countdown timer (60s) Game ->o WS: Timer timeout - activate Game + activate Game #skyblue activate WS #coral WS o-> Client1: Selection timeout WS o-> Client2: Selection timeout @@ -240,16 +240,21 @@ loop #lightyellow Product select countdown timer (60s) deactivate Game 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 WS o-> Game: Product selected - activate Game + activate Game #skyblue WS o-> Client2: Product selected deactivate WS Game -> Game: Unlock game - Game -> WS: Game state + Game ->o WS: Game state activate WS #coral WS o-> Client1: Game state WS o-> Client2: Game state