Life!

krellis on 2002-04-01T15:57:43

So I spent the last week implementing the Game of Life (Milton Bradley, not Conway) in Perl. That was pretty fun. See Life@WPI, for the end result of my efforts, and those of the others who worked on it getting the graphics and design together. The rules are a bit different, and you have to actually play for the "computer" players, but it's pretty impressive for being mostly written in about 48 hours of solid coding this weekend! :)

The sidebar CGI that does most of the work came out to a shade over 800 lines of code, for 28.5k of filesize. It's horribly non-modular, linear, and hack-ish. But it works, and it hasn't quite brought the web server to it's knees yet! :)