#include "move.h" /* * Initialize a Move */ Move move_init(Coord orig, Coord dest) { Move m; m.orig = orig; m.dest = dest; return m; } Coord move_get_orig(Move m) { return m.orig; } Coord move_get_dest(Move m) { return m.dest; } /* * Returns 1 if Move is a valid chess movement. */ int move_is_valid(Move m) { return 1; }