Author | Message |
---|---|
rabbott
Posts: 1649
|
Posted 11:13 Oct 08, 2012 |
From what I could tell, only Kondas and Liao created bots that were advances over the tutorial this past week. (Let me know if there were any others.) Two scripts (4ClassBots.cmd and 4ClassBots.cmd) run those bots against each other and against other greedy bots. (A greedy bot is one that goes for food it can get to directly. Otherwise it moves randomly.) An interesting difference between these two scripts is that in 5ClassBots, the bots are spread out enough that they do not interfere with each other very much. In 4ClassBots, they do interfere. Often two of the bots (accidentally) raise the hills of the other two. The results are strikingly different. In 4ClassBots, Kondas's bot does quite well. It gathers more food and generates more ants than any other. In 5ClassBots the results are more equal. In both, other greedy bots often do well also. Try substituting your bot in one of those scripts. (You can run the script from within your folder if you want. Just change the paths to python, to the map file, and to the bots accordingly.) In Windows scripts can be run by double clicking them, which is quite convenient -- although it requires you to edit the script file. You can also run the scripts that have command line parameters (e.g. 4Bots.cmd) from a command-prompt window. Of course you can write your own scripts as well. To avoid confusion it would be best if we limit the number of scripts at the Antbots level. Last edited by rabbott at
11:33 Oct 08, 2012.
|