Rock, Paper, Scissors Game

A simple Java-based implementation of the classic Rock, Paper, Scissors game where you play against the computer.

Features

  • Play an unlimited number of rounds.
  • User-friendly prompts and instructions.
  • Randomized computer choices to ensure unpredictability.
  • Validates user input to prevent errors.
  • Exit the game anytime by typing Exit.

How to Play

  1. Run the program in any Java-compatible IDE or terminal.
  2. Follow the prompts to enter your choice (Rock, Paper, or Scissors).
  3. The computer will randomly select its choice.
  4. The winner will be determined based on the following rules:
    • Rock beats Scissors
    • Scissors beats Paper
    • Paper beats Rock
  5. You can type Exit to quit the game anytime.

Example Gameplay

Welcome to Rock, Paper, Scissors!
Enter your choice (Rock, Paper, Scissors). Type 'Exit' to quit.
Your choice: Rock
Computer chose: Scissors
You win!
Your choice: Paper
Computer chose: Rock
You win!
Your choice: Exit
Thanks for playing! Goodbye!

Built With

Share this project:

Updates