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

Add checkmate detection #12

Closed
murygin opened this issue Oct 25, 2013 · 1 comment
Closed

Add checkmate detection #12

murygin opened this issue Oct 25, 2013 · 1 comment
Assignees

Comments

@murygin
Copy link
Owner

murygin commented Oct 25, 2013

Check if game is checkmate after a move. If so finish game and set state.

@murygin
Copy link
Owner Author

murygin commented Oct 25, 2013

Update statement to change a game to almost mate:

UPDATE game SET fen='4kb1r/p2bpppp/1P1p4/8/5q1K/P7/6PP/1Q3B1R w k - 0 55',status='w' WHERE id = <GAME_ID>;

@murygin murygin closed this as completed Oct 29, 2013
@ghost ghost assigned murygin Nov 21, 2013
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

1 participant