1const gameTitles = new Map([ 2 ["would_you_rather", "Would You Rather"], 3 ["draw_it", "Draw It"], 4 ["trivia", "Trivia"], 5 ["guided_meditation", "Guided meditation"], 6 ["describe_it", "Describe It"], 7 ["question_of_the_day", "Q of the Day"], 8 ["werewolf_game", "Werewolf"], 9 ["two_words_game", "Mimic"], 10 ["charades", "Charades"], 11 ["draw_tell", "Draw & Tell"], 12 ["one_to_hundred", "1 to 100"], 13 ["yes_or_no", "Yes or No"], 14 ["spot_my_lie", "Spot My Lie"], 15 ["hearts_game", "Hearts"], 16 ["rummy_game", "Rummy"], 17 ["gin_rummy_game", "Gin Rummy"], 18 ["funny_or_not", "Funny or Not"], 19 ["poll", "Super Poll"], 20]); 21 22const gameUrlName = new Map([ 23 ["would_you_rather", "would-you-rather"], 24 ["draw_it", "draw-it"], 25 ["trivia", "trivia"], 26 ["guided_meditation", "guided-meditation"], 27 ["describe_it", "describe-it"], 28 ["question_of_the_day", "q-of-the-day"], 29 ["werewolf_game", "werewolf"], 30 ["two_words_game", "mimic"], 31 ["charades", "charades"], 32 ["draw_tell", "draw-and-tell"], 33 ["one_to_hundred", "one-to-hundred"], 34 ["yes_or_no", "yes-or-no"], 35 ["spot_my_lie", "spot-my-lie"], 36 ["hearts_game", "hearts"], 37 ["rummy_game", "rummy"], 38 ["gin_rummy_game", "gin-rummy"], 39 ["funny_or_not", "funny-or-not"], 40 ["poll", "poll"] 41]); 42 43const gameDescription = new Map([ 44 [ 45 "would_you_rather", 46 "The classic question game that stretches your imagination with outlandish hypothetical scenarios. There are no right or wrong answers.", 47 ], 48 [ 49 "draw_it", 50 "A fast paced guessing game that puts your artistic talents to the test. Doodles, stick figures and sense of humor are also welcome.", 51 ], 52 [ 53 "trivia", 54 "Put your general knowledge to the test and battle it out to see who will be crowned King or Queen of Trivia. No Googling!", 55 ], 56 [ 57 "guided_meditation", 58 "Find your inner calm with guided breathing and visualization exercises. Remove distractions and focus on your most important tasks.", 59 ], 60 [ 61 "describe_it", 62 "Ever have a word that's been stuck on the tip of your tongue? Describe It is a game where you're allowed to say anything except the word itself.", 63 ], 64 [ 65 "question_of_the_day", 66 "Get to know people better by asking them a thought provoking ice breaker question. Share your life experience, funny anecdotes or completely wild imagination!", 67 ], 68 [ 69 "werewolf_game", 70 "A social deduction game that will keep you guessing. Survive through the night as a villager or become a silent killer. Will you find the werewolf before it's too late?", 71 ], 72 [ 73 "two_words_game", 74 "In a game of wit and deception, itâs a race to either decipher the secret word or figure out who is the Mimic!", 75 ], 76 [ 77 "charades", 78 "Act out the word you are given, without saying what it is. It's up to the rest to deduce what the word is! A classic team game favorite.", 79 ], 80 [ 81 "draw_tell", 82 "Unleash your inner artist and express yourself using drawings. Perfect for getting to know each other in a fun and creative way.", 83 ], 84 [ 85 "one_to_hundred", 86 "Score points by working as a team to correctly rank clues from smallest to largest.", 87 ], 88 [ 89 "yes_or_no", 90 "Be the first to guess the secret word correctly by asking the right yes or no questions.", 91 ], 92 [ 93 "spot_my_lie", 94 "Give three answers to a question about yourself. The twist is that one of those questions will be completely false. Pick the lie and trick others.", 95 ], 96 [ 97 "hearts_game", 98 "A game of skill and surprising subtleties. Avoid taking tricks that contain hearts.", 99 ], 100 [ 101 "rummy_game", 102 "One of the best-known card games. Be the first to get rid of all your cards by creating melds.", 103 ], 104 [ 105 "gin_rummy_game", 106 "Collect cards into melds and have as little deadwood as possible at the end of a game.", 107 ], 108 [ 109 "funny_or_not", 110 "The game that seeks to answer: whoâs the audience favourite? Pit your answer to a prompt against anotherâs, and see which one is voted the best one.", 111 ], 112 [ 113 "poll", 114 "Vote on various opinions on interesting and fun topics - then see what everyone else has to say!", 115 ], 116]); 117 118const gameRecommendedPlayers = new Map([ 119 ["would_you_rather", "2 - 25 recommended"], 120 ["draw_it", "2 - 50 recommended"], 121 ["trivia", "2 - 50 recommended"],
122 ["guided_meditation", "2 - 10 recommended"], 123 ["describe_it", "3 - 25 recommended"], 124 ["question_of_the_day", "2 - 10 recommended"], 125 ["werewolf_game", "8 - 16 recommended (Min. 6)"], 126 ["two_words_game", "6 - 12 recommended (Min. 4)"], 127 ["charades", "3 - 25 recommended"], 128 ["draw_tell", "2 - 10 recommended"], 129 ["one_to_hundred", "3 to 8 recommended"], 130 ["yes_or_no", "3 - 10 recommended"], 131 ["spot_my_lie", "3 - 10 recommended"], 132 ["hearts_game", "3 - 5"], 133 ["rummy_game", "2 - 5"], 134 ["gin_rummy_game", "2"], 135 ["funny_or_not", "3 - 8 recommended (Min. 3)"], 136 ["poll", "5 to 25 recommended"], 137]); 138 139const gameIcons = new Map([ 140 ["would_you_rather", "would-you-rather"], 141 ["draw_it", "draw-it"], 142 ["trivia", "trivia"], 143 ["guided_meditation", "guided-meditation"], 144 ["describe_it", "describe-it"], 145 ["question_of_the_day", "q-of-the-day"], 146 ["werewolf_game", "werewolf-game"], 147 ["two_words_game", "mimic"], 148 ["charades", "charades"], 149 ["draw_tell", "draw-and-tell"], 150 ["one_to_hundred", "one-to-hundred"], 151 ["yes_or_no", "yes-or-no"], 152 ["spot_my_lie", "spot-my-lie"], 153 ["hearts_game", "heart"], 154 ["rummy_game", "rummy"], 155 ["gin_rummy_game", "gin-rummy"], 156 ["funny_or_not", "funny-or-not"], 157 ["poll", "poll"], 158]); 159 160const gameGifs = new Map([ 161 ["would_you_rather", "would-u-rather"], 162 ["draw_it", "draw-it"], 163 ["trivia", "trivia"], 164 // ["guided_meditation", "guided-meditation"], 165 // ["describe_it", "describe-it"], 166 // ["question_of_the_day", "q-of-the-day"], 167 // ["werewolf_game", "werewolf-game"], 168 // ["two_words_game", "mimic"], 169 ["charades", "charades"], 170 // ["draw_tell", "draw-and-tell"], 171 // ["one_to_hundred", "one-to-hundred"], 172 // ["yes_or_no", "yes-or-no"], 173 // ["spot_my_lie", "spot-my-lie"], 174 // ["hearts_game", "heart"], 175 // ["rummy_game", "rummy"], 176 // ["gin_rummy_game", "gin-rummy"], 177]); 178 179const gameTypes = [ 180 "would_you_rather", 181 "draw_it", 182 "trivia", 183 "guided_meditation", 184 "describe_it", 185 "question_of_the_day", 186 "werewolf_game", 187 "two_words_game", 188 "charades", 189 "draw_tell", 190 "one_to_hundred", 191 "yes_or_no", 192 "spot_my_lie", 193 "hearts_game", 194 "rummy_game", 195 "gin_rummy_game", 196 "funny_or_not", 197 "poll" 198]; 199 200const customGameTypes = [ 201 "would_you_rather", 202 "draw_it", 203 "trivia", 204 "describe_it", 205 "question_of_the_day", 206 "two_words_game", 207 "charades", 208 "draw_tell", 209 "one_to_hundred", 210 "spot_my_lie", 211 "poll" 212]; 213 214const customGameTitles = [ 215 "Would You Rather", 216 "Draw It", 217 "Trivia", 218 "Describe It", 219 "Q of the Day", 220 "Mimic", 221 "Charades", 222 "Draw & Tell", 223 "1 to 100", 224 "Spot My Lie", 225 "Super Poll" 226]; 227 228const conversationalGamesTypes = [ 229 "would_you_rather", 230 "question_of_the_day", 231 "werewolf_game", 232 "draw_tell", 233 "yes_or_no", 234 "spot_my_lie", 235 "funny_or_not", 236 "poll" 237]; 238 239const fastPacedGamesTypes = [ 240 "draw_it", 241 "trivia", 242 "describe_it", 243 "charades", 244 "one_to_hundred", 245 "yes_or_no", 246]; 247 248const gameGifTypes = [ 249 "would_you_rather", 250 "draw_it", 251 "trivia", 252 "charades", 253]; 254 255const socialGamesTypes = ["werewolf_game", "two_words_game", "one_to_hundred"]; 256 257const cardGamesTypes = ["hearts_game", "rummy_game", "gin_rummy_game"]; 258 259const mentalHealthTypes = ["guided_meditation"]; 260 261function getGameTitleByType(type) { 262 return gameTitles.get(type); 263} 264 265function getGameDescriptionByType(type) { 266 return gameDescription.get(type); 267} 268 269function getGameRecommendedPlayersByType(type) { 270 return gameRecommendedPlayers.get(type); 271} 272 273function getGameIconsByType(type) { 274 return gameIcons.get(type); 275} 276 277function getGameGifsByType(type) { 278 return gameGifs.get(type); 279} 280 281function onSelectIndividualGame(type) { 282 const game = gameUrlName.get(type); 283 if (isPlayground) 284 return (location.href = `http://localhost:2368/games/${game}`); 285 else if (isDev) 286 return (location.href = `https://www.orric.app/games/${game}`); 287 else return (location.href = `https://www.brightful.me/games/${game}`); 288} 289 290// $("#how_to_play_would_you_rather_modal").on("shown.bs.modal", function (e) { 291// amplitudeEvent("previewGame", { 292// game: "would_you_rather", 293// version: "regular", 294// eventTime: new Date(Date.now()).toISOString(), 295// }); 296// }); 297// $("#how_to_play_draw_it_modal").on("shown.bs.modal", function (e) { 298// amplitudeEvent("previewGame", { 299// game: "draw_it", 300// version: "regular", 301// eventTime: new Date(Date.now()).toISOString(), 302// }); 303// }); 304// $("#how_to_play_two_words_game_modal").on("shown.bs.modal", function (e) { 305// amplitudeEvent("previewGame", { 306// game: "two_words_game", 307// version: "regular", 308// eventTime: new Date(Date.now()).toISOString(), 309// }); 310// }); 311// $("#how_to_play_draw_tell_modal").on("shown.bs.modal", function (e) { 312// amplitudeEvent("previewGame", { 313// game: "draw_tell", 314// version: "regular", 315// eventTime: new Date(Date.now()).toISOString(), 316// }); 317// }); 318// $("#how_to_play_spot_my_lie_modal").on("shown.bs.modal", function (e) { 319// amplitudeEvent("previewGame", { 320// game: "spot_my_lie", 321// version: "regular", 322// eventTime: new Date(Date.now()).toISOString(), 323// }); 324// });
325// $("#how_to_play_describe_it_modal").on("shown.bs.modal", function (e) { 326// amplitudeEvent("previewGame", { 327// game: "describe_it", 328// version: "regular", 329// eventTime: new Date(Date.now()).toISOString(), 330// }); 331// }); 332// $("#how_to_play_question_of_the_day_modal").on("shown.bs.modal", function (e) { 333// amplitudeEvent("previewGame", { 334// game: "question_of_the_day", 335// version: "regular", 336// eventTime: new Date(Date.now()).toISOString(), 337// }); 338// }); 339// $("#how_to_play_trivia_modal").on("shown.bs.modal", function (e) { 340// amplitudeEvent("previewGame", { 341// game: "trivia", 342// version: "regular", 343// eventTime: new Date(Date.now()).toISOString(), 344// }); 345// }); 346// $("#how_to_play_gin_rummy_modal").on("shown.bs.modal", function (e) { 347// amplitudeEvent("previewGame", { 348// game: "gin_rummy_game", 349// version: "regular", 350// eventTime: new Date(Date.now()).toISOString(), 351// }); 352// }); 353// $("#how_to_play_rummy_modal").on("shown.bs.modal", function (e) { 354// amplitudeEvent("previewGame", { 355// game: "rummy_game", 356// version: "regular", 357// eventTime: new Date(Date.now()).toISOString(), 358// }); 359// }); 360// $("#how_to_play_hearts_modal").on("shown.bs.modal", function (e) { 361// amplitudeEvent("previewGame", { 362// game: "hearts_game", 363// version: "regular", 364// eventTime: new Date(Date.now()).toISOString(), 365// }); 366// }); 367// $("#how_to_play_werewolf_modal").on("shown.bs.modal", function (e) { 368// amplitudeEvent("previewGame", { 369// game: "werewolf_game", 370// version: "regular", 371// eventTime: new Date(Date.now()).toISOString(), 372// }); 373// }); 374// $("#how_to_play_guided_meditation_modal").on("shown.bs.modal", function (e) { 375// amplitudeEvent("previewGame", { 376// game: "guided_meditation", 377// version: "regular", 378// eventTime: new Date(Date.now()).toISOString(), 379// }); 380// }); 381// $("#how_to_play_one_to_hundred_modal").on("shown.bs.modal", function (e) { 382// amplitudeEvent("previewGame", { 383// game: "one_to_hundred", 384// version: "regular", 385// eventTime: new Date(Date.now()).toISOString(), 386// }); 387// }); 388// $("#how_to_play_yes_or_no_modal").on("shown.bs.modal", function (e) { 389// amplitudeEvent("previewGame", { 390// game: "yes_or_no", 391// version: "regular", 392// eventTime: new Date(Date.now()).toISOString(), 393// }); 394// });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.