Life
Since becoming interested in Artificial Life & computer based simulation several months ago I’ve spent a great deal of time researching Artificial Life & simulation, and a great deal of time programming. But I realized recently that most of that programming has been building foundations to do work with, but very little coding on the actual topic that got me started! So yesterday I put together a simple implementation of Conway’s Game of Life . If you’ve never played around with the Game of Life, I highly recommend giving it a try. My implementation (along with full OCaml source) can be downloaded here. There’s an included binary for Windows, but it should be compilable on any system that OCaml/LablGL works on.
I had a lot of fun programming my Life implementation and it’s neat to see the complex patterns that can be generated from such simple rules. The pattern that’s loaded up when the program runs is one that I found while playing around that surprised me just how interesting the result was (the pattern is just 8 cells in a jagged line, but runs for many generations).
For a much more feature rich version of Life (for Windows) check out Life32. It’s an impressive piece of work.
October 17th, 2004 at 10:31 am
Life is fun! Have you ready any of Martin Gardner’s books? In at least one, he investigates some other “games” which are similar in spirit to Life.
February 17th, 2005 at 7:11 pm
Actually I haven’t read any of Gardner’s stuff—which book would you suggest starting with? Yeah, life-type games are fun—you get to feel like you’re learning something while playing at the same time. That’s a nice combination!
October 16th, 2005 at 1:48 pm
Ken Rawling, I found your page when I read a thread regarding gui/opengl on the ocaml list.
I’m interested in using your Kdr and Kog files in my own project, is this possible?
Have you released this code under a open source license?
October 18th, 2005 at 4:33 pm
Hi Peter,
You are quite welcome to use the Kdr & Kog files in your project. While I haven’t done a formal release yet, feel free to use them under the BSD license.