Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 404 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 404 Bytes

A Go implementation of Conway's Game of Life

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Usage

go run life.go

Commands

  • S - stop the game and enter interactive mode
  • Spacebar - start the game
  • K - clear the screen
  • R - Fill part of the screen with random live cells
  • Q - exit

When the game is stopped, you can use the mouse to draw patterns on the screen.