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

I believe move is allowed when it's not your turn #28

Open
quimnuss opened this issue May 31, 2021 · 4 comments
Open

I believe move is allowed when it's not your turn #28

quimnuss opened this issue May 31, 2021 · 4 comments
Assignees
Labels

Comments

@quimnuss
Copy link
Collaborator

I think it only checks that the chosen piece matches the color of the turn, but not that the player sending it is the right color.

@quimnuss quimnuss self-assigned this May 31, 2021
@quimnuss quimnuss added the bug label May 31, 2021
@quimnuss
Copy link
Collaborator Author

Thing is I was sending moves with the wrong token in the exon tests and it didn't complain

@guyver2
Copy link
Owner

guyver2 commented Jun 9, 2021

it works as expected, sending moves when it's not your turn returns an error. @quimnuss how exactly does this issue happens for you?

@quimnuss
Copy link
Collaborator Author

quimnuss commented Jun 11, 2021 via email

@guyver2
Copy link
Owner

guyver2 commented Jun 11, 2021

OK right, This I don't know, the UI doesn't allow such an API call. But if it is a possibility in the backend it should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants