Question: java or C++ rps This method simulates the playing of one round of CMSC 131 Rock Paper Scissors. In this strange version of the game,

 java or C++ rps This method simulates the playing of one

java or C++

rps This method simulates the playing of one round of CMSC 131 Rock Paper Scissors. In this strange version of the game, if both players have the same hand gestures, the return value is 1. If they have different hand gestures, the return value is a 7. If at least one player, provides a string argument that is anything other than rock, paper, or scissors, the return value is -1. The method should not be case-sensitive. For example, rock, ROCK, Rock, and Rock are all valid

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!