Sha256: 4c92425e9c3c84fd50b93ce1c255d1a48bf011e591fef6c6196b73435c78f25e

Contents?: true

Size: 663 Bytes

Versions: 61

Compression:

Stored size: 663 Bytes

Contents

Story: Empty spaces with three neighbours create a cell

As a game producer
I want empty cells with three neighbours to die
So that I have a minimum feature set to ship

Scenario: the glider

Given the grid looks like
...X..
..X...
..XXX.
......
......
When the next step occurs
Then the grid should look like
......
..X.X.
..XX..
...X..
......
When the next step occurs
Then the grid should look like
......
..X...
..X.X.
..XX..
......
When the next step occurs
Then the grid should look like
......
...X..
.XX...
..XX..
......
When the next step occurs
Then the grid should look like
......
..X...
.X....
.XXX..
......

Version data entries

61 entries across 61 versions & 11 rubygems

Version Path
typo-5.2 vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story