Skip to content

FeaXR/GameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Game Of Life In C using OpenGL

This project uses basic C libraries and OpenGL to simulate Conway's game of life on a 18,446,744,073,709,551,615 * 18,446,744,073,709,551,615 grid.

Basic controls:

  • Cam movement:
    • Up, Down, Left, Right
  • Game speed:
    • Numpad+: Speed up
    • Numpad-: Speed down
    • Space, escape: Stop
    • Enter: Advance game if stopped
  • Visualization:
    • R, G, B - Change the Red, Green and Blue values
    • H - Toggle the Halo effect

When started by clicking on the executable, it starts up with the basic initialization file (res/init/cells.init). Other initialization file can be used, when starting up from command prompt, using the arguments. E.g.: On windows, the command would look like this: gol.exe res\init\kokgalaxy.init

There are 3 init files provided, the basic cells.init with a few oscillators and a glider, glidergun.init with the Gosper glider gun and kokgalaxy.init with Kok's galaxy.

New init files can be added easily, by following the pattern for each cell: {x}; {y}\\Comment
Put each individual cell in a different line!
Don't leave empty lines in the file!

Screenshots

1 2 3 4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published