I have just pushed the latest commits for
http://github.com/burlingk/libgamepieces
and
http://github.com/burlingk/lgpgame
lgpGame is starting to take shape. The maze generation code runs
without crashing, but it is generating half as many rooms as I
expected. I have decided to store the ObjectID of each room in the
maze in a three dimensional array so that they can be quickly
accessed. In some ways that is important, and in some ways it is not.
It won't make it any easier or harder to traverse the maze once it is
generated, but it does make it easier to find a space quickly to see
if it already has a room in it. i.e. It makes generating the maze
easier.
On the libgamepieces front, I have started turning various tuples into
classes and structs as appropriate. lgp::Message is now a class.
lgp::Coordinate is now a struct. I want to make code easier to read.