daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. def main():
  2.     print "The Shadow Game has BEGUN!"
  3.     print "IT'S TIME TO D-D-D-DUEL!!!!"
  4.     print "This program was written by the finest programmer at Kaiba Corp. for the sole   purpose of enriching a children's card game."
  5.     player1 = raw_input("What is the first players name? ")
  6.     player2 = raw_input("What is the second players name? ")
  7.     choice = 0
  8.     lifePoints1 = 8000
  9.     lifePoints2 = 8000
  10.     while lifePoints1 and lifePoints2 >0 and choice !='6':
  11.         print "Menu Selections:"
  12.         print "1 -Damage", player1
  13.         print "2 -Damage", player2
  14.         print "3 -Heal", player1
  15.         print "4 -Heal", player2
  16.         print "5 -Duel Reset"
  17.         print "6 -Duel End"
  18.         print "Duelist",player1,":", lifePoints1
  19.         print "Duelist",player2,":", lifePoints2
  20.         print "What will you do!?"
  21.         choice = raw_input("Enter your selection: ")
  22.         if choice == '1':
  23.             lifePoints1 = player1dmg(lifePoints1)
  24.         elif choice == '2':
  25.             lifePoints2 = player2dmg(lifePoints2)
  26.         elif choice == '3':
  27.             lifePoints1 = player1heal(lifePoints1, player2)
  28.         elif choice == '4':
  29.             lifePoints2 = player2heal(lifePoints2, player1)
  30.         elif choice == '5':
  31.             main()
  32.         elif choice == '6':
  33.             print "Thanks for participating in Shadow Games!"
  34.         else:
  35.             print "Invalid input. Please try again."
  36.     if lifePoints1 <=0:
  37.         print "THERE IS A GOD!",player1,"bow before",player2,"!"
  38.     elif lifePoints2 <=0:
  39.         print "THERE IS A GOD!",player2,"bow before",player1,"!"        
  40. def player1dmg(lifePoints1):
  41.     dmg1 = input("How much dmg was incurred? ")
  42.     lifePoints1 = lifePoints1 - dmg1
  43.     if lifePoints1 < 1000:
  44.         print "GOT OBLITERATED!"
  45.     elif lifePoints1 <= 2000:
  46.         print "Fuck bro....You had better pull some shit outta your ass, and QUICK!"
  47.     elif lifePoints1 <= 4000:
  48.         print "Uhh oh! Over half dead!!! Get raped!"
  49.     return lifePoints1
  50. def player2dmg(lifePoints2):
  51.     dmg2 = input("How much dmg was incurred? ")
  52.     lifePoints2 = lifePoints2 - dmg2
  53.     if lifePoints2 < 1000:
  54.         print "OH SHIT!"
  55.     elif lifePoints2 <= 2000:
  56.         print "Getting your face wrecked in half man. Step it up!"
  57.     elif lifePoints2 <= 4000:
  58.         print "OOOOOOOOOH! Over half destroyed!!! Get fucked!"
  59.     return lifePoints2
  60. def player1heal(lifePoints1, player2):
  61.     heal1 = input("How much was healed for? ")
  62.     lifePoints1 = lifePoints1 + heal1
  63.     if heal1 >= 2000:
  64.         print "Damn that's a nice ass heal! Yea....",player2,"is mad cuz bad."
  65.     return lifePoints1
  66. def player2heal(lifePoints2, player1):
  67.     heal2 = input("How much was healed for? ")
  68.     lifePoints2 = lifePoints2 + heal2
  69.     if heal2 >= 2000:
  70.         print "Damn that's one wicked heal! I bet",player1,"is pissed!"
  71.     return lifePoints2
  72. main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top