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

Illegal move #9

Open
LbTdW opened this issue Dec 19, 2020 · 1 comment
Open

Illegal move #9

LbTdW opened this issue Dec 19, 2020 · 1 comment

Comments

@LbTdW
Copy link

LbTdW commented Dec 19, 2020

I noticed that the game continues if an agent does choose an illegal move.
Further, if the move is illegal, some random position is chosen.
Is that the intended behavior?

@Jazzpirate
Copy link
Collaborator

It is - or ,at least, was. I've had in the past submissions by agent that performed well except that they sometimes threw illegal moves when they didn't update their move-variable quickly enough - a result of the whole timeout thing. I don't see why they should be disqualified entirely for that, and agents that throw illegal moves regularly will quickly lose anyway.

This way, that kind of behaviour is okay as long as it happens rarely, and students aren't forced to make dead certain that the variable always points to a legal move no matter what.

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

No branches or pull requests

2 participants