Debilski/pelita — pull request #65 by nchiapol (2011-10-13 07:29:11+00:00)
Title: git versions of my previous mails

as recommended by Tiziano and and Valentin

=== the original mail ===
Playing around wiht Pelita I hit a very rare bug in BasicDefensePlayer
that causes that throughs an uncaught error. While investigating I found
an additional less critical bug in the code in question.

Attached you find a bunch of files including the two fixes. To run the
test cases you'll need my test factory. I attached the used new version
and the necessary (old) patch for the game_master.

While playing around I found to additional wishes:
*) add a --debug flag that deactivates timeouts (allows to use pdb
without changing the actors.py code)
*) At the moment fixing the seed does not guarantee the same game on
replay (teams can swap sides). From what I understand, this is due to
timing while registering teams.

My first tries to fix these two points failed - and I should take care
of some physics again now. If I find the time, I'll look into the code
again. In that case any hints would be welcome of course.