{"id":19788314,"url":"https://github.com/guuzzeji/console-against-humans","last_synced_at":"2025-07-24T08:09:36.987Z","repository":{"id":190541208,"uuid":"311026687","full_name":"Guuzzeji/Console-Against-Humans","owner":"Guuzzeji","description":"Web-console based online game","archived":false,"fork":false,"pushed_at":"2020-11-08T09:39:17.000Z","size":184,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T00:37:13.224Z","etag":null,"topics":["game","nodejs","socket-io","webapp"],"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/Guuzzeji.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}},"created_at":"2020-11-08T09:26:42.000Z","updated_at":"2021-01-31T11:35:45.000Z","dependencies_parsed_at":"2023-08-25T05:58:02.267Z","dependency_job_id":null,"html_url":"https://github.com/Guuzzeji/Console-Against-Humans","commit_stats":null,"previous_names":["guuzzeji/console-against-humans"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guuzzeji/Console-Against-Humans","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuzzeji%2FConsole-Against-Humans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuzzeji%2FConsole-Against-Humans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuzzeji%2FConsole-Against-Humans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuzzeji%2FConsole-Against-Humans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guuzzeji","download_url":"https://codeload.github.com/Guuzzeji/Console-Against-Humans/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guuzzeji%2FConsole-Against-Humans/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266813416,"owners_count":23988544,"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-07-24T02:00:09.469Z","response_time":99,"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":["game","nodejs","socket-io","webapp"],"created_at":"2024-11-12T06:26:48.940Z","updated_at":"2025-07-24T08:09:36.959Z","avatar_url":"https://github.com/Guuzzeji.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Console Against Humans \r\n\r\n## About\r\nConsole Against Humans is a web-console game that you can play with your friends. The goal of Console Against Humans is to make the most funniest answer to a prompt. Console Against Humans uses [Node.js](https://nodejs.org/) and [Socket.io](https://socket.io) with a really basic web frontend. \r\n\r\n\r\n## Setup\r\n- Download Node js and setup Node js if you don't have it already \r\n- Clone this github repo (Dowload the code)\r\n- Open a terminal or command prompt and cd into the repo folder\r\n- Run 'npm install' to get all the packages for this project\r\n- Open the config.json file and make sure you have PORT and Public set to what you want, save it then close it \r\n- Using the terminal or command prompt do 'npm start' to start the game\r\n- Then copy the url from the terminal or command prompt and send it to your friends\r\n\u003e **Note:** Public options in the config.json allows you to play the game with people who are not on the same network as you.\r\n\r\n\r\n## How to Play\r\n\u003e **Note:** The game works kind of better if everyone is in a call using something like discord. Also put quotation marks (ex: ' ' or \" \") around any text input and try to keep your answers short. All of this info is also on the web frontend. Press [f12] to open the console and read chat.\r\n\r\n*   **clear()**, clear console for you\r\n    \r\n*   **msg(' text input ')**, send a normal message to chat\r\n    \r\n*   **win(' socket id of player you picked (text input) ')**, if you are the text-reader then you use win() to pick the best answer to a prompt\r\n    \r\n*   **answer(' text input ')**, if you are NOT the text-reader use this function. Note: if the prompt has more then one answer, please label your answer using numbers, ex: (1) example text (2) example text\r\n    \r\n*   **score()**, gives you back the score of each player\r\n    \r\n*   **list\\_player()**, gives you a list of all the players who have joined the game\r\n    \r\n*   **ideas()**, if you can't think of any ideas for an answer\r\n\r\n\r\n## Thanks\r\n**Big Thanks** to the creator of https://crhallberg.com/cah/ \r\n\r\n\r\n## Social \r\n\u003eReddit: [@Guuzzeji](https://www.reddit.com/user/guuzzeji) \r\n\r\n\u003eDiscord: [@Guuzzeji#2245](https://discordapp.com/users/2245/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguuzzeji%2Fconsole-against-humans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguuzzeji%2Fconsole-against-humans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguuzzeji%2Fconsole-against-humans/lists"}