Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a Python program that simulates the game rock, paper, and scissors. You are to keep track of your wins, losses, and ties. You are

Design a Python program that simulates the game rock, paper, and scissors. You are to keep track of your wins, losses, and ties. You are to allow the users to play over and over again until he or she decides to quit. After each throw, you will display the results of the throw followed by the current win, loss, tie numbers. A throw consists of the player picking either Rock, Paper, or Scissors followed by the computer randomly choosing Rock, Paper, or Scissors.

Rules of the game:

Rock beats Scissors.

Paper beats Rock.

Scissor beats paper.

MENU:

  1. Throw Rock

  2. Throw Paper

  3. Throw Scissors

  4. Quit

Sample Run:

Option 1:

== RESULTS ==

Computer Throws Scissors, you win

Wins...: 1

Losses...: 0

Ties..: 0

Longest Win Streak....: 1

Longest Lose Streak..: 0

Note: After each Throw you will display the results from above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago