can you optimize this code?

import os
import shutil
CurrentFilePath = os.getcwd()
print("type *9* for tutorial\n If you created a folder that contains a data of your game do not delete it while its active or everything can be broken")

# rock=heavy,scissors=pyro,#paper=spy
import random

WinStreakPoints = 0

while True:
    listofattacks = ["Rock", "Paper", "Scissors"]
    IndexOfAttackList = [1,2,3,9,111,222,333,]
    OnlyForPCIndex=[1,2,3]
    PlayerChoice = None
    ComputerChoice = None
    try:
        while PlayerChoice not in IndexOfAttackList:
            PlayerChoice = int(input("Please,enter your choice:"))
        ComputerChoice = random.choice(OnlyForPCIndex)
    except ValueError:
        print("Enter only number!")
    except Exception:
        print("Unknown error!Try again!")
    else:
        print("------------------------------------")
        if PlayerChoice == 9:
            print("Choices:1,2,3\n1 = Rock\n2=Paper\n3=Scissors\nThats all,if you have same choice as computer has,it will be a tie\nOther choices:\n111-settings")
            print("222-Move Folder,and Make a copy of it")
        elif PlayerChoice == 111:
            print("Do you want to create a folder that saves your data and killstreak and other in txt files?")
            print("Y/N")
            PossibleAnswers = ["Y", "N"]
            PlayerAnswer = input("Your answer:").upper()
            while PlayerAnswer not in PossibleAnswers:
                PlayerAnswer = input("Your answer:").upper()
            if PlayerAnswer == "Y":
                print("OK creating folder")

                if not os.path.exists(os.getcwd().replace("\\", "\\\\") + "\\YourDataFolder"):
                    os.makedirs("YourDataFolder")
                    with open("YourDataFolder\\WinStreak.txt", "w") as FiLEE:
                        FiLEE.write("Max Win Streak = 0")
                        FiLEE.close()
                    print("Done!")
        elif PlayerChoice == 222:
            print("Do you want to copy and move a file? (if there was an error it wont copy and move folder with your data)")
            print("Y/N")
            PossibleAnswers = ["Y", "N"]
            PlayerAnswer = input("Your answer:").upper()
            while PlayerAnswer not in PossibleAnswers:
                PlayerAnswer = input("Your answer:").upper()
            if PlayerAnswer == "Y" and os.path.exists("YourDataFolder"):
                print("Exists")
                PlayerAnswer_Path=str(input("Enter the path,where you want it to copy and move to?:")).replace("\\","\\\\")
                #try:
                shutil.copytree("YourDataFolder",PlayerAnswer_Path + "\\YourDataFolderCopy")
                print("Check if it worked!")
                #except Exception:
                print("There was an error.Check if you type the path right.")
            else:
                print("...Make sure that there is a folder if you wanted to copy it")
        elif PlayerChoice == 333:
            print("Do you want to Delete Data folder?")
            print("Y/N")
            PossibleAnswers = ["Y", "N"]
            PlayerAnswer = input("Your answer:").upper()
            while PlayerAnswer not in PossibleAnswers:
                PlayerAnswer = input("Your answer:").upper()
            if PlayerAnswer == "Y" and os.path.exists("YourDataFolder"):
                shutil.rmtree("YourDataFolder")
                print("Looks like its done!Check")
        else:
            print("Computer choice:" + listofattacks[ComputerChoice - 1])
            print("Your choice:" + listofattacks[PlayerChoice - 1])
            if PlayerChoice == 1 and ComputerChoice == 2:
                print("You lost      :( Happy early christmas!")
                WinStreakPoints=0
            elif PlayerChoice == 1 and ComputerChoice == 3:
                print("You Won!      :) Happy early christmas!")
                WinStreakPoints +=1
            elif PlayerChoice == 2 and ComputerChoice == 1:
                print("You Won!      :) Happy early christmas!")
                WinStreakPoints +=1
            elif PlayerChoice == 2 and ComputerChoice == 3:
                print("You lost      :( Happy early christmas!")
                WinStreakPoints=0
            elif PlayerChoice == 3 and ComputerChoice == 1:
                print("You lost      :( Happy early christmas!")
                WinStreakPoints=0
            elif PlayerChoice == 3 and ComputerChoice == 2:
                print("You Won!      :) Happy early christmas!")
                WinStreakPoints +=1
            else:
                print("Nobody wins.      :/ Happy early christmas!")
            if os.path.exists("YourDataFolder"):
                FileData=None
                with open("YourDataFolder\\WinStreak.txt","r") as TheFile:
                    FileData=TheFile.read()
                FileData = FileData.replace(" ","")
                if int(FileData[FileData.find("=")+1::]) < WinStreakPoints:
                    with open("YourDataFolder\\WinStreak.txt","w") as  TheFile:
                        TheFile.write("Max Win Streak = " + str(WinStreakPoints))

        print("------------------------------------")