aichallenge/aichallenge — pull request #283 by aeter (2011-10-09 16:54:27+00:00)
Title: Adding hills; cleaning white space.

Adding hills. Tested with ./play_one_game.sh (modified to use the coffeescript bot) and with

cdiemst-2:ants anackov$ ./test_bot.sh 'coffee dist/starter_bots/coffeescript/Mybot.coffee'
running for 30 turns
ant_count c_turns climb? cutoff food r_turn ranking_bots s_alive s_hills score w_turn winning
turn 0 stats: [3,1,0] 0 [1,1] - 0 0 None [1,1] [1,1] [3,3] 0 None
turn 1 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 2 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 3 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 4 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 5 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 6 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 7 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 8 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 9 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 10 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 11 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 12 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 13 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 14 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 15 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 16 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 17 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 18 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 19 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 20 stats: [3,1,0] 0 [1,1] - 0 1 [0,0] [1,1] [1,1] [3,3] 1 [0,1]
turn 21 bot 1 eliminated
waiting 0.25 seconds for bots to process end turn
turn 21 stats: [2,0,0] 1 [1,0] 0 0 1 [0,0] [1,0] [1,1] [3,3] 1 [0,1]
score 5 3
status survived eliminated
playerturns 21 21
waiting 0.25 seconds for bots to process end turn

Haven't tested it on different maps though.