This project is a simple yet fun Rock-Paper-Scissors game built using vanilla JavaScript and HTML. It allows a user to play against the computer with randomly generated choices and logic to determine the winner. Designed for beginners learning JavaScript functions, conditionals, and DOM interaction.
- User vs. Computer gameplay
- Randomized computer choice using
Math.random()
- Basic conditional logic to determine the winner
- Console-based output for easy testing
- Includes a secret "bomb" cheat code for instant win
- HTML5 β Page structure
- JavaScript (ES6+) β Game logic, randomization, and conditionals
- Clone or download this repository:
git clone https://github.com/your-username/rock-paper-scissors-js.git