diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/move.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/move.h b/include/move.h new file mode 100644 index 0000000..9f61775 --- /dev/null +++ b/include/move.h @@ -0,0 +1,16 @@ +#ifndef _MOVE +#define _MOVE + +#include "types.h" + +/* + * Initialize a Move + */ +Move move_init(Coord, Coord); + +/* + * Returns 1 if Move is a valid chess movement. + */ +int move_is_valid(Move); + +#endif |