{"id":15553882,"url":"https://github.com/abdussattar-70/cryptorps","last_synced_at":"2026-05-13T23:34:03.027Z","repository":{"id":210906013,"uuid":"727716145","full_name":"AbdusSattar-70/CryptoRPS","owner":"AbdusSattar-70","description":"CriptoRPS - a Rock, Paper, Scissors game with a cryptographic twist! This command-line game is built using JavaScript and incorporates HMAC","archived":false,"fork":false,"pushed_at":"2024-10-10T14:57:40.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-02-03T12:28:03.248Z","etag":null,"topics":["chalk","command-line","cripto","javascript","nodejs","sha3-256"],"latest_commit_sha":null,"homepage":"","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/AbdusSattar-70.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-05T12:35:30.000Z","updated_at":"2024-10-10T14:57:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcefd1ed-7036-4d6a-8b66-df1c44e3c634","html_url":"https://github.com/AbdusSattar-70/CryptoRPS","commit_stats":null,"previous_names":["abdussattar-70/cryptorps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdusSattar-70%2FCryptoRPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdusSattar-70%2FCryptoRPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdusSattar-70%2FCryptoRPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdusSattar-70%2FCryptoRPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdusSattar-70","download_url":"https://codeload.github.com/AbdusSattar-70/CryptoRPS/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246127285,"owners_count":20727702,"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":["chalk","command-line","cripto","javascript","nodejs","sha3-256"],"created_at":"2024-10-02T14:41:23.401Z","updated_at":"2026-05-13T23:33:58.006Z","avatar_url":"https://github.com/AbdusSattar-70.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\u003cb\u003eCriptoRPS\u003c/b\u003e\u003c/h3\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🚀 Introduction](#introduction)\n  - [🎮 Game Overview](#game-overview)\n  - [🔑 HMAC Generation](#hmac-generation)\n- [💻 Getting Started](#getting-started)\n  - [🛠 Prerequisites](#prerequisites)\n  - [🚀 Installation](#installation)\n- [🎮 Gameplay](#gameplay)\n  - [🔄 How to Play](#how-to-play)\n  - [📊 Game Logic](#game-logic)\n- [👤 Author](#author)\n- [📝 License](#license)\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## 📖 About the Project \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n### 🚀 Introduction \u003ca name=\"introduction\"\u003e\u003c/a\u003e\n\nWelcome to CriptoRPS - a Rock, Paper, Scissors game with a cryptographic twist! This command-line game is built using JavaScript and incorporates HMAC (Hash-based Message Authentication Code) for enhanced security and transparency.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n## Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eBUILT WITH\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=#\u003econsole app\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003eNode.js\u003c/li\u003e\n    \u003cli\u003eJavaScript.js\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eRun environment\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=#\u003econsole app\u003c/a\u003e\u003c/li\u003e\n     \u003cli\u003eNode.js\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n \u003cli\u003eno Database\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n### 🎮 Game Overview \u003ca name=\"game-overview\"\u003e\u003c/a\u003e\n\nCriptoRPS allows players to engage in a classic Rock, Paper, Scissors game while ensuring the integrity of the moves through HMAC. The game generates a unique HMAC key for each session, adding an extra layer of security and transparency.\n\n### 🔑 HMAC Generation \u003ca name=\"hmac-generation\"\u003e\u003c/a\u003e\n\nThe game utilizes cryptographic functions to generate HMAC keys and hash moves, ensuring that the game's outcome is secure and verifiable.\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\n### 🛠 Prerequisites \u003ca name=\"prerequisites\"\u003e\u003c/a\u003e\n\nTo run CriptoRPS, you need the following:\n\n- Node.js installed on your machine\n\n### 🚀 Installation \u003ca name=\"installation\"\u003e\u003c/a\u003e\n\n1. Clone the repository:\n\n   ```bash\n    git clone https://github.com/AbdusSattar-70/criptoRPS.git\n    cd criptoRPS\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n\u003c!-- GAMEPLAY --\u003e\n\n## 🎮 Gameplay \u003ca name=\"gameplay\"\u003e\u003c/a\u003e\n\n### 🔄 How to Play \u003ca name=\"how-to-play\"\u003e\u003c/a\u003e\n\n1. Run the game:\n\n   ```bash\n\n   node main.js MOVE1 MOVE2 MOVE3\n\n   ```\n\n   ## Example Valid Moves:\n\n   - node main.js MOVE1 MOVE2 MOVE3\n   - node main.js STONE PAPER SCISSORS\n   - node main.js STONE SPOCK PAPER LIZARD SCISSORS\n   - node main.js Rock Paper STONE LIZARD SPOCK\n   - node main.js A B C D E F G\n   - node main.js 1 2 3 4 5 6 7 8 9\n\n   ## Examples of Invalid moves:\n\n   - node main.js\n   - node main.js Rock\n   - node main.js A A A\n   - node main.js Rock Paper Paper\n   - node main.js Rock Paper Scissors Lizard Scissors\n   - node main.js 1 2 3 4 5 6 7 8\n\n2. Follow the on-screen instructions to make your move.\n\n3. Enjoy the game and verify its transparency using HMAC!\n\n### 📊 Game Logic \u003ca name=\"game-logic\"\u003e\u003c/a\u003e\n\nThe game follows a standard Rock, Paper, Scissors logic with an added layer of cryptographic security. The HMAC key ensures that the moves are tamper-proof and verifiable.\n\n## HELP TABLE\n\nResults are from the user's point of view:\nwhich move would result in what? You Win / Lose / Draw\n\n| v PC\\User \u003e | ROCK | STONE | LIZARD | SPOCK | PAPER | 6TH  | 7TH  |\n| ----------- | ---- | ----- | ------ | ----- | ----- | ---- | ---- |\n| ROCK        | Draw | Win   | Win    | Win   | Lose  | Lose | Lose |\n| STONE       | Lose | Draw  | Win    | Win   | Win   | Lose | Lose |\n| LIZARD      | Lose | Lose  | Draw   | Win   | Win   | Win  | Lose |\n| SPOCK       | Lose | Lose  | Lose   | Draw  | Win   | Win  | Win  |\n| PAPER       | Win  | Lose  | Lose   | Lose  | Draw  | Win  | Win  |\n| 6TH         | Win  | Win   | Lose   | Lose  | Lose  | Draw | Win  |\n| 7TH         | Win  | Win   | Win    | Lose  | Lose  | Lose | Draw |\n\n\u003c!-- AUTHOR --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n## 👤 Abdus Sattar\n\n- GitHub: [AbdusSattar-70](https://github.com/AbdusSattar-70)\n- Twitter: [Abdus Sattar](https://twitter.com/Abdus_Sattar70)\n- LinkedIn: [Abdus Sattar](https://www.linkedin.com/in/abdus-sattar-a41a26215/)\n\n## Future Features\n\n- UI LOOK\n- INTERACTIVE GAME\n\n## Contributing\n\nEverybody is welcome to suggest changes, contribute, report issues, and request features in this project. To do so, fork this repository, create a new branch, and open a pull request from your branch.\n\nFeel free to check the [issues page](../../issues/).\n\n## Show Your Support\n\nIf you like this project, please give it a star ⭐️. You can use it following the [MIT License](./LICENSE).\n\n## Acknowledgments\n\nI would like to thank [Itransition-Group](https://www.itransition.com/) for the opportunity to learn and use their platform and services for free.\n\n## License\n\nThis project is under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdussattar-70%2Fcryptorps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdussattar-70%2Fcryptorps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdussattar-70%2Fcryptorps/lists"}