Title: [jbehave] [589] trunk/examples/hellbound/src/stories: [EK] Converted Hellbound stories to match the rendered output.

Diff

Added: trunk/examples/hellbound/src/stories/TheGlyphIsConstrainedByThePit.story (0 => 589)

--- trunk/examples/hellbound/src/stories/TheGlyphIsConstrainedByThePit.story	                        (rev 0)
+++ trunk/examples/hellbound/src/stories/TheGlyphIsConstrainedByThePit.story	2006-11-28 12:03:30 UTC (rev 589)
@@ -0,0 +1,24 @@
+Story: the glyph is constrained by the pit
+
+As a game player
+I want the glyph to be constrained by the pit
+So that the game has boundaries
+
+Scenario: the glyph will not move right
+
+Given the glyph is against the right wall
+When the player presses the right key
+Then the glyph will not move
+
+Scenario: the glyph will not move left
+
+Given the glyph is against the left wall
+When the player presses the left key
+Then the glyph will not move
+
+Scenario: the glyph will not move down
+
+Given the glyph is against the floor
+When the player presses the down key
+Then the glyph becomes junk
+and the next glyph appears

Deleted: trunk/examples/hellbound/src/stories/TheGlyphMovesAsTimePasses (588 => 589)

--- trunk/examples/hellbound/src/stories/TheGlyphMovesAsTimePasses	2006-11-28 11:36:30 UTC (rev 588)
+++ trunk/examples/hellbound/src/stories/TheGlyphMovesAsTimePasses	2006-11-28 12:03:30 UTC (rev 589)
@@ -1,12 +0,0 @@
-Title: The Glyph Moves As Time Passes
-As a game player
-I want the glyph to move downwards as time passes
-So that the game is a challenge
-
-Scenario: The Player Sees The First Glyph Moves
-Given Hellbound is running
-When the player starts the game
-Then the first glyph should be displayed in the pit
-And when time passes
-Then the glyph should move downwards
-

Added: trunk/examples/hellbound/src/stories/TheGlyphMovesAsTimePasses.story (0 => 589)

--- trunk/examples/hellbound/src/stories/TheGlyphMovesAsTimePasses.story	                        (rev 0)
+++ trunk/examples/hellbound/src/stories/TheGlyphMovesAsTimePasses.story	2006-11-28 12:03:30 UTC (rev 589)
@@ -0,0 +1,11 @@
+Story: the glyph moves as time passes
+
+As a game player
+I want the glyph to move downwards as time passes
+So that the game is a challenge
+
+Scenario: the player sees the first glyph move
+
+Given the first glyph is displayed on the board
+When time passes
+Then the glyph should move downwards

