A game of chess is usually divided into three phases: opening, usually the first 10 to 25 moves, when players move their pieces into useful positions for the coming battle; middlegame, usually the fiercest part of the game; and endgame, when most of the pieces are gone, kings typically take a more active part in the struggle, and pawn promotion is often decisive.