Phases

Opening
A chess opening is the group of initial moves of a game (the "opening moves"). Recognized sequences of opening moves are referred to as openings and have been given names such as the Ruy Lopez or Sicilian Defence. They are catalogued in reference works such as the Encyclopaedia of Chess Openings. There are dozens of different openings, varying widely in character from quietpositional play (for example, the Réti Opening) to very aggressive (the Latvian Gambit). In some opening lines, the exact sequence considered best for both sides has been worked out to more than 30 moves.[18]  Professional players spend years studying openings and continue doing so throughout their careers, as opening theory continues to evolve.

The fundamental strategic aims of most openings are similar:[19] Most players and theoreticians consider that White, by virtue of the first move, begins the game with a small advantage. This initially gives White the initiative.[20]  Black usually strives to neutralize White's advantage and achieve equality, or to develop dynamic counterplay in an unbalanced position.
 * Development: This is the technique of placing the pieces (particularly bishops and knights) on useful squares where they will have an optimal impact on the game.
 * Control of the center: Control of the central squares allows pieces to be moved to any part of the board relatively easily, and can also have a cramping effect on the opponent.
 * King safety: It is critical to keep the king safe from dangerous possibilities. A correctly timed castling can often enhance this.
 * Pawn structure: Players strive to avoid the creation of pawn weaknesses such as isolated, doubled, or backward pawns, and pawn islands – and to force such weaknesses in the opponent's position.



Middlegame
The middlegame is the part of the game which starts after the opening. There is no clear line between the opening and the middlegame, but typically the middlegame will start when most pieces have been developed. (Similarly, there is no clear transition from the middlegame to the endgame; see start of the endgame.) Because the opening theory has ended, players have to form plans based on the features of the position, and at the same time take into account the tactical possibilities of the position.[21]  The middlegame is the phase in which most combinations occur. Combinations are a series of tactical moves executed to achieve some gain. Middlegame combinations are often connected with an attack against the opponent's king; some typical patterns have their own names; for example, the Boden's Mate or the Lasker–Bauer combination.[22]

Specific plans or strategic themes will often arise from particular groups of openings which result in a specific type of pawn structure. An example is the minority attack, which is the attack ofqueenside pawns against an opponent who has more pawns on the queenside. The study of openings is therefore connected to the preparation of plans that are typical of the resulting middlegames.[23]

Another important strategic question in the middlegame is whether and how to reduce material and transition into an endgame (i.e. simplify). Minor material advantages can generally be transformed into victory only in an endgame, and therefore the stronger side must choose an appropriate way to achieve an ending. Not every reduction of material is good for this purpose; for example, if one side keeps a light-squared bishop and the opponent has a dark-squared one, the transformation into a bishops and pawns ending is usually advantageous for the weaker side only, because an endgame with bishops on opposite colors is likely to be a draw, even with an advantage of a pawn, or sometimes even with a two-pawn advantage.[24]



Endgame
The endgame (or end game or ending) is the stage of the game when there are few pieces left on the board. There are three main strategic differences between earlier stages of the game and endgame:<sup class="reference" id="cite_ref-27" style="line-height:1em;">[25] <p style="line-height:19.1875px;color:rgb(0,0,0);font-family:sans-serif;">Endgames can be classified according to the type of pieces that remain on board. Basic checkmates are positions in which one side has only a king and the other side has one or two pieces and can checkmate the opposing king, with the pieces working together with their king. For example, king and pawn endgames involve only kings and pawns on one or both sides and the task of the stronger side is to promote one of the pawns. Other more complicated endings are classified according to the pieces on board other than kings, such as the "rook and pawn versus rook endgame".
 * During the endgame, pawns become more important; endgames often revolve around attempting to promote a pawn by advancing it to the eighth rank.
 * The king, which has to be protected in the middlegame owing to the threat of checkmate, becomes a strong piece in the endgame. It is often brought to the center of the board where it can protect its own pawns, attack the pawns of opposite color, and hinder movement of the opponent's king.
 * Zugzwang, a disadvantage because the player has to make a move, is often a factor in endgames but rarely in other stages of the game. For example, the diagram on the right is zugzwang for both sides, as with Black to move he must play 1...Kb7 and let White promote a pawn after 2.Kd7; and with White to move he must allow a draw by 1.Kc6 stalemate or lose his last pawn by any other legal move.