diff options
Diffstat (limited to 'include/game.h')
-rw-r--r-- | include/game.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h index 61239e7..5ab589b 100644 --- a/include/game.h +++ b/include/game.h @@ -8,4 +8,9 @@ */ Board game_loop(Board); +/* + * Return 1 if the received player is checkmated. Returns 0 otherwise. + */ +int game_is_checkmate(Board board, Color color); + #endif |