Conway's Game Of Life in Clojure
programmablelife.blogspot.com
programmablelife.blogspot.com
I appreciate any kind of feedback, not only for the code or the explanations but also for my blog in general, style, etc. I'm rather new to blogging. Also, feel free to ask me anything.
There is a typo in line 8, I think it should have been (range h).
I've seen a bunch of examples of cellular automata and, for some reason, Asteroids - but nothing "bigger". Does anyone know any nicely-written larger projects (I'd love to see a platform game) around?
They are also blogging about their development.
It works but it's not very fast. For a 36x36 grid; I can do ~5,000 iterations in < 30 seconds or so. I'm sure a large part of the bottleneck is the fact that my "viewer" is just STDOUT redirected to a file; I want to implement some buffered I/O and then try my hand at writing HashLife.
I have to admit: I didn't think the game of life would be much of a game; but it's fairly fun to mess around with!