Name: Anonymous 2009-12-06 13:11
live() {
for(int i = 0; i < w; i++) {
for(int j = 0; j < h; j++) {
n[i][j] = neighbours(i,j);
board[i][j] =
board[i][j]
? (n[i][j] == 2 || n[i][j] == 2)
: (n[i][j] == 3)
}
}motherfuckers, I can't get my game of life working. Help me you assholes. live is meant to do one iteration but it's fucked up somehow.