#ifndef _GAME #define _GAME #include "types.h" /* * Implements the main game loop. Returns the final state of the board. */ 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, Color); #endif