Skip to content

crafting-code-podcast/crafting-katas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Crafting Katas

Example code (in the form of katas) we created to discuss on the podcast.

Conway's Game of Life

Given a 2-dimensional grid, each position on the grid represents a cell. Each cell is either alive or dead and has eight neighbors (the surrounding grid positions).

At each transition (a tick or next generation), each cell follows these rules:

  1. A live cell will die if it has less than 2 living neighbors.
  2. A live cell will continue to live if it has 2 or 3 living neighbors.
  3. A live cell will die if it has more than 3 living neighbors.
  4. A dead cell will be brought to life if it has exactly 3 living neighbors.

Learn more on Wikipedia.

About

Example code (in the form of katas) we created to discuss on the podcast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published