just call the won_point method on player
method no longer used
method no longer used
players added to a list
find player with name and update player if player 1 names match
find player with name and update player if player 2 names match
if-else blocks do the same thing no matter what, so no longer needed
find player with advantage and set result if player 1 has advantage
find player with advantage and set result if player 2 has advantage
duplicate code removed
methods not used
get winning player and set result if player 1 won
set result if player 2 won
get winning player as an array, check if non-empty and set result for player 1
can use the same boolean condition for player 2 query
removed duplicate code