maxcrous / GameOfLife

Conway's Game of Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C++ 100.0%