Пример #1
0
 def __init__(self, gameFrame, playerList, startScore=0):
     '''
     Constructor
     '''
     Game.__init__(self, gameFrame, playerList)
     self.startScore = startScore
     self.startNewGame()
Пример #2
0
 def __init__(self, gameFrame, playerList, startScore=301):
     '''
     Sets up the interface and variables for a game of 301
     '''
     Game.__init__(self, gameFrame, playerList)
     self.startScore = startScore
     self.startNewGame()