board: split move into moves.c
board: split check into check.c