#ifndef _GAME
#define _GAME

#include "types.h"

/*
 * Implements the main game loop. Returns the final state of the board.
 */
Board game_loop(Board);

/*
 * Return 1 if the received player is checkmated. Returns 0 otherwise.
 */
int game_is_checkmate(Board board, Color color);

#endif