decide what player has won