Skip to content

mbeavitt/gofl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Game of Life

This is a simple implementation of Conway's "The Game of Life" in the C programming language. It is written for installation and execution on unix. It uses Raylib for graphics.

Controls:

  • 1 - 9: choose a colour
  • r: randomise
  • b: blank (clear the screen)
  • up/down arrow: speed up/slow down the evolution rate, respectively
  • - and = keys: zoom out/in, respectively
  • spacebar: pause the simulation
  • left mouse click: draw new cells
  • alt + enter: fullscreen mode (warning, weird behaviour if you alt-tab to another window.)
  • ESC: exit

the game running

Installation from source (Requires X11-dev and libgl-dev):

git clone https://github.com/mbeavitt/gofl

cd gofl && make

About

an attempt at coding the game of life :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published