blogging

Ξ May 20th, 2008 | → | ∇ code, blife |

You might remember blife.  It was an implementation of Conway’s Game of Life in C, and used OpenGL to render the state of the colony.  It worked in Windows, Linux, and everything else.

I threw it away.

I’ve been working on a nice and clean generic cellular automata application.  I’ve been working in C++, and using SDL to render output.  The kicker is this, though, the ruleset isn’t going to be hardcoded.  The idea here is to abstract away the rules.  I’m working on a LISP interpreter to program rulesets with.

What are the advantages of this approach?  In the original blife, you were bound to Game of Life, and only Game of Life.  By virtue of implementing the GoL as a standard, you were also stuck with its default rules. Neither of these assumptions will be present in this new application.  You’ll be able to modify life to your hearts content.  And who says you have to run Life; run Wolframs ‘Rule 30′ instead.  Or use it as a tsst bed for any ideas you have kicking around in your head.

I forgot to mention, SDL wont be the only output option available.  NULL, Text, and PNG output will be available out of the box.

Original post by ojuice

 

Leave a reply


  • Rumours and Lies