Extra Credit Assignment 1: Rock – Paper – Scissors Java Implementation
Buy now
Problem:
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 indicates if the user won, the computer won, or if there was a tie. Continue playing until the user chooses to stop, and then show the number of user wins, losses, and ties.Objective:
- Understand the concept of object-oriented programming.
- Understand the use of standard Java classes.
- Familiarize with code documentation, compilation, and execution.
- Expose to Java syntax, programming styles, and Java classes.
Code Screenshots:
Order Now:
Buy nowCONTACT DETAILS
For any other questions or other tasks please feel free to contact me
via email: mhassnainjamil@gmail.com
via WhatsApp: +92-324-7042178
via skype: hassnainjamil1
Comments
Post a Comment