Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 935 Bytes

readme.md

File metadata and controls

43 lines (28 loc) · 935 Bytes

Go of Life

Simple implementation of Conway's Game of Life written in Go using the raylib library.

Requirements

Installation

go install github.com/Xotchkass/Go_of_Life@master
Go_of_Life

or

go clone https://github.com/Xotchkass/Go_of_Life
cd Go_of_Life
go build
./Go_of_Life

Controls

  • Left mouse button to paint a live cells
  • Right mouse button to paint dead cells
  • R key randomizes the grid
  • C key clears the grid
  • N key advances simulation a single generation if game is paused
  • Spacebar pauses/resumes simulation
  • +/- keys to increase/decrease simulation speed
  • Esc key to quit

Credits