Thursday, May 6, 2010

"Weekly" report - pre coding 1

Since this is the first report I will list things that were done until now. Some were done before the accepted proposals were listed and some even before the proposal was written so everything is not listed in the proposal.

Since the coding period hasn't officially started I won't write reports every week but on a weekly-ish basis.

Before writing the proposal I started work on MiniSec AI code. Using TP04 libraries in daneel-ai was not a part of the proposal but I thought it would be a good thing to do to prepare daneel-ai for future rulesets and server versions.

Until now:

What was done:
  • better error handling on connection errors
  • using TP04 libraries instead of TP03 libraries
    • this will insure better compatibility with future rulesets and server versions
  • found a way to add AI code written in python
    • in a way CHR code can be used for preprocessing and support for AI code already written is not broken
  • added files for MiniSec
    • uses python for AI
    • bot behaviour is scripted (just some simple actions)
    • uses generated order code
  • helper functions for writing AI in python
    • can be used for many rulesets
  • order code generator
    • gets order information from server and generates all code needed to start writing AI code in python
    • tested on MiniSec
I also ran into a blocker bug. The client (python client and daneel-ai) freezes after you colonise a planet in MiniSec, so no AI code can be written until this is solved.

Next "week":
  • get rid of the blocker bug
  • generate code for MTSec and test it
  • use tpsai AI logic in daneel-ai for MiniSec
  • try to make AI code that beats tpsai in MiniSec

No comments:

Post a Comment