This year's Global Day of Coderetreat set John Conway's Game of life as the coding exercise.
In the Game of Life, you set up a two-dimensional orthogonal grid of square cells. Each cell can have one of two states: alive or dead and interacts with each of its eight neighbours (i.e. the ones that it touches either vertically, horiztonally, or diagonally adjacent to it).
Depending on the state of its neighbours, the cell may live or die using strict rules.
The idea is to set up the code then run it and observe the evolution; this is referred to as a zero-player game. Normally, the Game of Life runs as an infinite game, however, with our kata, you are designing a finite version.
Want to know more about the 2022 Coderetrate then why not read Mattsi Jansky's blog about the day.
Getting set up can be the roadblock to starting a kata. In our screenkatas you can join our Software Craftspeople and let them show you how to set up your repositories for Java, PHP, Python and Typescript. For other languages, check out our guide on GitHub.