Hammer of Code

My adventures in GSoC 2008 working on Thousand Parsec, among other things

19  06 2008

more trouble than expected

Well I had an interesting time today implementing my Colonize doOrder. What can I say other than that I learned a minor lesson in “10% of the work takes 90% of the time.” I honestly expected implementing Colonize to take less than a day, but I ended up wrapping up today with a Colonize order that may or may not even work correctly. In my opinion the Colonize::doOrder has turned out to be one of the most complex parts of the Risk ruleset, simply because of how messy it is to poll other OrderQueues for orders. It was good though because I found a logic error in my OrderQueue polling where the correct queue wasn’t being polled. This same code is being used to resolve attack conflicts, so two birds with one stone.

From the looks of thing I will be spending tomorrow debugging Attack moves and Colonize orders.


Leave a Reply

« days like these Weekly Report 6 »