{"id":22930649,"url":"https://github.com/blockchainasset/rockpaperscissors","last_synced_at":"2025-04-01T17:20:41.389Z","repository":{"id":40423724,"uuid":"203832764","full_name":"BlockchainAsset/RockPaperScissors","owner":"BlockchainAsset","description":"ETH Community Blockstars 2.0's Project 3 - RockPaperScissors","archived":false,"fork":false,"pushed_at":"2024-05-10T02:34:51.000Z","size":167,"stargazers_count":1,"open_issues_count":10,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T11:15:45.982Z","etag":null,"topics":["solidity"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockchainAsset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-22T16:26:48.000Z","updated_at":"2024-02-04T15:12:28.000Z","dependencies_parsed_at":"2023-12-29T04:36:48.062Z","dependency_job_id":"43c2066d-188c-4924-8b3b-dda0a4e37a99","html_url":"https://github.com/BlockchainAsset/RockPaperScissors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainAsset%2FRockPaperScissors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainAsset%2FRockPaperScissors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainAsset%2FRockPaperScissors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainAsset%2FRockPaperScissors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockchainAsset","download_url":"https://codeload.github.com/BlockchainAsset/RockPaperScissors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246679067,"owners_count":20816402,"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":["solidity"],"created_at":"2024-12-14T10:29:10.989Z","updated_at":"2025-04-01T17:20:41.367Z","avatar_url":"https://github.com/BlockchainAsset.png","language":"JavaScript","readme":"# Rock Paper Scissors\nETH Community Blockstars 2.0's Project 3 - Rock Paper Scissors\n\n## Specification\n\nA smart contract named RockPaperScissors whereby:\n\n- Alice and Bob play the classic rock paper scissors game.\n- to enrol, each player needs to deposit the right Ether amount, possibly zero.\n- to play, each player submits their unique move.\n- the contract decides and rewards the winner with all Ether wagered.\n\nStretch goals:\n\n- make it a utility whereby any 2 people can decide to play against each other.\n- reduce gas costs as much as you can.\n- let players bet their previous winnings.\n- how can you entice players to play, knowing that they may have their funding stuck in the contract if they faced an uncooperative player?\n\n## How to Run the Project\n\n1. First clone this repo\n\n`git clone https://github.com/remedcu/RockPaperScissors.git`\n\n2. For this and some other step, you need to have Truffle \u0026 other modules installed in your system. Enter the Remittance folder and please run:\n\n`npm install` OR `npm i`\n\n3. Now start the server using:\n\n`npm run-script build \u0026\u0026 npm start`\n\n4. Now, in your browser, open [http://127.0.0.1:8080](http://127.0.0.1:8080) or the address shown to you in your console.\n\n**NOTE**: If you are using `ganache-cli` for blockchain, please disable MetaMask for checking this project in browser.\n\n## How to Test the Contract\n\n1. Please follow the step 1 - 2 of *How to Run the Project*.\n\n2. Now start the test using:\n\n`npm test`\n\n## Note\n\n- This is a prototype, please don't use it unless you know what you are doing.\n- A lot can be improved in this. Feedbacks are welcome.\n- Don't forget to unlock ether wallet accounts when required.\n\n## Thank You for checking out! Star if this helped you in anyway!","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockchainasset%2Frockpaperscissors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockchainasset%2Frockpaperscissors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockchainasset%2Frockpaperscissors/lists"}