Monday, July 5, 2010

Weekly report - coding 6

This week SmartAI code has been under heavy refactoring . A lot of code has been rewritten to efficiently use 2 separate ship designs (one for attacking and one for colonisation). Also fleets with more ships are now split into smaller fleets (until there is only 1 ship in each fleet) so each ship can be controlled separately. Heuristics for determining which planet to colonise has also been added. My mentor agreed to fix what is broken, implement what is missing and document what is implemented differently.

This week:
  • code refactoring
  • good use of 2 designs
  • splitting large fleets
  • colonisation heuristics
Next week:
  • add remaining heuristics
  • try to find good colonisation strategy if it gets fixed

No comments:

Post a Comment