{"id":22602199,"url":"https://github.com/silent-watcher/rock-paper-scissors","last_synced_at":"2025-04-11T02:42:20.900Z","repository":{"id":53259718,"uuid":"521240988","full_name":"Silent-Watcher/rock-paper-scissors","owner":"Silent-Watcher","description":"an interactive web application that brings the classic hand game \"Rock-Paper-Scissors\" to the digital world","archived":false,"fork":false,"pushed_at":"2024-05-07T11:35:39.000Z","size":691,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T06:56:50.642Z","etag":null,"topics":["alexjs","eslint","game-development","htmlcssjs","husky","javascript","rock-paper-scissors","web","webproject"],"latest_commit_sha":null,"homepage":"https://silent-watcher.github.io/rock-paper-scissors/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Silent-Watcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":"FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null},"funding":{"custom":["https://reymit.ir/tabataba"]}},"created_at":"2022-08-04T11:34:32.000Z","updated_at":"2025-03-13T12:54:05.000Z","dependencies_parsed_at":"2022-08-13T02:30:34.180Z","dependency_job_id":null,"html_url":"https://github.com/Silent-Watcher/rock-paper-scissors","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Silent-Watcher%2Frock-paper-scissors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Silent-Watcher%2Frock-paper-scissors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Silent-Watcher%2Frock-paper-scissors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Silent-Watcher%2Frock-paper-scissors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Silent-Watcher","download_url":"https://codeload.github.com/Silent-Watcher/rock-paper-scissors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248331164,"owners_count":21085850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alexjs","eslint","game-development","htmlcssjs","husky","javascript","rock-paper-scissors","web","webproject"],"created_at":"2024-12-08T12:19:20.830Z","updated_at":"2025-04-11T02:42:20.874Z","avatar_url":"https://github.com/Silent-Watcher.png","language":"JavaScript","funding_links":["https://reymit.ir/tabataba"],"categories":[],"sub_categories":[],"readme":"![rock-paper-scissors](https://github.com/Silent-Watcher/rock-paper-scissors/blob/master/.github/rock%20paper%20scissors%20banner.png)\n\n# rock-paper-scissors 🕹\n\nThis GitHub project is a web-based implementation of the classic Rock-Paper-Scissors game, featuring an interactive user interface, a computer opponent with randomized moves, and score tracking for an enjoyable gaming experience.\n \n\u003cp dir=\"auto\"\u003e\u003ca href=\"https://github.com/sindresorhus/awesome\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/abb97269de2982c379cbc128bba93ba724d8822bfbe082737772bd4feb59cb54/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667\" alt=\"Awesome\" data-canonical-src=\"https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e \u003ca href=\"https://github.com/chetanraj/awesome-github-badges\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/ff817852f0d676a36eaa3108d380e0052e689d9e0bc3eb42818fb21008708420/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616465253230576974682d4c6f76652d6f72616e67652e737667\" alt=\"Made With Love\" data-canonical-src=\"https://img.shields.io/badge/Made%20With-Love-orange.svg\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"http://commitizen.github.io/cz-cli/\"\u003e\u003cimg src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\" alt=\"commitizen-friendly\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[![Star this project](https://img.shields.io/badge/-⭐%20Star%20this%20project-yellow?style=for-the-badge)](https://github.com/Silent-Watcher/cli-word-guessing-game)\n\n\n## Table of Contents\n\n-   [demo](https://github.com/Silent-Watcher/rock-paper-scissors#demo)\n-   [Features](https://github.com/Silent-Watcher/rock-paper-scissors#features)\n-   [Prerequisites](https://github.com/Silent-Watcher/rock-paper-scissors#Prerequisites)\n-   [Installation](https://github.com/Silent-Watcher/rock-paper-scissors#Installation)\n-   [usage](https://github.com/Silent-Watcher/rock-paper-scissors#usage)\n-   [Contributing](https://github.com/Silent-Watcher/rock-paper-scissors#Contributing)\n-   [Contact](https://github.com/Silent-Watcher/rock-paper-scissors#Contact)\n-   [License](https://github.com/Silent-Watcher/rock-paper-scissors#License)\n\n## Demo\n\nExperience the power of the rock-paper-scissors by visiting the demo page.\n\nYou can try out the game by following this [demo link.](https://silent-watcher.github.io/rock-paper-scissors/)\n\u003cp\u003e\n \n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/Silent-Watcher/rock-paper-scissors)\n\n\u003c/p\u003e\n\n\n## Features\n\n- **Interactive Gameplay**: Users can play the classic Rock-Paper-Scissors game directly through the web interface.\n- **Computer Opponent**: The project includes an AI-based computer opponent that randomly selects its move, providing an opponent for the player to compete against.\n- **Responsive Design**: The web application is designed to work seamlessly on various devices and screen sizes, ensuring a responsive and user-friendly experience.\n- **Score Tracking**: The project keeps track of the user's and computer's scores throughout the game, providing a running tally of wins, losses, and ties.\n- **Game Result Display**: After each round, the application displays the result of the round, indicating whether the player won, lost, or tied with the computer.\n- **Game Reset**: Users have the option to reset the game and start a new round or session with a single click.\n- **Randomized Computer Moves**: The computer's move (rock, paper, or scissors) is randomized to create an element of unpredictability and challenge for the player.\n- **Winning Condition**: The project implements the traditional Rock-Paper-Scissors ruleset to determine the winner of each round, based on the chosen moves.\n- **User-Friendly Interface**: The web interface is designed with a clean and intuitive layout, making it easy for users to understand and play the game.\n- **Open Source**: The project is hosted on GitHub and is open source, allowing developers to explore the codebase, contribute to the project, or use it as a learning resource.\n\n## Prerequisites\n\nIn order to run this project, you will need to have the following installed on your computer:\n- nodejs\n- yarn | npm | pnpm\n\n## Installation\n\nTo install the application, follow these steps:\n\n1.  Clone the repository to your local machine:\n\n \n```bash\ngit clone https://github.com/Silent-Watcher/rock-paper-scissors\n```\n\n2. Navigate to the project directory in your terminal.\n\n \n```bash\n  cd rock-paper-scissors\n```\n3. Run `npm install` to install the necessary packages.\n\n \n```bash\n  npm install\n```\n\n4. Run `npm run prepare` to install husky.\n\n \n```bash\n  npm run prepare\n```\n\n## usage\n\nTo start the application, run `npm run dev` . This will start the application on http://localhost:5173.\n\n```bash\nnpm run dev\n```\n## Technologies\n\u003cp\u003e\n\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/96a539d0f4942d7f622d96b43372b8e6038ff508e690609b1ffc1fc3108025bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d48544d4c352d3030303f266c6f676f3d68746d6c35266c6f676f436f6c6f723d453334463236\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/96a539d0f4942d7f622d96b43372b8e6038ff508e690609b1ffc1fc3108025bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d48544d4c352d3030303f266c6f676f3d68746d6c35266c6f676f436f6c6f723d453334463236\" alt=\"HTML5\" data-canonical-src=\"https://img.shields.io/badge/-HTML5-000?\u0026amp;logo=html5\u0026amp;logoColor=E34F26\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/9aa9859905af6a3b26edde4a73cf1974ed9ae204b16f24f4b704b5cafe1159c2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4353532d3030303f266c6f676f3d63737333266c6f676f436f6c6f723d313537324236\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/9aa9859905af6a3b26edde4a73cf1974ed9ae204b16f24f4b704b5cafe1159c2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4353532d3030303f266c6f676f3d63737333266c6f676f436f6c6f723d313537324236\" alt=\"CSS\" data-canonical-src=\"https://img.shields.io/badge/-CSS-000?\u0026amp;logo=css3\u0026amp;logoColor=1572B6\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n \u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/4b4858ab474b4aaf1d67602c602f1149a7666b04563d1e674a21922d66537b14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4a6176615363726970742d3030303f266c6f676f3d4a617661536372697074266c6f676f436f6c6f723d646463353038\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/4b4858ab474b4aaf1d67602c602f1149a7666b04563d1e674a21922d66537b14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4a6176615363726970742d3030303f266c6f676f3d4a617661536372697074266c6f676f436f6c6f723d646463353038\" alt=\"JavaScript\" data-canonical-src=\"https://img.shields.io/badge/-JavaScript-000?\u0026amp;logo=JavaScript\u0026amp;logoColor=ddc508\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/404617cc3b075fbc7b1483a9b43d0f6be4aeec1bbd464bf51651c572414009c7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d536173732d3030303f266c6f676f3d53617373\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/404617cc3b075fbc7b1483a9b43d0f6be4aeec1bbd464bf51651c572414009c7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d536173732d3030303f266c6f676f3d53617373\" alt=\"Sass\" data-canonical-src=\"https://img.shields.io/badge/-Sass-000?\u0026amp;logo=Sass\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/9931d101c80aa7cef99bbc377a51936afeb68674645815f815b851fd8de8c470/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d566974652d3030303f266c6f676f3d56697465\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/9931d101c80aa7cef99bbc377a51936afeb68674645815f815b851fd8de8c470/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d566974652d3030303f266c6f676f3d56697465\" alt=\"Vite\" data-canonical-src=\"https://img.shields.io/badge/-Vite-000?\u0026amp;logo=Vite\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Contributing 🤝🏾\n\nContributions to this project are welcome. \nIf you encounter any issues or have suggestions for improvement, please open an issue on the GitHub repository.\n\nBefore contributing, please review the contribution guidelines.\n\n## Contact\n\nFor additional information or inquiries, you can reach out to the project maintainer:\n\n- Name: Silent-Watcher\n- Email: alitabatabaee20@mail.com\n\nFeel free to contact the maintainer for any questions or feedback regarding the project.\n\n## License 🔐\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\nThis project is licensed under the MIT License. You are free to modify, distribute, and use the code for personal and commercial purposes. See the LICENSE file for details.\n\n## Sponsor ❤\nIf you like this project, please give it a star ⭐ and/or consider buying me a coffee(s). Every donation is appreciated.\n\n\u003ca href=\"https://www.coffeete.ir/silentwatcher\" rel=\"nofollow\"\u003e\n    \u003cimg width=\"120px\" src=\"https://camo.githubusercontent.com/ab6dddafd2bdfc2a0e66b6f4eae6f508a308c085a3093bea8b1a143ac909f14a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275795f4d655f415f436f666665652d4646444430303f7374796c653d666f722d7468652d6261646765266c6f676f3d6275792d6d652d612d636f66666565266c6f676f436f6c6f723d626c61636b\" data-canonical-src=\"https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026amp;logo=buy-me-a-coffee\u0026amp;logoColor=black\" style=\"max-width: 100%;\"\u003e\n\u003c/a\u003e\n\n\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/6038c8f1fd8f60de75477470e5a87210e9256202e01dfba9986446304a0f0254/68747470733a2f2f63617073756c652d72656e6465722e76657263656c2e6170702f6170693f747970653d776176696e6726636f6c6f723d6772616469656e74266865696768743d36302673656374696f6e3d666f6f746572\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/6038c8f1fd8f60de75477470e5a87210e9256202e01dfba9986446304a0f0254/68747470733a2f2f63617073756c652d72656e6465722e76657263656c2e6170702f6170693f747970653d776176696e6726636f6c6f723d6772616469656e74266865696768743d36302673656374696f6e3d666f6f746572\" data-canonical-src=\"https://capsule-render.vercel.app/api?type=waving\u0026amp;color=gradient\u0026amp;height=60\u0026amp;section=footer\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilent-watcher%2Frock-paper-scissors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilent-watcher%2Frock-paper-scissors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilent-watcher%2Frock-paper-scissors/lists"}