This is a simple Stone-Paper-Scissors game built using HTML, CSS, and JavaScript. The user plays against the computer by selecting one of the three options—stone, paper, or scissors—and the computer randomly makes a choice. The result is then displayed via an alert.
- User can select between stone, paper, and scissors.
- The computer makes a random choice each time.
- Alerts the user with the final result (win, lose, or draw).
- Clean and minimal interface.
- HTML: To structure the game interface.
- CSS: For styling the buttons and overall layout.
- JavaScript: To handle user input, generate random computer choices, and determine the result.
- Open the game in your browser.
- Choose either stone, paper, or scissors by clicking the respective button.
- The computer will randomly choose its option.
- The result will be displayed via an alert, showing whether you won, lost, or draw.