stops when a player wins