{"id":22018603,"url":"https://github.com/codeofnode/socket-game","last_synced_at":"2026-04-19T04:38:30.963Z","repository":{"id":93589605,"uuid":"100162207","full_name":"codeofnode/socket-game","owner":"codeofnode","description":"A simple socket based game","archived":false,"fork":false,"pushed_at":"2017-08-14T04:13:31.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T09:35:28.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codeofnode.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":"2017-08-13T07:55:25.000Z","updated_at":"2017-08-13T07:56:43.000Z","dependencies_parsed_at":"2023-06-15T21:00:43.584Z","dependency_job_id":null,"html_url":"https://github.com/codeofnode/socket-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeofnode/socket-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fsocket-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fsocket-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fsocket-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fsocket-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeofnode","download_url":"https://codeload.github.com/codeofnode/socket-game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fsocket-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018119,"owners_count":26086280,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-30T05:12:43.984Z","updated_at":"2025-10-14T06:12:07.954Z","avatar_url":"https://github.com/codeofnode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Game\n\u003e The Game\n\n## How to start\n```\n$ npm install\n$ npm start\n```\n\n## How to test\n```\n$ npm test\n```\n\n## How to test, finding coverage, build, running lint, docs everything\n```\n$ npm run all\n```\n\n## How to play\n\u003e You need three process. 1 as server. And other 2 as clients.\n\n### At server\n```\n$ npm start\n```\n### At client\n```\n$ npm run client\n```\n\n* CLI based game. CLI will guide you what to do when.\n* Both users need to register\n* The first user will select the game and hence create a room\n* there is by default one game, named `guess`. You are free to create more games, similar with `Guess` class methods. If created those games will also be listed.\n* Number of default players configurable from config.\n* The first user's client will wait untill other players join\n* when all join, server will notify all users that question will be asked in 5 seconds\n* Question will be to pick a number from 1 to 26.\n* Whoever the first user guess the right number wins\n* user have unlimited number of tries. If user does not guess right number, his score will be minus by absolute diff.\n* Upon timeout 15 seconds, Otherwise the user who has the highest score will win.\n\n## json2server\n\u003e [Read more about JSON 2 Server](https://github.com/codeofnode/json2server)\n\n## License\nMIT © [Ramesh Kumar](codeofnode-at-the-rate-gmail-dot-com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeofnode%2Fsocket-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeofnode%2Fsocket-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeofnode%2Fsocket-game/lists"}