Sunday, July 25, 2010

Weekly report - coding 9

This week a lot of time went into playing around with colonisation (now that it works). Although the server crashes when you attack multiple planets at once (issue 126), I was able to prove that running away (colonising but not attacking) is a viable tactic in MTSec (see blog post with video) and that my heuristic for colonisation works as planned. Some work was also done on providing visualisation. There is now a simple way to get images for every turn and a video of the whole game so you can see what is going on in an AI battle. There was also a minor fix so you can now use daneel-ai in single player mode again and a lot of added comments.

This week:
  • SmartAIs use of colonisation tested
    • it works well and is very useful
    • trying to outcolonise the enemy is proven as a viable tactic
  • visualisation of gameplay
    • image for every turn
    • video of the gameplay
  • added a lot of comments
    • every helper function is documented
Next week:
  • automatic optimisation if issue 126 gets fixed
  • heuristic for deciding what type of ships to build (colonisation or attack) instead of weighted random

No comments:

Post a Comment