Validate chess moves.