head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2003.11.25.02.06.56; author chant; state Exp; branches; next ; desc @@ 1.1 log @Rewrite, seperate game logic from graphics code from X handling code. Looks nice. Always in colour. Beware - can hog CPU. @ text @Hi, this is my version of Conway's game of life. I came up with the algorithm while bored in lecture. I'm sure the implementation is not original, nor is it optimal. It uses cairo for the drawing operations, double buffered using pixmaps. All cairo ops are in 'cgolwin.cpp', in the render function. the game of life code itself is seperate, and is in cgol.h/cpp. only thing is that cgolwin.cpp expects its list of cells back in the proper format. Any questions/comments/patches should go to andrew.chant@@utoronto.ca @