diff options
Diffstat (limited to 'include/game.h')
-rw-r--r-- | include/game.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/game.h b/include/game.h index 5ab589b..09e07e3 100644 --- a/include/game.h +++ b/include/game.h @@ -9,8 +9,14 @@ Board game_loop(Board); /* + * Check if a move is valid in the received board for the received player. + */ +int game_is_move_valid(Board, Color, Move); + + +/* * Return 1 if the received player is checkmated. Returns 0 otherwise. */ -int game_is_checkmate(Board board, Color color); +int game_is_checkmate(Board, Color); #endif |