Deleted: trunk/examples/hellbound/src/stories/ThePlayerDropsTheGlyph (588 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerDropsTheGlyph	2006-11-28 11:36:30 UTC (rev 588)
+++ trunk/examples/hellbound/src/stories/ThePlayerDropsTheGlyph	2006-11-28 12:03:30 UTC (rev 589)
@@ -1,18 +0,0 @@
-Title: The Player Drops The Glyph
-As a game player
-I want to drop the glyph
-So that I can save time
-
-Scenario: The player drops the glyph into an empty pit
-Given the first glyph is displayed on the board
-And when the player presses the drop button
-Then the glyph should fall to the bottom
-And then the glyph segments should become junk
-And then the next glyph should appear
-
-Scenario: The player drops the glyph onto junk
-Given the player drops the glyph into an empty pit
-Whe the player presses the drop button
-Then the glyph should fall onto the junk
-And then the glyph segments should become junk
-And then the next glyph should appear

Added: trunk/examples/hellbound/src/stories/ThePlayerDropsTheGlyph.story (0 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerDropsTheGlyph.story	                        (rev 0)
+++ trunk/examples/hellbound/src/stories/ThePlayerDropsTheGlyph.story	2006-11-28 12:03:30 UTC (rev 589)
@@ -0,0 +1,22 @@
+Story: the player drops the glyph
+
+As a game player
+I want to drop the glyph
+So that  I can save time
+
+Scenario: the player drops the glyph into an empty pit
+
+Given the first glyph is displayed on the board
+When the player presses the drop key
+Then the glyph should fall to the bottom
+When time passes
+Then the glyph segments should become junk
+and the next glyph should appear
+
+Scenario: The player drops the glyph onto junk
+
+Given the player drops the glyph into an empty pit
+When the player presses the drop key
+Then the glyph should fall onto the junk
+and the glyph segments should become junk
+and the next glyph should appear

Deleted: trunk/examples/hellbound/src/stories/ThePlayerInteractsWithTheGlyph (588 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerInteractsWithTheGlyph	2006-11-28 11:36:30 UTC (rev 588)
+++ trunk/examples/hellbound/src/stories/ThePlayerInteractsWithTheGlyph	2006-11-28 12:03:30 UTC (rev 589)
@@ -1,39 +0,0 @@
-Title: The Player Interacts With The Glyph
-As a game player
-I want to move the shape
-So that I can make space for the next glyph
-
-Scenario: The player moves the glyph
-Given the first glyph is displayed on the board
-When the player presses the right button
-Then the glyph moves right
-And when the player presses the left button
-Then the glyph moves left
-And when the player presses the down button
-Then any waiting heartbeat movement is ignored
-And then the heartbeat is skipped
-And then the glyph moves down
-
-Scenario: The player rotates the glyph left
-Given the first glyph is displayed on the board
-When the player presses left rotate
-Then the glyph turns to one quarter
-And when the player presses left rotate
-Then the glyph turns to one half
-And when the player presses left rotate
-Then the glyph turns to three quarters
-And when the player presses left rotate
-Then the glyph turns to upright
-
-Scenario: The player rotates the glyph right
-Given the first glyph is displayed on the board
-When the player presses right rotate
-Then the glyph turns to three quarters
-And when the player presses right rotate
-Then the glyph turns to one half
-And when the player presses right rotate
-Then the glyph turns to one quarter
-And when the player presses right rotate
-Then the glyph turns to upright
-
-

Added: trunk/examples/hellbound/src/stories/ThePlayerInteractsWithTheGlyph.story (0 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerInteractsWithTheGlyph.story	                        (rev 0)
+++ trunk/examples/hellbound/src/stories/ThePlayerInteractsWithTheGlyph.story	2006-11-28 12:03:30 UTC (rev 589)
@@ -0,0 +1,42 @@
+Story: the player interacts with the glyph
+
+As a game player
+I want to move the shape
+So that I can make space for the next glyph
+
+Scenario: the player moves the glyph
+
+Given the first glyph is displayed on the board
+When the player presses the right button
+Then the glyph moves right
+When the player presses the left button
+Then the glyph moves left
+When the player presses the down button
+Then the glyph moves down
+and the heartbeat is interrupted
+
+Scenario: the player rotates the glyph left
+
+Given the first glyph is displayed on the board
+When the player presses left rotate
+Then the glyph turns to one quarter
+When the player presses left rotate
+Then the glyph turns to one half
+When the player presses left rotate
+Then the glyph turns to three quarters
+When the player presses left rotate
+Then the glyph turns to upright
+
+Scenario: the player rotates the glyph right
+
+Given the first glyph is displayed on the board
+When the player presses right rotate
+Then the glyph turns to three quarters
+When the player presses right rotate
+Then the glyph turns to one half
+When the player presses right rotate
+Then the glyph turns to one quarter
+When the player presses right rotate
+Then the glyph turns to upright
+
+

Deleted: trunk/examples/hellbound/src/stories/ThePlayerLosesTheGame (588 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerLosesTheGame	2006-11-28 11:36:30 UTC (rev 588)
+++ trunk/examples/hellbound/src/stories/ThePlayerLosesTheGame	2006-11-28 12:03:30 UTC (rev 589)
@@ -1,12 +0,0 @@
-Title: The Player Loses The Game
-As a game player
-I want to lose the game
-So that the game is a challenge
-
-Scenario: No space for the next glyph
-Given that the junk is very high
-When the glyph appears
-And the player drops it
-Then the glyph becomes junk
-And the next glyph appears overlapping the junk
-And the game is over

Added: trunk/examples/hellbound/src/stories/ThePlayerLosesTheGame.story (0 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerLosesTheGame.story	                        (rev 0)
+++ trunk/examples/hellbound/src/stories/ThePlayerLosesTheGame.story	2006-11-28 12:03:30 UTC (rev 589)
@@ -0,0 +1,15 @@
+Story: the player loses the game
+
+As a game player
+I want to lose the game
+So that the game is a challenge
+
+Scenario: no space for the next glyph
+
+Given that the junk is almost to the top
+When the glyph appears
+and the player drops it
+and time passes
+Then the glyph becomes junk
+and the next glyph appears overlapping the junk
+and the game is over

Deleted: trunk/examples/hellbound/src/stories/ThePlayerMakesALine (588 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerMakesALine	2006-11-28 11:36:30 UTC (rev 588)
+++ trunk/examples/hellbound/src/stories/ThePlayerMakesALine	2006-11-28 12:03:30 UTC (rev 589)
@@ -1,12 +0,0 @@
-Title: The Player Makes A Line
-As a game player
-I want lines to disappear when I complete them
-So that I can progress the game
-
-Scenario: The player drops the glyph to make a line
-Given that the junk requires a space to make a line
-And a glyph is above the space
-When the player presses the drop button
-Then the glyph becomes junk
-And then the line disappears
-And then the next glyph appears
\ No newline at end of file

Added: trunk/examples/hellbound/src/stories/ThePlayerMakesALine.story (0 => 589)

--- trunk/examples/hellbound/src/stories/ThePlayerMakesALine.story	                        (rev 0)
+++ trunk/examples/hellbound/src/stories/ThePlayerMakesALine.story	2006-11-28 12:03:30 UTC (rev 589)
@@ -0,0 +1,15 @@
+Story: the player makes a line
+
+As a game player
+I want lines to disappear when I complete them
+So that I can progress the game
+
+Scenario: the player drops the glyph to make a line
+
+Given that the junk has a hole
+and a glyph of the right shape is above the hole
+When the player presses the drop button
+and time passes
+Then the glyph becomes junk
+and the line disappears
+and the next glyph appears
\ No newline at end of file


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to