Programming
Workshop

Spring 2014
course
navigation

tron test tourney - Feb 11

We now have infrastructure for a tournament with game replays. I'll walk through it:
Discuss the test tourney I ran yesterday: rooms, bots, replay files, ...
Seven maps for this first tourney: (empty-room, huge-room, quadrant, ring, toronto, trix, u).

Go around the room and see where you are with your bots. Questions?
Discuss algorithms?
Put together our first tourney??

update

Jim 5:30pm , after class :
We decided to wait until Thu (or so) to try our first tourney.
Please do still submit something on the homework submission page, at least describing where you are and what you're working on, with what you have for code so far.
In class I created tron-engine/bots/simplelogbot.py which is now in the https://github.com/MarlboroCollegeComputerScience repository and on csmarlboro.org .
I also described how to make a file executable :
$ chmod +x yourbot.py
In addition, we found that one possible bugs is in the use of log files and their names : if you're using a relative logfile name like "log.txt" (as opposed to a global one like "/home/user/stuff/log.txt"), then your bot may crash if it doesn't find that file, if the bot is launched from a different working directory. In particular, the "run" script executes bots from the tron-engine/ folder.
http://cs.marlboro.edu/ courses/ spring2014/workshop/ notes/ tron_test_tourney
last modified Tuesday February 11 2014 5:34 pm EST