Skip to content

Instantly share code, notes, and snippets.

@toddmilne13
Created September 13, 2016 09:52
Show Gist options
  • Save toddmilne13/66343319150d10875ad2a99712d856da to your computer and use it in GitHub Desktop.
Save toddmilne13/66343319150d10875ad2a99712d856da to your computer and use it in GitHub Desktop.
stjlol-tm-Pokemon battle simulator
from time import sleep
print("Welcome to the Pokemon Battle Simulator")
sleep(2)
pokeball=input("A wild Dragonite has apeared!!")
print("First choose what Pokeball you would like to youse")
print("The options are Poke ball, Great ball and Ultra ball")
while True:
if pokeball == "Pokeball":
print("Maybe pick a stronger ball!")
break
elif pokeball == "Greatball":
print("Maybe pick a stronger ball")
break
elif pokeball == "Ultraball":
print("Well done, this is the easiest ball to catch Pokemon")
print("Heres the next stage")
else:
print("Please pick one of the options and dont forget capital letters!!")
break
print("Ok good you have picked Ultra ball")
sleep(2)
print("Here is the next stage!!")
answer=input("Would you like to run or try catch it??")
print("The options are Run or Catch it")
sleep(2)
print("Please choose one and dont forget the capital letter!!")
if answer=="Run":
print("Oh no are you serious?? We are starting again!")
elif answer=="Catch it":
print("Ok great lets move on!!")
else:
print("Please try picking one of the options!")
print("Ok my program will now try to catch the Dragonite!!!")
sleep(2)
print("Catching")
sleep(5)
print("Still catching.....")
print("Well done you caught the dragonite!!")
sleep(1)
print("Thank you for playing my program!!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment