From 73857333f872ec5a1d32dbd522d8a7d6f2625fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 31 Mar 2015 15:54:15 -0300 Subject: define game_is_checkmate(Board, Color) --- include/game.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/game.h') 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 -- cgit v1.2.3