How does the king capture a piece in a game of chess?
In a game of chess, the king captures a piece by moving to a square that is occupied by an opponent's piece. This is done by moving the king to the square where the opponent's piece is located, removing the opponent's piece from the board, and replacing it with the king.