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

Ability to draw a game #55

Open
zac-keysys opened this issue Aug 4, 2020 · 1 comment
Open

Ability to draw a game #55

zac-keysys opened this issue Aug 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@zac-keysys
Copy link

Either the 3-fold repetition rule or a manual draw command that can be entered to end games without one player having to resign.

@cjsaylor cjsaylor added the enhancement New feature or request label Aug 13, 2020
@cjsaylor
Copy link
Owner

cjsaylor commented Sep 25, 2020

@zac-keysys The library that the chess bot uses behind the scenes already has the ability to recognize specific draw conditions, we would just need to check it after a move is made.

A nice interface for this may be to include some text about the draw conditions detected and then offer a button whose action would be to offer a draw. This would then flow into a call/response from the opponent to end the game as a draw.

This could be tied in with #25.

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

No branches or pull requests

2 participants