Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, time
- from time import sleep
- import random
- def cls():
- if os.name == 'nt':
- os.system('cls')
- else:
- os.system("clear")
- sus="-"*35
- depo=["rock","paper","scissors","lizard","spock"]
- depo2=("exit")
- depo3=("fuck you","fucktard","douchebag","pussy","shithead","asshat","fudge packer")
- answers=("Yep, no doubt about it, your father should have pulled out earlier.","I’m not a proctologist but I sure know an asshole when I see one","Who lit the fuse on your tampon?","If I wanted to listen to an asshole, I’d fart.","Acting like a dick wont make yours any bigger","well... your ass looks fat in those pants.","Who ate your bowl of sunshine this morning thundercloud?")
- user_score=0
- computer_score=0
- game_tie=0
- while True:
- print()
- print(" ------------------------------")
- print(' Wins: ', user_score, ' |')
- print(' Loses: ', computer_score, ' |')
- print(' Ties: ', game_tie, ' |')
- print(" ------------------------------")
- print()
- print(" Rock, paper, scissors, lizard, or Spock? Type exit or press ENTER to quit:")
- print()
- print(" NOTE: TYPE CHOICES IN ALL LOWER CASE.")
- print()
- print()
- x=input(" SELECTION: ")
- cls()
- if x in depo3:
- print()
- print(" _ _ ")
- print(" \ / ")
- print(" | \ / | ")
- print(" | | ")
- print(" ")
- print(" ___________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- print(random.choice(answers))
- sleep(3.0)
- exit()
- if x in depo2:
- exit()
- if x not in depo:
- print ("INVALID SELECTION")
- sleep(1.0)
- cls()
- continue
- pc=random.choice(depo)
- sleep(0.5)
- print (("Computer picked {}.").format(pc))
- if x==pc:
- sleep(0.5)
- print (("\nIt's a draw.\n{}").format(sus))
- input("Try Again? Press Enter to Continue... ")
- game_tie=game_tie+1
- cls()
- elif x=="rock" and pc=="scissors":
- sleep(0.5)
- print (("\nYOU WIN! Rock smashes scissors.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="rock" and pc=="spock":
- sleep(0.5)
- print (("\nYOU LOSE! Spock vaporizes rock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="rock" and pc=="lizard":
- sleep(0.5)
- print (("\nYOU WIN! Rock crushes lizard.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="rock" and pc=="paper":
- sleep(0.5)
- print (("\nYOU LOSE! Paper covers rock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="paper" and pc=="rock":
- sleep(0.5)
- print (("\nYOU WIN! Paper beats rock,\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="paper" and pc=="scissors":
- sleep(0.5)
- print (("\nYOU LOSE! Scissors cut paper\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="paper" and pc=="spock":
- sleep(0.5)
- print (("\nYOU WIN! Paper dispoves Spock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="paper" and pc=="lizard":
- sleep(0.5)
- print (("\nYOU LOSE! Lizard eats paper.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="scissors" and pc=="paper":
- sleep(0.5)
- print (("\nYOU WIN! Scissors cuts paper.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="scissors" and pc=="lizard":
- sleep(0.5)
- print (("\nYOU WIN! Scissors decapitates liazrd.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="scissors" and pc=="spock":
- sleep(0.5)
- print (("\nYOU LOSE!Spock smashes scissors.\n{}").format(sus))
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="scissors" and pc=="rock":
- sleep(0.5)
- print (("\nYOU LOSE! Rock smashes scissors.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="lizard" and pc=="paper":
- sleep(0.5)
- print (("\nYOU WIN! Lizard eats paper.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="lizard" and pc=="rock":
- sleep(0.5)
- print (("\nYOU LOSE! Rock crushes lizard.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="lizard" and pc=="spock":
- sleep(0.5)
- print (("\nYOU WIN! Lizard poisons Spock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="lizard" and pc=="scissors":
- sleep(0.5)
- print (("\nYOU LOSE! Scissors decapitates lizard.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="spock" and pc=="paper":
- sleep(0.5)
- print (("\nYOU LOSE! Paper disproves Spock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="spock" and pc=="scissors":
- sleep(0.5)
- print (("\nYOU WIN! Spock smashes scissors.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- elif x=="spock" and pc=="lizard":
- sleep(0.5)
- print (("\nYOU LOSE! Lizard poisons Spock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- elif x=="spock" and pc=="rock":
- sleep(0.5)
- print (("\nYOU WIN! Spock vaporizes rock.\n{}").format(sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" | | ")
- print(" \ / ")
- print(" \ __________ / ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- user_score=user_score+1
- cls()
- else:
- sleep(0.5)
- print (("\nYOU LOSE! {} beats {}\n{}").format(pc,x,sus))
- print()
- print(" | | ")
- print(" | | ")
- print(" | | ")
- print(" ")
- print(" __________ ")
- print(" / \ ")
- print(" / \ ")
- print()
- print()
- input("Try Again? Press Enter to Continue... ")
- computer_score=computer_score+1
- cls()
- input()
Advertisement
Add Comment
Please, Sign In to add comment