First some data structure musings.
In Seven Cities of Gold (the original game by EA), the map was an array of bytes, where the bit patterns represented terrain, flora, and settlements.
My adaptation is still very data-light, but it's not that light. Instead of using bitfields to represent the Map, I'm using a Set of maps, where each map is an Array of Strings. Thus I can store the maps in text format, and can inspect and edit them with a text editor...
an array of strings? How 80's! Why not XML?
ReplyDelete