Skip to content

Instantly share code, notes, and snippets.

@15amccann
Created January 25, 2018 10:41
Show Gist options
  • Save 15amccann/1485e873480be7a173bb4773f406fa5a to your computer and use it in GitHub Desktop.
Save 15amccann/1485e873480be7a173bb4773f406fa5a to your computer and use it in GitHub Desktop.
classes
choice = input("Choose your attack: orange or finger")
if choice == "orange":
print("you hit the first monstwr with a orange")
monster1.getsHit()
elif choice == "finger":
print("you throw finger, miss the first monster and hit the one behind him")
monster2.getsHit()
else:
print("That's anything but an attack,try again!?")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment