Chess games typically feature three phases. The opening is when each side focuses on developing their pieces from the back rank. Once most pieces are developed we reach the middle-game, where both sides attempt to improve their positions and still have most of their pieces. If no one has won yet, the game enters an endgame where each side has just a few pieces and most likely players will try to promote a pawn and then checkmate.