This is a Conway's Game of Life implementation written purely in C, designed to run on Windows, Linux, and Unix system's Terminal.

- Works on Windows, Linux, and Unix terminals.
- Gradient and with three color visualization for the cells.
- Interactive controls to manipulate the game in real-time.
- Pure C implementation with no external dependencies.
- Supports both UTF8 & NON-UTF8 terminals.
| Key | Action |
|---|---|
| Arrow Keys | Move the cursor |
| W | Increase simulation speed |
| S | Decrease simulation speed |
| A | Change color mode |
| D | Advance to the next iteration |
| C | Clear all the cells from sim. |
| N | Creates a new game of life sim. |
| Space | Pause/Resume simulation |
| Enter | Create a life at the cursor |
| Backspace | Delete a life at the cursor |
| Esc | Exit the GameOfLife Simulation |
-
Clone the repository:
git clone https://github.com/ManojTGN/GameOfLife.c.git cd GameOfLife.c -
Compile the program:
mkdir build cd build cmake .. cmake --build .