Skip to content

Commit

Permalink
Added new features
Browse files Browse the repository at this point in the history
  • Loading branch information
James Dunmore authored and James Dunmore committed Dec 11, 2012
1 parent 1904942 commit 2538bbf
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions features/grid/player_starts_a_game.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@ Feature: Player starts a game
In order to play
I need to start a game

Scenario: Player X wants 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 Y wants to start a game
Given I am "Player Y"
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"

0 comments on commit 2538bbf

Please sign in to comment.