/the_game_of_life

A very basic C++ implementation of the game of life from John Horton Conway using the SFML library.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

The Game of Life

This repo contains a very basic C++ implementation of the game of life from John Horton Conway based on the SFML graphic library.

Requirements

  • g++ or equivalent C++ compiler (compatible with C++11)
  • make
  • SFML graphics library

How to use the code

The game_of_life.h file contains all the basic functionality required to run the game of life. The main.cpp file contains a simple example.

To compile and execute the example code just use this command:

make; ./main.exe