Game of Life
Intro
Game Of Life is a classic, and I made my first version in Uni for a project using C#.
A series of very simple rules: if a cell has two neighbours it lives on, and with three neighbours it will either survive or become alive. Any other situation causes the cell to die. From these simple rules, any given state plays out deterministically, but the slightest variation can drastically change how it evolves.
This canvas is toroidal — the edges wrap — so you don't end up with edge dead zones.
Controls
Description
Unlike most contrived tasks you're usually given in Uni, something about Game of Life really resonated with me. The code for this is quite old and mostly preserved as-is. Click a button (other than Reset) for more interesting patterns.