move will fail if king is in check