예제 #1
0
 def __init__(self, gameFrame, playerList, startScore=0):
     '''
     Constructor
     '''
     Game.__init__(self, gameFrame, playerList)
     self.startScore = startScore
     self.startNewGame()
예제 #2
0
파일: gameX01.py 프로젝트: fi-ka/DartScore
 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()