import time import random #shaggy = 1 #Markiplier = 2 #Jaehan = 3 #shadow = 4 Encounter=random.randint(1,4) myattack = 20 myhp = 50 mydefense = 10 heal = 5 print("Welcome to the random.randint fighting room!") time.sleep(1) print("here you can fight random enemies!") time.sleep(2) naem=input("what is your name competitor?") time.sleep(1) haha=input("Are you sure your name is loser clown idiot?(y/n)") time.sleep(1) print("Ok thanks for the useless information!") time.sleep(2) print("Now for the first fight would you need to choose a class, (A)xeman, (I)ron warrior, (S)neak master or be a (N)ormal human??") time.sleep(3) power=input("The choice is yours...") if power.lower() == "a" : print("So you chose the Axeman class?") time.sleep(2) myattack += 8 myhp -= 6 mydefense += 6 heal += 2 print("The bonuses of this class are:increased attack, slightly lowered hp, and lowered defense also slightly raised healing rate") time.sleep(3) if power.lower() == "i" : print("So you chose the Iron warrior class?") time.sleep(2) myattack += 4 myhp -= 6 mydefense += 8 heal == 5 print("The bonuses of this class are:slightly increased attack, slightly lowered hp, and increased defense also a not changed healing rate") time.sleep(5) if power.lower() == "s" : print("So you chose the sneak master class?") time.sleep(2) myattack -= 4 myhp += 8 mydefense -= 8 heal += 4 print("The bonuses of this class are: slightly lowered attack, slightly increased hp, and lowered defense also a heightened healing rate") time.sleep(5) if power.lower() == "n" : print("So you chose nothing?") time.sleep(2) myhp -= 10 myattack -= 10 mydefense -= 15 heal -= 3 print("The bonuses of this class are:nothing...") time.sleep(5) funny = True print("Hopefully your happy with your choice, since your not changing!") time.sleep(2) print("As you may know this fighting simulation is random so we need to generate you opponent, so we are going to make the machine decide who you fight") time.sleep(5) print("Beep") time.sleep(0.5) print("Boop") time.sleep(0.5) print("Beep") time.sleep(0.5) print("Boop") time.sleep(0.5) print("Beep") time.sleep(0.5) print("Boop") time.sleep(0.5) print("Beep") time.sleep(0.5) print("Boop") time.sleep(0.5) print("Ca-Ching") time.sleep(1) print("Ok your opponent has been chosen!") time.sleep(1) print("It pulled out the number", Encounter) if Encounter == 1 : print("It is shaggy") print("He has 100 hp, 24 attack and 15 defense and a high dodge rate") Enemyhp = 100 enemydamage = 24 enemydefense = 10 enemyname = "Shaggy" if Encounter == 2 : print("It is markiplier!") print("He has 70 hp, 30 attack and 12 defense and a low dodge rate") Enemyhp = 70 enemydamage = 30 enemydefense = 10 enemyname = "Markiplier" if Encounter == 3 : print("It is Jaehan!") print("He has 60 hp, 25 attack and 17 defense and a medium dodge rate") Enemyhp = 70 enemydamage = 30 enemydefense = 10 enemyname = "Jaehan" if Encounter == 4 : print("It is Shadow The hedgehog, The ultimate lifeform!") print("He has 100 hp, 32 attack and 15 defense and a high dodge rate") Enemyhp = 100 enemydamage = 32 enemydefense = 15 enemyname = "Shadow the hedgehog" myattack -= enemydefense enemydamage -= mydefense time.sleep(5) print("Well i hope you are...") time.sleep(1) print("READY!") time.sleep(1) print("TO!") time.sleep(1) print("RUMBLE!") time.sleep(1) print("You enter the arena to watch your rival", enemyname, "rise from the shadows of his cage with shackles on his limbs....") time.sleep(2.5) print("He charges towards you with mighty intent, You need to think of somethin to stop him!") time.sleep(2) while funny == True : endodge = random.randint(1,7) mydodge = random.randint(1,7) print("You check", enemyname,",He has", Enemyhp) time.sleep(1.5) print("You check yourself you have", myhp, "Health") time.sleep(1.5) choose=input("Quick choose! (A)ttack or (H)eal") time.sleep(0.5) if choose.lower() == "a" : print("As", enemyname, "dashes towards you with violent intentions you quickly attempt to knock him back with a strike to the chest!") time.sleep(1) if endodge == 1 : print("You threw the punch but it missed!") if endodge != 1 : print("This deals", myattack, "Damage") Enemyhp -= myattack if Enemyhp < 0 : print("You gained victory") break time.sleep(1.5) print(enemyname, "Is about to attack you back!") time.sleep(1.5) if mydodge == 1: print("You quickly move out of the way by using the ancient spell of", naem) if mydodge != 1: print("You get punted in the face by", enemyname) print("This makes you lose", enemydamage, "health points") time.sleep(1.5) myhp -= enemydamage if myhp < 0 : print("You live up to you name of stupid clown idiot due to your lose...") time.sleep(5) break time.sleep(1.5) if choose.lower() == "h" : time.sleep(1) print("You heal up", heal, "hp") myhp += heal time.sleep(1) print(enemyname, "Threw a swift punch at you!") time.sleep(1) if mydodge == 1 : print("You dodge his attack swiftly!") if mydodge != 1: print("You get punted in the face by", enemyname) print("This makes you lose", enemydamage, "health points") time.sleep(1.5) myhp -= enemydamage if myhp < 0 : print("You live up to you name of stupid clown idiot due to your lose...") time.sleep(5) break time.sleep(1.5)