Here are some examples of illegal moves: – Moving the King on a square that is attacked by opponent's pieces. – Not protecting the King that was attacked by opponent's piece. For example, leaving the King in check. – Moving a piece in a way that the piece is not allowed to move.