lvplus = input("Are you want to Level UP? ") # Yes or No if lvplus.upper() == "Yes".upper(): print("You don't have enough coins") sleep(2) elif lvplus.upper() == "No".upper(): print("Ok") sleep(2) else: print("Error 404") print("Please restart your computer") exit() # It's a bug . clear_screen() print("You are Level 1") print("You want to play online , play with computer or two players ?") print(" 1:oneline , 2:computer , 3:two players") print("one , two or three ?") oct1 = input("1 , 2 or 3 ? ") if oct1 == "1": print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..")
def play(): print("Lets play with " + name0011) print("connection lost") print() print() print() print("retrying") sleep(2) print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("Sorry , ERROR 404")
def all(): import random import time import platform import subprocess from time import sleep from battle_v6_p2 import clear_screen from battle_v11_p2 import play2 # import done ! exp = 0 # var done ! def play(): print("Lets play with " + name0011) print("connection lost") print() print() print() print("retrying") sleep(2) print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("Sorry , ERROR 404") # func done ! random2 = random.randrange(1, 3) name0101 = ["Ben", "Vex", "pythonGB"] name0011 = random.choice(name0101) # random done ! print("Wellecome to BATTLE !") print("You are in Level 1.") lvplus = input("Are you want to Level UP? ") # Yes or No if lvplus.upper() == "Yes".upper(): print("You don't have enough coins") sleep(2) elif lvplus.upper() == "No".upper(): print("Ok") sleep(2) else: print("Error 404") print("Please restart your computer") exit() # It's a bug . clear_screen() print("You are Level 1") print("You want to play online , play with computer or two players ?") print(" 1:oneline , 2:computer , 3:two players") print("one , two or three ?") oct1 = input("1 , 2 or 3 ? ") if oct1 == "1": print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() print("loading") sleep(0.5) clear_screen() print("loading.") sleep(0.5) clear_screen() print("loading..") sleep(0.5) clear_screen() print("loading...") sleep(0.5) clear_screen() print("loading....") sleep(0.5) clear_screen() print("loading.....") sleep(0.5) clear_screen() print("loading......") sleep(0.5) clear_screen() if random2 == 1: print("Sorry , No one want to play with you.") sleep(2) print() print("Click ENTER to retry.") trash2 = input() elif random2 == 2: print("A man call " + name0011 + " want to play with you") play1 = input("Ok ? ") if play1 == "Yes" or play1 == "yes": play() elif play1 == "No" or play1 == "no": print() print() print() print("Bye ! Have a NICE Day !") else: exit() elif oct1 == "2": print("Bug , Error 6720") sleep(2) exit() elif oct1 == "3": Name1 = input("What is the name of 1P ") Name2 = input("What is the name of 2P ") print("First player name is " + Name1 + " .") print("Second player name is " + Name2 + " .") print("allright ? ") allright1 = input("Yes or No ? ") if allright1 == "Yes" or allright1 == "yes": print() print() print("Lets Play !") print("Press enter to play !!!!!") trash = input() print() print() print("Let's Play !!") play2() elif allright1 == "No" or allright1 == "no": print("ERROR 405") exit() # I will fix that else: exit # I will fix that too ! else: print("No Such Thing !") print("ERROR 404") exit()