Logo: Relish

  1. Sign in

Project: Practice-game-of-life

Evolving a grid over multiple generations

In order to create a functioning rules engine

As a programmer of Conway's Game of Life

I can evolve a grid over multiple generations

Scenarios
Cells come alive, then die off
Given
the following setup
. . . . .
. . . . .
. x x x .
. . . . .
. . . . .
When
I evolve the board
Then
I should see the following board
. . . . .
. . x . .
. . x . .
. . x . .
. . . . .
When
I evolve the board
Then
I should see the following board
. . . . .
. . . . .
. x x x .
. . . . .
. . . . .

Last published almost 7 years ago by esambo.