kind of works, show winner(but not if equals)

This commit is contained in:
2025-01-31 10:42:24 +01:00
parent c30d907847
commit 6e476e8301
3 changed files with 11 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ class Participants(UserDict):
takes tournament's name and list of object Player
returns dict with player: score"""
def __init__(self, player_list): #player_list FOR TEST ; to feed when creating object
def __init__(self, player_list=None): #player_list FOR TEST ; to feed when creating object
#self.tournament
self.player_list = player_list
self.data = {}