Since my mental illness is still not cured, and I’m very much into this “game of life” thing, I also developed a version of Conway’s game of life for Mac OS X using Objective-C and the framework Cocoa.
Esthetically speaking the Cocoa version is much more cool then the Java one… but the algorithm is actually the same. I named it “CocoLife” fusing “Cocoa”, the name of the framework I used, and “Life”. The application’s icon represent a particular configuration of the game of life called “glider”.
Since I cured much more the develop of this version I filled up the application with many “cool” features! In CocoLife is possible to:
- Configure the colors of background and automata
- Choose between 4 different world sizes (50×50, 100×100, 250×250 and 500×500)
- Choose the world type (bordered-world or loop-world)
- Change the execution speed of the simulation modifying the interval of pause between transitions
- Create personal world configurations using the bult-in world-editor
The application, released under the license GNU GPL v2, requires Mac OS X 1.5 Leopard to work.
Download CocoLife from here:
- XCode Project source code: CocoLife-src.zip
- Mac OS X Universal Binary: CocoLife.zip