Skip to content

Instantly share code, notes, and snippets.

@agamez
agamez / gol.c
Created December 31, 2011 00:11 — forked from paultag/gol.c
Goofy Game of Life impl
#include <limits.h>
#include <stdio.h>
#include <math.h>
int WORLD = 0;
int LASTWORLD = 0;
int NEWWORLD = 0;
const int ROW_L = sqrt(log2(INT_MAX));
const int set[3] = { -1, 0, 1 };