Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- print "The Shadow Game has BEGUN!"
- print "IT'S TIME TO D-D-D-DUEL!!!!"
- print "This program was written by the finest programmer at Kaiba Corp. for the sole purpose of enriching a children's card game."
- player1 = raw_input("What is the first players name? ")
- player2 = raw_input("What is the second players name? ")
- choice = 0
- lifePoints1 = 8000
- lifePoints2 = 8000
- while lifePoints1 and lifePoints2 >0 and choice !='6':
- print "Menu Selections:"
- print "1 -Damage", player1
- print "2 -Damage", player2
- print "3 -Heal", player1
- print "4 -Heal", player2
- print "5 -Duel Reset"
- print "6 -Duel End"
- print "Duelist",player1,":", lifePoints1
- print "Duelist",player2,":", lifePoints2
- print "What will you do!?"
- choice = raw_input("Enter your selection: ")
- if choice == '1':
- lifePoints1 = player1dmg(lifePoints1)
- elif choice == '2':
- lifePoints2 = player2dmg(lifePoints2)
- elif choice == '3':
- lifePoints1 = player1heal(lifePoints1, player2)
- elif choice == '4':
- lifePoints2 = player2heal(lifePoints2, player1)
- elif choice == '5':
- main()
- elif choice == '6':
- print "Thanks for participating in Shadow Games!"
- else:
- print "Invalid input. Please try again."
- if lifePoints1 <=0:
- print "THERE IS A GOD!",player1,"bow before",player2,"!"
- elif lifePoints2 <=0:
- print "THERE IS A GOD!",player2,"bow before",player1,"!"
- def player1dmg(lifePoints1):
- dmg1 = input("How much dmg was incurred? ")
- lifePoints1 = lifePoints1 - dmg1
- if lifePoints1 < 1000:
- print "GOT OBLITERATED!"
- elif lifePoints1 <= 2000:
- print "Fuck bro....You had better pull some shit outta your ass, and QUICK!"
- elif lifePoints1 <= 4000:
- print "Uhh oh! Over half dead!!! Get raped!"
- return lifePoints1
- def player2dmg(lifePoints2):
- dmg2 = input("How much dmg was incurred? ")
- lifePoints2 = lifePoints2 - dmg2
- if lifePoints2 < 1000:
- print "OH SHIT!"
- elif lifePoints2 <= 2000:
- print "Getting your face wrecked in half man. Step it up!"
- elif lifePoints2 <= 4000:
- print "OOOOOOOOOH! Over half destroyed!!! Get fucked!"
- return lifePoints2
- def player1heal(lifePoints1, player2):
- heal1 = input("How much was healed for? ")
- lifePoints1 = lifePoints1 + heal1
- if heal1 >= 2000:
- print "Damn that's a nice ass heal! Yea....",player2,"is mad cuz bad."
- return lifePoints1
- def player2heal(lifePoints2, player1):
- heal2 = input("How much was healed for? ")
- lifePoints2 = lifePoints2 + heal2
- if heal2 >= 2000:
- print "Damn that's one wicked heal! I bet",player1,"is pissed!"
- return lifePoints2
- main()
Add Comment
Please, Sign In to add comment