Skip to content

maxcrous/GameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameOfLife

A C++ implementation of Conway's Game of Life with zero runtime dependencies and a user interface.

demo

How to use

Compile the code:
g++ GameOfLife.cpp -o Prog

Run the code:
./Prog

Controls

X: Stops the program
C: Clean the grid
R: Randomizes the grid
O: Steps through one time step (i.e., a rule iteration)
G: Steps through 100 time steps
M: Allows the user to navigate through the grids with mousekeys
P: Change grid parameters
F: Initialize the grid with a grid text file (see gliderGun.txt)

About

Conway's Game of Life

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages