felistron / game-of-life

My own implementation of Conway's Game of Life in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game of life in c

This is my own implementation of Conway's game of life, made with C and raylib.

Requirements

  • C compiler (CC)
  • Make
  • Raylib 5.0

Setup

Linux

git clone https://github.com/felistron/game-of-life.git
cd game-of-life
make
./build/main

Windows and MacOS

Not implemented yet

Controls

  • [SPACE] Pause/Play generation
  • [G] Enable/Disable grid
  • [H] Enable/Disable heatmap
  • [R] Restart and fill with random cells
  • [C] Clean all the cells
  • [ENTER] Next generation
  • [LEFT_CLICK] Put a live cell

About

My own implementation of Conway's Game of Life in C

License:MIT License


Languages

Language:C 96.5%Language:Makefile 3.5%