Skip to content

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

License

Notifications You must be signed in to change notification settings

felistron/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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