Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gaurav-deep01/conways-game-of-life

Theory of cellular automatons
https://github.com/gaurav-deep01/conways-game-of-life

c sdl sdl2-ttf

Last synced: about 1 month ago
JSON representation

Theory of cellular automatons

Awesome Lists containing this project

README

        

# Conway's Game of Life in C

This project is a implementation of Conway's Game of Life in C. The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It's a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. Despite its simplicity, the Game of Life is Turing complete and can simulate a universal constructor or any other Turing machine.

## Learning Objectives
- Understanding C semantics
- Implementing algorithms to simulate cellular automata
- memory management and dynamic data structures
- Understanding of the compilation and linking phases in C

## How the Game of life looks like


Game of life Options screen


### The no player game


Game of life simulation screen image


## If you want to try out the simulation
- Download

gameOfLife.zip

- Download, extract and run the main.exe file
- This might throw out some warnings!

## If you want to try this out!
To run the program, you'll need:
- A C compiler
- SDL2 library and development files
- SDL2_ttf library and development files