Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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