Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is little game
- hero = ['hulk','nagraj','spiderman','dhruv','ben10']
- def start():
- print "Lets play the 'choose hero' GAME."
- print "choose any 1 player from this HERO list %r :- " % hero + "\n"
- choose = raw_input("> ")
- if hero[0] in choose:
- print " Great you choose 'HULK' hero."
- print " HULK have great physical power :D "
- print " Here is HULK game start "
- hulk_room()
- elif hero[1] in choose:
- print " Great you choose 'NAGRAJ' hero."
- print " NAGRAJ have many powers including :- 'nagrassi etc etc etc' "
- print " He has many friends like :- 'NAGU, SAUDANGI, SHITNAAG etc etc' "
- print " Here is NAGRAJ game start "
- nagraj_room()
- elif hero[2] in choose:
- print " Great you choose 'SPIDERMAN' hero. "
- print " SPIDERMAN has power of SPIDERS. "
- print " Here is SPIDERMAN game start "
- spiderman_room()
- elif hero[3] in choose:
- print " Great you choose 'DHRUV' hero. "
- print " DHRUV has great super mind Enjoy. "
- print " Here is DHRUV game start "
- dhruv_room()
- elif hero[4] in choose:
- print " Great you choose 'Ben10' hero. "
- print " Ben10 has ALIEN Power SUPERB. "
- print " Here is Ben10 game start "
- ben10_room()
- else:
- print " Please choose any hero. "
- def hulk_room():
- print " What you want from HULK (You have to type words not number) :- 1. Smash Enemy 2. Play with Enemy"
- hulk_smash = False
- while True:
- next = raw_input("> ")
- if next == "Smash Enemy":
- print " Now here HULK come our super hero to save us :D, Now he is going to Smash Enemy"
- elif next == "Play with Enemy" and not hulk_smash:
- print " Hey HULK is cheating with us. He is with enemy and playing with enemy :( "
- else:
- start()
- def spiderman_room():
- print " Which power you want to choose to play (You have to type words not number) :- 1. Spider Web 2. Swing"
- spider_web = False
- while True:
- next = raw_input("> ")
- if next == "Spider Web":
- print " Spiderman use Spider Web"
- elif next == "Swing" and not spider_web:
- print " Spiderman now swinging on building "
- else:
- start()
- def nagraj_room():
- print " Which power you like to use (You have to type words not number) 1. Nagfani 2. Ichadhari"
- nag_fani = False
- while True:
- next = raw_input("> ")
- if next == "Nagfani":
- print " Great power you choose. This power gave by Dev 'Kaljayi' to Nagraj"
- elif next == "Ichadhari" and not nag_fani:
- print " What you want ? wanna Hrithik Roshan :P hahahahaha "
- else:
- start()
- def dhruv_room():
- print " What DHRUV use now (You have to type words not number) :- 1. Mind 2. Starline"
- mind = False
- while True:
- next = raw_input("> ")
- if next == "Mind":
- print " Worlds most powerful thing is BRAIN mean Mind and DHRUV is master in this :P"
- elif next == "Starline" and not mind:
- print " DHRUV got criminal now he use starline to contact Headquarter to inform "
- else:
- start()
- def ben10_room():
- print " Which alien you want to use (You have to type words not number) :- 1. XLR8 2. Bigchill"
- XLR8 = False
- while True:
- next = raw_input("> ")
- if next == "XLR8":
- print " XLR8 now come here and complete this task using your speed :P"
- elif next == "Bigchill" and not XLR8:
- print " Hey Bigchill i am feeling hot and please use you ice power ",
- print " to change climate in this room "
- else:
- start()
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement