Skip to content

Proof-of-concept for GUI debuggable bot.#14

Open
Debilski wants to merge 1 commit intoASPP:mainfrom
Debilski:debuggable-bot
Open

Proof-of-concept for GUI debuggable bot.#14
Debilski wants to merge 1 commit intoASPP:mainfrom
Debilski:debuggable-bot

Conversation

@Debilski
Copy link
Member

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?).

@otizonaizit
Copy link
Member

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

@Debilski
Copy link
Member Author

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants