Class Main

java.lang.Object
com.project.game.Main

public class Main extends Object
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 Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)
      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).