calebsmith / automaton

A cellular automata runner in C with Scheme scripting support
GNU General Public License v2.0
5 stars 3 forks source link

Changed board data file format #4

Closed calebsmith closed 10 years ago

calebsmith commented 10 years ago

This format is much simpler to work with for large boards.

It follows this basic format: width,height state1:x1,y1 state2:x2,y2 state3:x3,y3

Where 1, 2, 3 simply designate the 3 different points. For example

5,5 1:0,0 2:1,0 3:4,4

is a map of width/height 5,5 with the 0,0 coordinate set to 1, 1,0 set to 2, and 4,4 set to 3