Loaded questions game free7/1/2023 ![]() ![]() You can see several more examples of questions with this random feature in hubot-loaded-questions' res/base_questions.json file. Note that strange-lookin' question object in there. Loaded Questions will find those extra questions and add 'em to the mix! Hubot will ask each question once at random, then shuffle the full list again. Here's an example of what that might look like: This allows you to add those questions your friends keep asking you to add. More can be added by creating a loaded_questions.json file in the res/ directory at the root of your Hubot project. Loaded Questions comes with a default set of 300 questions. Default is true, but you'll need to play a full round (get through all the questions!) before these start showing up. HUBOT_INCLUDE_RANDOM_ANSWER - whether or not to include a random answer from last round as hubot's answer.HUBOT_LOADED_QUESTIONS_TIMEOUT - how many minutes to wait during the countdown before the round ends.HUBOT_LOADED_QUESTIONS_SKIPNUM - how many users must agree to skip a question before it is skipped.HUBOT_LOADED_QUESTIONS_QUORUM - how many answers to wait for before triggering a countdown to end the round.By default, Hubot will save the ID of the room that it first hears !loadquestion in. HUBOT_LOADED_QUESTIONS_ROOM - which channel name or ID to post messages to (this game can be a little spammy, so it's best to have a dedicated room).Loaded Questions has these configurable values: Once all the answers are guessed, Hubot will wait patiently for the next round!Īfter playing for a while, you can see stats for the game by saying !lqstats, or stats for individual players by saying !lqstats.You can re-print the answers list to see which answers have been guessed so far (or because the list has scrolled way off the screen) by saying !printanswers.As each answer is guessed, Hubot will let you know if you guessed correctly or incorrectly.Users can then optionally guess who submitted each answer by saying !guessanswer or !ga followed by their guess.To guess who submitted an answer, say `!guessanswer `. ![]() Players whose answers haven't been guessed: *user2*, *user1*, *user6*, *user4*, *user5*, *user3*. > *6.* curing diseases for a nominal fee (paid directly to me) > *3.* A "receive call" feature would be sweet. > *2.* send scheduled text messages to my parents There were 6 answers submitted for _"If you could add one feature to your cell phone, what would it be?"_: ![]()
0 Comments
Leave a Reply. |