Skip to content

This is my first real C project and I just wanted to have a little fun

Notifications You must be signed in to change notification settings

PhilippRados/GameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                                ___                             
                               / __|___ _ ___ __ ____ _ _  _ ___
                              | (__/ _ | ' \ V  V / _` | || (_-<
                               \___\___|_||_\_/\_/\__,_|\_, /__/
                                                        |__/    
                           _____                      ___  __   _ ___   
                          / ___/__ ___ _  ___   ___  / _/ / /  (_) _/__ 
                         / (_ / _ `/  ' \/ -_) / _ \/ _/ / /__/ / _/ -_)
                         \___/\_,_/_/_/_/\__/  \___/_/  /____/_/_/ \__/ 


Conways Game of Life

1. Intro

This is my first real C project and I thought that the game of life was a fun little excercise to test my C skills and really get a grasp of the concepts in real projects. I used SDL because it was the simplest graphics library and doesn't have a steep learning curve. It didn't take long and was entertaining since this was my first time creating any kind of graphics application/game

2. Controls

  1. You can click the cells that you want to activate or deactivate
  2. To go to the next epoch press Space
  3. Press the start and stop button in the corner to let the game run
  4. Press r to clear the screen of all existing cells
  5. Quit, of course, by closing the application

3. Example

4. Installation

  1. clone this repo
  2. make shared_game
  3. run the game_of_life binary
  4. This code was only tested on MacOs, so I can't guarantee that it works on other platforms

About

This is my first real C project and I just wanted to have a little fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages