예제 #1
0
    def __init__(self):
        """Initializes a new game of Connect 4"""

        #This holds the game's model
        self.game_state = Connect_Four_Model()

        #This is the current display
        self.game_display = Connect_Four_View()
예제 #2
0
 def setUp(self):
     self.model = Connect_Four_Model()
     print(
         "Running: ",
         str(self._testMethodName) + "\n   " +
         str(self.shortDescription()) + "\n")