I am new to
Java and so far I have read the first 5 chapters of Java Software Solution (Edition 7).
Today I have been working on one of the Chapter 5 question and would love some feedback on my code.
Is it readable, with enough comments?
Is there any way I could make it better with the tools I know right now.
Question:
Design and implement an application that plays the Rock-Paper-
Scissors game against the computer. When played between two
people, each person picks one of three options (usually shown by
a hand gesture) at the same time, and a winner is determined. In
the game, Rock beats Scissors, Scissors beats Paper, and Paper
beats Rock. The program should randomly choose one of the
three options (without revealing it), then prompt for the user’s
selection. At that point, the program reveals both choices and
prints a statement indicating if the user won, the computer won,
or if it was a tie. Continue playing until the user chooses to stop,
then print the number of user wins, losses, and ties.
Answer: