Skip to content

Instantly share code, notes, and snippets.

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++)
{