Create a modularized Rock, Paper, and Scissors game that lets user play 7 Rock, Paper, and Scissors game against computer.  The program should display each game's result and the final result for the 7 games. The program should contain the following procedures: getComputerChoice receives nothing but returns a word randomly picked from Rock, Paper, and Scissors. getUserChoice receives nothing but returns a word user picked from Rock, Paper, and Scissors. play receives computerPicked and userPicked and returns winner's name, computer or user. main: call the above procedures 7 times, display each game's result, and final result summary

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 5GZ
icon
Related questions
icon
Concept explainers
Question

Create a modularized Rock, Paper, and Scissors game that lets user play 7 Rock, Paper, and Scissors game against computer.  The program should display each game's result and the final result for the 7 games. The program should contain the following procedures:

  • getComputerChoice receives nothing but returns a word randomly picked from Rock, Paper, and Scissors.
  • getUserChoice receives nothing but returns a word user picked from Rock, Paper, and Scissors.
  • play receives computerPicked and userPicked and returns winner's name, computer or user.
  • main: call the above procedures 7 times, display each game's result, and final result summary

any way i can get help creating this in raptor flowchart?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,