kind of works, show winner(but not if equals)
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user