srimel / game_of_life

Conway's Game of Life
0 stars 0 forks source link

Conway's Game of Life

Overview

Console implementation of Conway's Game of Life created using C++.


Build and Run Instructions (Unix/Linux)

  1. Verify that cmake is installed. (Needs to be at least version 3.21)
  2. Create a build directory within project directory
  3. From build directory run: cmake path/to/project/directory
  4. To build project run: make from the build directory
  5. To start the program run: ./game_of_life from the build directory

Game of Life Rule Set


Sample Screen

   | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10| 11| 12| 13| 14| 15| 16| 17| 18| 19|
   ---------------------------------------------------------------------------------
0: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
1: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
2: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
3: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
4: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
5: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
6: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
7: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
8: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
9: |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
   ---------------------------------------------------------------------------------
Testing Board Setup for Conway's Game of Life
Menu Options:
[1] Draw [2] Load Blinker+ [3] Reset [4] Next [5] Auto-Run [0] Exit