def decideTactic(self, board):
        '''Decide tactic based on the first move or by making first move.'''
        if self.strategy == 'offensive':
            firstMove = random.choice(['center','corner'])
            #firstMove = 'corner'
            self.tactic = firstMove
        elif self.strategy == 'defensive':
            for space in board.board:
                if board.board[space] == 'O':
                    if space in corners:
                        self.tactic = 'corner'
                    elif space == 'CM':
                        self.tactic = 'center'
                    else:
                        self.tactic = 'side'
Decide tactic based on the first move or by making first move.
recipes/Python/580723_TicTacToe_text_based/recipe-580723.py