summaryrefslogtreecommitdiff
path: root/include/board.h
blob: de6234d9b6b18eb0dd90844dbdec63f6ceb6fc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _BOARD
#define _BOARD

#include "types.h"

Board board_init();
int board_delete(Board);

Square board_get_square(Board, Coord);
Board board_set_square(Board, Coord, Square);

/*
 * Receives and applies a Move on the Board
 */
Board board_make_move(Board b, Move m);

#endif
nihil fit ex nihilo