Skip to content

tiagomnh/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life in GLUT/OpenGL

Rules

  • an organism with 0, 1, 4, 5, 6, 7 or 8 neighbors dies
  • an organism with 2 or 3 neighbors survives
  • organisms are born in empty cells with 3 neighbors

Configuration File

Some game variables can be changed using a configuration file like game.config (configuration file reading is powered by Richard J. Wagner's ConfigFile). The configuration file is passed as an argument to the executable:

./game game.config

The example configuration lists all the possible configurations each accompanied by a small explanation.

Compilation

The included makefile can be used to compile the code. To compile and run the code type make in your terminal. `make compile will compile the code but not run it.

About

Implementation of Conway's Game of Life in GLUT/OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages