def createGame(self): if not self.players: raise Exception("The players must exist before the game can be created.") self.game = TomaccoGame(self.players)