diff --git a/features/grid/player_starts_a_game.feature b/features/grid/player_starts_a_game.feature new file mode 100644 index 0000000..c452360 --- /dev/null +++ b/features/grid/player_starts_a_game.feature @@ -0,0 +1,24 @@ +Feature: Player starts a game + As a player + In order to play + I need to start a game + + Scenario: "Player X" wants to start a game + Given I am "Player X" + And I Want to start a game + Then I should get a new grid + + Scenario: "Player 0" wants to start a game + Given I am "Player 0" + And I want to start a game + Then I should wait for "Player X" to start a game + + Scenario: "New Player" wants to play a game + Given I am a "New Player" + And "Player X" is not assigned + Then assign player to "Player X" + + Scenario: "New Player" wants to play a game and there is already one player + Given I am a "New Player" + And "Player X" is assigned + Then assign player to "Player 0"