A chess game ends in a draw if the exact same board position occurs 3 times, with the same player having the move each time (draw by 3-time repetition).