check for all valid move codes