diff --git a/README.md b/README.md index 3cf1cd2..276f644 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,7 @@ state "Product Selected" as ProductSelected state "Selection Timeout" as SelectionTimeout state "End Player's Game" as EndPlayer state "Lock Game" as LockGame <> -state "End Game" as EndGame <> -state "Unlock game" as UnlockGame <> +state "Unlock game and restart" as UnlockGame <> [*] -> StartGame StartGame -> MovePlayer @@ -55,9 +54,9 @@ DestinationReached --> ProductSelection DestinationReached -> LockGame: Lock game for all other players ProductSelection --> ProductSelected ProductSelection --> SelectionTimeout -ProductSelected --> EndGame: End game\nfor all players +ProductSelected --> UnlockGame: Unlock game\nand restart SelectionTimeout -> EndPlayer -EndPlayer --> UnlockGame: Unlock game\n for all players +EndPlayer --> UnlockGame: Unlock game\nand restart ``` ## FairHopper Game Server