https://github.com/aftermath22/rock-paper-scissors-game
A simple rock-paper-scissors game with auto play !
https://github.com/aftermath22/rock-paper-scissors-game
dom-manipulation eventlistener html-css-javascript
Last synced: 8 months ago
JSON representation
A simple rock-paper-scissors game with auto play !
- Host: GitHub
- URL: https://github.com/aftermath22/rock-paper-scissors-game
- Owner: aftermath22
- License: mit
- Created: 2024-01-29T08:08:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T15:02:31.000Z (over 2 years ago)
- Last Synced: 2025-06-19T17:52:18.542Z (12 months ago)
- Topics: dom-manipulation, eventlistener, html-css-javascript
- Language: JavaScript
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
* This is a simple rock paper scissors game made with HTML-CSS-Javascript where you play against the computer which generates random choices.
* This project deemed to be fruitful to learn how to make an interactive website with the help of Javascript.
* Features Inclued :
1. Rock paper and scissors can be chosen by clicking the respective icons as well as by pressing "1","2" and "3" on the keyboard respectively.
2. The results (wins,loses and ties) are stored in local storage which aids in saving the results even if the website is reloaded or the browser is closed.The score can be reset by clicking the 'Reset Button'.
3. There is an 'Auto Play' feature where both the inputs are randomly generated by the computer each game is played in an interval of 1 second. This helps us in realizing the mechanism of setInterval method of Javascript.The game will continue until the 'Auto Play' button is clicked again which clears the interval set earlier.
* Link🔗 : https://aftermath22.github.io/Rock-Paper-Scissors-Game/
* This is how the Website Looks:
