Rock Paper Scissors - JUMPERS

rps-DARK-PR_mockup_Flat-Front_Black.png
rps-DARK-PR_mockup_Flat-Front_Navy.png
rps-LIGHT-PR_mockup_Flat-Front_Heather-Grey.png
rps-LIGHT-PR_mockup_Flat-Front_White.png
mockup_Flat-Back_Black.png
mockup_Flat-Back_Heather-Grey.png
mockup_Flat-Back_Navy.png
mockup_Flat-Back_White.png
5454_w.jpg
5454_w_b.jpg
rps-DARK-PR_mockup_Flat-Front_Asphalt.png
rps-DARK-PR_mockup_Flat-Front_Black.png
rps-DARK-PR_mockup_Flat-Front_Navy.png
rps-LIGHT-PR_mockup_Flat-Front_White.png
rps-DARK-PR_mockup_Flat-Front_Black.png
rps-DARK-PR_mockup_Flat-Front_Navy.png
rps-LIGHT-PR_mockup_Flat-Front_Heather-Grey.png
rps-LIGHT-PR_mockup_Flat-Front_White.png
mockup_Flat-Back_Black.png
mockup_Flat-Back_Heather-Grey.png
mockup_Flat-Back_Navy.png
mockup_Flat-Back_White.png
5454_w.jpg
5454_w_b.jpg
rps-DARK-PR_mockup_Flat-Front_Asphalt.png
rps-DARK-PR_mockup_Flat-Front_Black.png
rps-DARK-PR_mockup_Flat-Front_Navy.png
rps-LIGHT-PR_mockup_Flat-Front_White.png

Rock Paper Scissors - JUMPERS

99.00

This code for a rock, paper, scissors game - the python way.

CODE:

#Rock-Paper-Scissors


from random import choice
name = raw_input("Enter your name: ") 
print "Hi " + name + "! Welcome to the game. Here are the rules: " \
                     "Rock beats Scissors, Scissors beats Paper, Paper beats Rock"
print ""
rock_paper_scissors = ['r','p','s']
your_score = 0
computer_score = 0

while 1:
                    print "R: Rock,      P: Paper,     S: Scissors"
                    user = raw_input("Enter your choice (R, P, or S)")
      user = user.lower()
      py = choice(rock_paper_scissors)

                    if user == py:
                            print "You chose ",user
                            print "Computer chose ",py
                            print "Yep - it's a tie!",py
                            print "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                            print ""
                    elif user == 'r' and user == 's' :
                                        print 'You entered Rock. Computer had Scissors. You win!'
                                                your_score+=1
                                        print "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                                        print ""
                    elif user == 'r' and user == 'p' :
                                        print 'You entered Rock. Computer had Paper. You lose!'
                                                computer_score+=1
                                        print "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                                        print ""
                    elif user == 's' and user == 'p' :
                                        print 'You entered Scissors. Computer had Paper. You win!'
                                                your_score+=1
                                        print "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                                        print ""
                    elif user == 's' and user == 'r' :
                                        print 'You entered Scissors. Computer had Rock. You lose!'
                                                computer_score+=1
                                        print = "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                                        print ""
                    elif user == 'p' and user == 's' :
                                        print 'You entered Paper. Computer had Scissors. You lose!'
                                                computer_score+=1
                                        print = "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                                        print ""
                    elif user == 'p' and user == 'r' :
                                        print 'You entered Paper. Computer had Rock. You win!'
                                                your_score+=1
                                        print "The scores are - YOU:" + str(your_score) + " COMPUTER: " + str(computer_score)  
                                        print ""

                    if computer_score == 5:
                            print = "NOOO! You've lost the match! How can this be possible???"
                            break
                    elif your_score == 5:
                            print = "You've won the match! Congratulations " + name + "!"
                            break

COLOUR:
SIZE:
ITEM:
Quantity:
Add To Cart

All Syntaxd products are printed and shipped world-wide from a state-of-the-art facility in California, USA. 

We use super-high res printing files to ensure graphics are super crisp and clean!

Our ultra-premium sweaters feature the following for ultimate comfort: 

  • 100% California fleece cotton (Heather Grey contains 10% Polyester)

  • Raglan sleeves

  • Fabric weight 7.2 oz/yd2

  • Crew neckline

Our crew-necked sweater is made out of California fleece which, opposed to typical synthetic fleece, is made out of 100% extra soft ring-spun combed cotton (Heather Grey contains 10% Polyester). It's pre-washed to minimize shrinkage and is breathable yet extra thick for warmth.


Our ultra-premium hoodies feature the following for ultimate comfort: 

  • 100% California fleece cotton

  • Hooded with matching finished polyester drawcord

  • Raglan sleeves

  • Kangaroo pocket

  • Fabric weight 7.2 oz/yd2

  • Made in California

Our hoodies are made out of California fleece which, opposed to typical synthetic fleece, is made of 100% extra soft ring-spun combed cotton. It's pre-washed to minimize shrinkage, and is breathable yet extra thick for warmth.