gdonald / game-of-life-cpp

Conway's Game of Life

Home Page:https://gregdonald.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

game-of-life-cpp

My take on Conway's Game of Life, in C++ using SDL2

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Game of Life

Install Dependencies

Mac OS

Install Xcode from the app store, and homebrew, then:

brew install cmake sdl2 sdl2_gfx sdl2_ttf sdl2_image

Debian Linux

apt install build-essential cmake clang \
            libsdl2-dev libsdl2-gfx-dev \
            libsdl2-ttf-dev libsdl2-image-dev

Build

cmake .
make

Run

./game-of-life

About

Conway's Game of Life

https://gregdonald.com

License:GNU General Public License v2.0


Languages

Language:CMake 51.2%Language:C++ 48.8%