Skip to content

Instantly share code, notes, and snippets.

Avatar

Tomasz Kołodziejczyk Tomekku

View GitHub Profile
View game_of_life_logic.cpp
const int sizeX = 10;
const int sizeY = 10;
void checkCells(bool map[sizeX][sizeY])
{
bool newMap[sizeX][sizeY];
for(int i=0; i<sizeX; i++)
{
for(int j=0; j<sizeY; j++)
{
You can’t perform that action at this time.