Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 585 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 585 Bytes

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)