Logo: Relish

  1. Sign in

Project: Practice-game-of-life

Cell configurations that are static

In order to create a functioning rules engine

As a programmer of Conway's Game of Life

I can see static structures surviving in my world

Scenarios
Block
Given
the following setup
. . . . .
. x x . .
. x x . .
. . . . .
. . . . .
When
I evolve the board
Then
I should see the following board
. . . . .
. x x . .
. x x . .
. . . . .
. . . . .
Beehive
Given
the following setup
. . . . . .
. . x x . .
. x . . x .
. . x x . .
. . . . . .
When
I evolve the board
Then
I should see the following board
. . . . . .
. . x x . .
. x . . x .
. . x x . .
. . . . . .
Loaf
Given
the following setup
. . . . . .
. . x x . .
. x . . x .
. . x . x .
. . . x . .
. . . . . .
When
I evolve the board
Then
I should see the following board
. . . . . .
. . x x . .
. x . . x .
. . x . x .
. . . x . .
. . . . . .
Boat
Given
the following setup
. . . . .
. x x . .
. x . x .
. . x . .
. . . . .
When
I evolve the board
Then
I should see the following board
. . . . .
. x x . .
. x . x .
. . x . .
. . . . .

Last published almost 7 years ago by esambo.