Saturday, February 27, 2010

CA project status

The cellular automata project continues.  It is currently working in a bare-bones, command line manner. You can load start files in plaintext (.cells) format, start in single step mode, toggle on/off single step mode while the program is running and select fixed plane or toroid modes on startup. It's now actually usable.

The toroidal surface took longer than expected, which seems to be the norm for me. (I had changed the code for countNeighbors() in the C++ version and  I had some incorrect code to handle cells on the edges. It took me a while to sort it out.) The code is up on launchpad.

Features to work on:
  • Save a snapshot of the current state to a plaintext (.cells) file.
  • Input rulesets from the command line.
  • Set the global constants from a configuration file.

No comments:

Post a Comment