Question: Write a program rpsls.java that simulates the game Paper, Scissors, Rock. The rules are as follows: The program should display a menu from which the

Write a program rpsls.java that simulates the game Paper, Scissors, Rock. The rules are as follows:

The program should display a menu from which the user may choose to 1. See the rules of the game 2. Play against the computer 3. Show lifetime statistics 4. Quit Each game can end in a win, loss or draw. The result of the game should show not only the moves but also the action for instance "player scissors decapitates lizard" Keep track of the statistics: number of wins, loss and draws When quitting, store the statistics on a file named "statistics.txt" At the end of the game, display the current session statistics in percentage on the screen. The user should able to able to play as many games as he/she wishes. Please use Eclipse. Thanks!

CRUSHES

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!