← The arcade

Mini Games · difficulty 3 of 3

Conway's Game of Life step 🦠

Compute one generation of Life on a 5x5 grid: a live cell with 2 or 3 neighbours survives, a dead cell with exactly 3 becomes alive. Print the new grid.

This one is part of Pro. Plenty of arcade challenges are free to play right now.

Skills: loops, lists, dicts

Open the arcade