Skip to content

Commit

Permalink
Add moves and feature
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 b363538 commit fb347c7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions features/moves/player_makes_a_move.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Feature: Player makes a move
As a player
In order play the game
I need to make a move

Scenario: Player wants to make a valid move
Given I am a Player
And I Want to make a move
And the target box on the grid is free
Then I can make a move

Scenario: Player wants to make a move where the box is not free
Given I am a Player
And I want to make a move
And the target box on the grid is not free
Then I can't make a move
16 changes: 16 additions & 0 deletions features/moves/player_makes_a_move.feature~
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Feature: Player makes a move
As a player
In order play the game
I need to make a move

Scenario: Player wants to make a valid move
Given I am a Player
And I Want to make a move
And the target box on the grid is free
Then I can make a move

Scenario: Player wants to make a move where the box is not free
Given I am a Player
And I want to make a move
And the box on the grid is not free
Then I can't make a move

0 comments on commit fb347c7

Please sign in to comment.