Rock Paper Scissors - TSHIRTS

Hes res SS men g.jpg
Hes res SS men l.jpg
Hes res SS men n.jpg
Hes res SS men w.jpg
mockup_Back_Black.png
mockup_Back_Charcoal.png
mockup_Back_Navy.png
mockup_Back_White.png
rps-DARK-PR_mockup_Front_Black.png
rps-DARK-PR_mockup_Front_Charcoal.png
rps-DARK-PR_mockup_Front_Navy.png
rps-LIGHT-PR_mockup_Front_White.png
T-fold.jpg
T-male-back.jpg
T-male-front.jpg
mockup_Flat-Back_Asphalt.png
mockup_Flat-Back_Black.png
mockup_Flat-Back_Navy.png
mockup_Flat-Back_White.png
Hes res SS men g.jpg
Hes res SS men l.jpg
Hes res SS men n.jpg
Hes res SS men w.jpg
mockup_Back_Black.png
mockup_Back_Charcoal.png
mockup_Back_Navy.png
mockup_Back_White.png
rps-DARK-PR_mockup_Front_Black.png
rps-DARK-PR_mockup_Front_Charcoal.png
rps-DARK-PR_mockup_Front_Navy.png
rps-LIGHT-PR_mockup_Front_White.png
T-fold.jpg
T-male-back.jpg
T-male-front.jpg
mockup_Flat-Back_Asphalt.png
mockup_Flat-Back_Black.png
mockup_Flat-Back_Navy.png
mockup_Flat-Back_White.png

Rock Paper Scissors - TSHIRTS

79.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

SIZE:
COLOUR:
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 short-sleeve T-shirts feature the following for ultimate comfort: 

  • 100% certified organic soft-spun cotton

  • Pre-shrunk

  • Seamless collar

  • Double-needle sleeve and bottom hem

  • Shoulder-to-shoulder tape and seamed collar

  • Tubular construction

  • Fabric weight 4.3 oz/yd²


Our ultra-premium long-sleeve T-shirts feature the following for ultimate comfort: 

  • 100% certified organic soft-spun cotton

  • Long sleeves

  • Cuffed hands

  • Durable ribbed neckband

  • Double stitched

  • Fabric weight 5.0 oz/yd²