A game of life implementation written in Go with Raylib. I used the automata template I made to make this.
Includes a editor, a GUI to set things like grid size, play pause, simulation speed, zoom, and more.
RIP John Horton Conway
install
Download the binary for your OS in releases OR do
go install github.com/checkm4ted/gameoflife
controls
Set Iterations Per Second with MouseWheel
Zoom with CTRL+MouseWheel
Set brush width with Shift+MouseWheel
Resize grid with the GUI or with Alt+MouseWheel
Move with middle click
Place cells with left click
Remove cells with right click
Toggle grid outline with G
Randomize grid with R
Clear grid with C
features
Zoom in/out
Move the camera around
Edit the world
Set brush size
Show/hide grid
rules
Any live cell with fewer than two live neighbours dies, as if by underpopulation.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by overpopulation.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.