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
- Run the program in any Java-compatible IDE or terminal.
- Follow the prompts to enter your choice (
Rock,Paper, orScissors). - The computer will randomly select its choice.
- The winner will be determined based on the following rules:
- Rock beats Scissors
- Scissors beats Paper
- Paper beats Rock
- You can type
Exitto 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!
Log in or sign up for Devpost to join the conversation.