Package com.project.game
Class Main
java.lang.Object
com.project.game.Main
The
Main
class is the entry point for the Rock, Paper, Scissors game.
Features:
- Generates a random move for the computer.
- Compares the user's move with the computer's to determine the result.
- Displays the result and asks if the user wants to play again.
- Version:
- 1.0.0
- Author:
- Anurag Zete
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
The main method to start the Rock, Paper, Scissors game.It displays a banner, takes the user's move, generates the computer's move, and displays the result.
- Parameters:
args
- Command-line arguments (not used).
-