-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi Ulope, seeing some weird behavior which is reproducible consistently on two of my systems. Depending on whether logging is on (using --log option) I get different number of turns. I'm really puzzled what can be causing this. I don't have any random factor in my my bot's code, and sorted() in python is supposed to do stable sort.
- No logging
java -jar tools/PlayGame.jar maps/map1.txt 1000 200 log.txt "python MyBot.py" "python MyBot.py"
...
Turn 143
Player 2 Wins!
- Player 2 logging ON
java -jar tools/PlayGame.jar maps/map1.txt 1000 200 log.txt "python MyBot.py" "python MyBot.py --log 2.log"
...
Turn 132
Player 2 Wins!
- Both players logging ON
java -jar tools/PlayGame.jar maps/map1.txt 1000 200 log.txt "python MyBot.py --log 1.log" "python MyBot.py --log 2.log"
...
Turn 140
Player 2 Wins!
Any ideas? Thanks in advance.