Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CODE MUST BE IN PYTHON AND USE FUNCTIONS AND LOOPS. THANKS. OLA 6: Rock, Paper, Scissors Game Due: Fri Oct 26, 2018 by 11:59 PM-may

CODE MUST BE IN PYTHON AND USE FUNCTIONS AND LOOPS. THANKS. image text in transcribed
image text in transcribed
OLA 6: Rock, Paper, Scissors Game Due: Fri Oct 26, 2018 by 11:59 PM-may be turned in until Nov 2 by 11:59 PM with reduced points (per Open Lab-Project guidance found in the course syllabus) Assignment id: ola6 Assignment type: Project Required Files: ola6.py, ola6.jpg, myout.log Lab description For this lab, write a complete Python script that allows the user to play the game Rock, Paper, Scissors against the computer. Your output format must match the sample shown below. Sample Output: Weloome to the game Rock, Paper, Saissos. You will be playing against the computer. What is your name? CSCI1170 Here are the rules cScI1170 It a player chooses Rock and the other chooses Scissos, Rock wins. It a player chooses Scissors and the other It a player chooses Paper and the other chooses Rock, Paper wins. It both players make the same choice, it's a tie. Enter -1 to quit the gane chooses Paper, Scissors wins. Enter your move (0 tor Rock, 1 for Paper, 2 tor Sesssos) 2 csc11170 plays Scissors computer piays Rock Rock breaks scissors. Computer wins! Enter your move (o tor Rock, 1 tor Paper, 2 tor Soissora): o csci1170 plays Rock computer plays Paper Paper covers rock. Computer wins Enter your move (o tor Rock, 1 for Paper, 2 tor Sesssors) 0 CSCI1170 plays Rock computer plays Seissors Rock breaks scissors.CSCI1170 wins! Enter your move (o tor Rock, 1 tor Paper, 2 tor Scissoxs) 2 Csci1170 plays Sc1s30s computer plays Paper Scissors cuts paper. CScI1170 wins Enter your move (0 tor Rock, 1 tor Paper, 2 tor Seissors): 1 CSCI1170 plays Paper computer plays Paper It' a tie! Enter your move ( for Rock, 1 tor Paper, 2 tor Saissors): 1 CsC11170 plays Paper computez plays Rock Paper covers rock. cSC11170 Wns Enter your move (0 tor Rock, 1 for Paper, 2 tor Scissors): 1 re were 6 games: CSC11170 won 3 games, the computer von 2 games, and theze vere i ties

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_2

Step: 3

blur-text-image_3

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

1. Define and describe characteristics of intercultural conflict.

Answered: 1 week ago

Question

What statements did you use? In what tone of voice?

Answered: 1 week ago