Skip to content

Guuzzeji/Console-Against-Humans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console Against Humans

About

Console 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 and Socket.io with a really basic web frontend.

Setup

  • Download Node js and setup Node js if you don't have it already
  • Clone this github repo (Dowload the code)
  • Open a terminal or command prompt and cd into the repo folder
  • Run 'npm install' to get all the packages for this project
  • Open the config.json file and make sure you have PORT and Public set to what you want, save it then close it
  • Using the terminal or command prompt do 'npm start' to start the game
  • Then copy the url from the terminal or command prompt and send it to your friends

Note: Public options in the config.json allows you to play the game with people who are not on the same network as you.

How to Play

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.

  • clear(), clear console for you

  • msg(' text input '), send a normal message to chat

  • 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

  • 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

  • score(), gives you back the score of each player

  • list_player(), gives you a list of all the players who have joined the game

  • ideas(), if you can't think of any ideas for an answer

Thanks

Big Thanks to the creator of https://crhallberg.com/cah/

Social

Reddit: @Guuzzeji

Discord: @Guuzzeji#2245

About

Web-console based online game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published