def __init__(self, model, mode, player_moves_first):
     CommonBoardController.__init__(self, model=model)
     self.game_mode = mode
     self.game_finished = False
     if mode == GAME_MODES["playerVSPro"]:
         if player_moves_first:
             self.computer = self.model.get_current_opponent()
         else:
             self.computer = self.model.get_current_player()
             self.model.move_computer()
 def __init__(self, model, mode, player_moves_first):
     CommonBoardController.__init__(self, model=model)
     self.game_mode = mode
     self.game_finished = False
     if mode == GAME_MODES["playerVSPro"]:
         if player_moves_first:
             self.computer = self.model.get_current_opponent()
         else:
             self.computer = self.model.get_current_player()
             self.model.move_computer()
 def __init__(self, model, bot):
     CommonBoardController.__init__(self, model=model)
     self.game_mode = GAME_MODES["playerVSPro"]
     self.state = STATES["None"]
     self.last_selected = None
     self.the_end = False
     self.bot = bot
     self.bot_move_delay = 1
     self.should_show_bot_play_on_board = True
     self.should_log_the_game = True
     self.should_log_the_game_on_board = True
 def __init__(self, model, bot):
     CommonBoardController.__init__(self, model=model)
     self.game_mode = GAME_MODES["playerVSPro"]
     self.state = STATES["None"]
     self.last_selected = None
     self.the_end = False
     self.bot = bot
     self.bot_move_delay = 1
     self.should_show_bot_play_on_board = True
     self.should_log_the_game = True
     self.should_log_the_game_on_board = True