Open Debilski opened 5 years ago
obsolete? Why can't one run the bot in demo08_debugger.py in a normal game like:
pelita --no-timeout demo08_debugger.py demo01_stopping.py
obsolete? Why can't one run the bot in demo08_debugger.py in a normal game like:
pelita --no-timeout demo08_debugger.py demo01_stopping.py
I’d say it’s even less obsolete now as run_game
now does everything that it should do. Noone should be forced to debug on the command line with --no-timeout
when there is a better way. (Having allow_exceptions=True
is probably also useful here.)
This will need some more polishing and testing (as well as documentation). But here’s how debugging one’s bot could look like.
Currently, this will debug without a dedicated viewer (which is more complicated to implement but most of all more complicated to document, we might be better off leaving this out?).