Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- import threading
- import sys
- def thisistheshit(signum, frame):
- print("YOU TOOK TOO LONG!")
- sys.stdin.write("\r")
- class dude:
- name=""
- desc=0
- def __init__(self, desc, name):
- self.name=name
- self.desc=desc
- descriptor=[
- ["Two-Assed", "kick an ass or two", "That's what Brian Boitano'd do!"],
- ["Evil Robot King", "travel through time to the year 3010", "You saved the human race, again!"],
- ["Grizzly Bear", "use my magical fire breath", "You saved the maidens fair!"],
- ["Kubela Kong", "build the pyramids", "Cos you doesn't take shit from aneybody"],
- ["Figure Skater", "do two sow cows and a triple lutz", "You won the gold medal!"],
- ]
- names=["Annie", "Jackson", "SteelRaven7", "Kubel Kong", "Antimony", "Buttlord", "Donkey Kong", "Peter Quite Contrare", "THe Very best of", "Hamelt", "Merlin", "Teen Witch Mary", "Josephine Peristalsis"]
- print("You are Brian Boitano, and you must do what Brian Boitano would do if he were here right now")
- lives=3
- score=0
- time=30.0
- while lives>0:
- print("\nYou have "+str(time)+ " to do what Brain Boitano would do")
- print("Your gold: $"+str(score))
- fightdude = dude(random.randint(0,len(descriptor)-1), names[random.randint(0, len(names)-1)])
- print("You are faced with "+fightdude.name+" the "+str(descriptor[fightdude.desc][0]))
- if(input("What do: ")!=descriptor[fightdude.desc][1]):
- print("You died a life!")
- lives-=1
- else:
- print(descriptor[fightdude.desc][2])
- scro=1000+random.randint(0, 1000)
- print("You got $"+str(scro)+" gold!")
- score+=scro
- time=time*0.9
- print("\n====YOU DIED ALL YOUR LIFES====\n")
- print("Final Scoregold: $"+str(score))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement