Game of Life

>> View on GitHub <<

A few years ago I saw a video on an excellent Youtube channel: Numberphile that later on inspired this Game of Life project. (If you are interested in maths, definitely check it out.)

The rules of the game

Later on I wanted to learn some c++ to have some more useful tools to build robots. I already had some knowledge about object orientes programming, the Internet protocol, sockets, concurrency with shared memory and that stuff, but no idea of the c++ standard library tools. So I changed myself to submerge on this new syntax.

On 2018 summer I started searching for a nice framework that help me build a cross platform app that could display any kind of image, graphic or animation made in a programatic way. That year I attended a video games class at the University were I learnt the basics of the game engines. So I thought about combining all those projects into one where I could learn c++ syntax as well as making some apps and also test the cocos2d-x game engine.

About the project

This simulation was made with the cocos2d-x c++ engine. It simulates the Conway’s game of life with three different grid sizes and with variable render speed. The main purpose of the simulation was to practice and lear the basics of the cocos engine to be able to do some other and more complex projects with it in the future. The code basically extends the main classes of the engine adding them new properties and functionality.

Download for Android

Download for iOS

Game Demo