Skip to content

GAURAV-DEEP01/Conways-Game-of-Life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Theory of cellular automatons

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published