Conway's Game of Life

Written in Go, using Raylib.

Allows user to click a cell to change it's state from Alive to Dead.

Press the Up Arrow key to show the next cycle.

Run code with

go run main.go

Alter parameters in main.go

const (
	SCREEN_WIDTH  = 800
	SCREEN_HEIGHT = 800
	COLS          = 16
	ROWS          = 16
	CELL_SIZE     = SCREEN_WIDTH / COLS
)

Demo

game-of-life-raylib-go.mp4