ulope / planetwars-python-kit

An python interface to the second Google AI-Contest (PlanetWars) at http://ai-contest.com
16 stars 12 forks source link

Many fleets with same source and dest treated as one. #2

Closed gordon-quad closed 14 years ago

gordon-quad commented 14 years ago

This bot: http://pastebin.com/dMT2Jwea on this map: http://pastebin.com/ka8rFgjS run command:

LANG=en_US java -jar tools/PlayGame.jar maps/map7.txt 2000 20 log.txt "./bot.sh" "java -jar example_bots/BullyBot.jar" | java -jar tools/ShowGame.jar

have problem: starting from 10 turn it's count many fleets sent from 1st planet to 11th planet as one. This is bot log of first 20 turns: http://pastebin.com/2RztnFRG game log: http://pastebin.com/jW4wpwzF

gordon-quad commented 14 years ago

bot.sh contains one string: python MyBot.py --log mybot.log

ulope commented 14 years ago

I've found the bug. Thanks for reporting this. I'll close this issue once I've fixed it.

gordon-quad commented 14 years ago

Thx!

ulope commented 14 years ago

Fixed a serious bug which caused fleets with the same source, destination and ship count send in consecutive turns appear as only one in the gamestate.

Closed by 36273beca41e0505e6f2eaae6c17bc6a3e224a3d