diff --git a/lambda/custom/config/messages.js b/lambda/custom/config/messages.js index c65d293..1983b67 100644 --- a/lambda/custom/config/messages.js +++ b/lambda/custom/config/messages.js @@ -13,8 +13,8 @@ const questions = require('./questions'); const settings = require('./settings'); -const GAME_TITLE = 'Better with Buttons Trivia'; -const GAME_TITLE_GERMAN = 'Besser mit Buttons Trivia'; +const GAME_TITLE = '2 B A Master'; +const GAME_TITLE_GERMAN = '2 B A Meister'; const messages = { en: { @@ -25,7 +25,7 @@ const messages = { 'What would you like to do? ', reprompt: "Sorry, I didn't catch that, what would you like to do next?", displayTitle: GAME_TITLE + ' - Help', - displayText: 'This is a trivia game for the Echo Buttons. ' + + displayText: 'This is a Pokémon trivia game for the Echo Buttons. ' + 'To get started just ask me to play a game.' }, 'UNHANDLED_REQUEST': { @@ -42,32 +42,32 @@ const messages = { // 'START_GAME': { outputSpeech: "Welcome to " + GAME_TITLE + ". This game supports up to " + - settings.GAME.MAX_PLAYERS + " players. " + - "How many players are there?", - reprompt: "How many players?", + settings.GAME.MAX_PLAYERS + " trainers. " + + "How many trainers are there?", + reprompt: "How many trainers?", displayTitle: GAME_TITLE + " - Welcome", displayText: "Welcome to " + GAME_TITLE + ". This game supports up to " + - settings.GAME.MAX_PLAYERS + " players." + settings.GAME.MAX_PLAYERS + " trainers." }, 'RESUME_GAME': { outputSpeech: 'Ok, we will pick up where you left off. ' + - 'How many players will be playing?', - reprompt: 'How many players?', + 'How many trainers will be playing?', + reprompt: 'How many trainers?', displayTitle: GAME_TITLE + " - Welcome", displayText: "Welcome back!" }, 'DONT_RESUME_GAME': { - outputSpeech: 'Ok, lets start a new game. How many players will be playing?', - reprompt: 'How many players?', + outputSpeech: 'Ok, lets start a new game. How many trainers will be playing?', + reprompt: 'How many trainers?', displayTitle: GAME_TITLE + " - Welcome", displayText: "Ok. Let's start a new game!" }, 'ASK_TO_RESUME': { - outputSpeech: "It looks like you have a {{player_count}} player game in progress, " + + outputSpeech: "It looks like you have a {{player_count}} trainer game in progress, " + "would you like to resume?", reprompt: 'Would you like to resume the last game?', displayTitle: GAME_TITLE + " - Welcome", - displayText: "You have a {{player_count}} player game in progress." + displayText: "You have a {{player_count}} trainer game in progress." }, 'PLAYERCOUNT_INVALID': { outputSpeech: 'Please say a number between one and ' + settings.GAME.MAX_PLAYERS, @@ -85,43 +85,43 @@ const messages = { // 'ROLL_CALL_HELP': { outputSpeech: 'This is a trivia game for Echo Buttons. ' + - 'In order to play the game, each player must check in by ' + + 'In order to play the game, each trainer must check in by ' + 'pressing an Echo Button. Would you like to continue and ' + - 'check players in for the game?', + 'check trainers in for the game?', reprompt: "Sorry, I didn't catch that, what would you like to do next?", displayTitle: GAME_TITLE + ' - Help', - displayText: 'In order to play the game, each player must check in by ' + + displayText: 'In order to play the game, each trainer must check in by ' + 'pressing an Echo Button. Would you like to continue?' }, 'ROLL_CALL_CONTINUE': { - outputSpeech: "Ok. Players, press your buttons now, " + + outputSpeech: "Ok. trainers, press your buttons now, " + "so I'll know which buttons you will be using.", displayTitle: GAME_TITLE + " - Welcome", - displayText: "To resume the game, each player, please press your button once!" + displayText: "To resume the game, each trainer, please press your button once!" }, 'ROLL_CALL_TIME_OUT': { outputSpeech: "uh oh, " + - "looks like times up and I haven't heard from all players. " + + "looks like times up and I haven't heard from all trainers. " + "Did you want to continue?", reprompt: "should we continue?" }, 'ROLL_CALL_RESUME_GAME': { - outputSpeech: "To resume the game, each player, please press your button once!", + outputSpeech: "To resume the game, each trainer, please press your button once!", displayTitle: GAME_TITLE + " - Welcome", - displayText: "To resume the game, each player, please press your button once!" + displayText: "To resume the game, each trainer, please press your button once!" }, 'ROLL_CALL_COMPLETE': { outputSpeech: ["Great! We can start the game. Are you ready?", - "Awesome. All players registered. Are you ready to start the game?"], + "Awesome. All trainers registered. Are you ready to start the game?"], reprompt: "Ready to start the game?", displayTitle: GAME_TITLE + " - Welcome", displayText: "Are you ready to start the game?" }, 'ROLL_CALL_HELLO_PLAYER': { - outputSpeech: "Hello, player {{player_number}}. " + outputSpeech: "Hello, trainer {{player_number}}. " }, 'ROLL_CALL_NEXT_PLAYER_PROMPT': { - outputSpeech: "Ok, your turn Player {{player_number}}, press your button." + outputSpeech: "Ok, your turn trainer {{player_number}}, press your button." }, // @@ -164,17 +164,17 @@ const messages = { reprompt: "Would you like to keep playing?" }, 'BUZZ_IN_DURING_PLAY': { - outputSpeech: "Ok, player {{player_number}}, what's the answer?", - reprompt: "Player {{player_number}}, are you there?" + outputSpeech: "Ok, trainer {{player_number}}, what's the answer?", + reprompt: "trainer {{player_number}}, are you there?" }, 'CORRECT_ANSWER_DURING_PLAY': { - outputSpeech: "Correct! Great job player {{player_number}}." + outputSpeech: "Correct! Great job trainer {{player_number}}." }, 'INCORRECT_ANSWER_DURING_PLAY': { - outputSpeech: "Sorry, wrong answer player {{player_number}}." + outputSpeech: "Sorry, wrong answer trainer {{player_number}}." }, 'INCORRECT_ANSWER_TOO_MANY_TIMES': { - outputSpeech: "Sorry, wrong answer player {{player_number}}. " + + outputSpeech: "Sorry, wrong answer trainer {{player_number}}. " + "Let's try another question." }, 'SINGLE_PLAYER_CORRECT_ANSWER_DURING_PLAY': { @@ -203,13 +203,13 @@ const messages = { displayTitle: GAME_TITLE + " - Question {{question_number}}" }, 'ANSWER_QUESTION_CORRECT_DISPLAY': { - displayTitle: GAME_TITLE + " - Player {{player_number}}", + displayTitle: GAME_TITLE + " - trainer {{player_number}}", displayText: ["Great job! That's right.", "Awesome! That's the answer.", "Correct! You got it."] }, 'ANSWER_QUESTION_INCORRECT_DISPLAY': { - displayTitle: GAME_TITLE + " - Player {{player_number}}", + displayTitle: GAME_TITLE + " - trainer {{player_number}}", displayText: ["Opps! That's not right.", "Oh no! That's not the answer.", "No, that's not it!"] diff --git a/lambda/custom/config/questions.js b/lambda/custom/config/questions.js index dfab3f3..34116e9 100644 --- a/lambda/custom/config/questions.js +++ b/lambda/custom/config/questions.js @@ -49,188 +49,115 @@ module.exports = Object.freeze({ questions_en_US: [ { index: 1, - question: 'What is the name for a group of lions?', - answers: ['pack', 'pride', 'den', 'frat'], - correct_answer: 'pride' + question: 'In Pokémon Yellow, what does Pikachu do throughout the entire game?', + answers: ['Paints your toenails', 'Zaps things with electricity', 'Tags along with you', 'Keeps trading you for other Trainers'], + correct_answer: 'Tags along with you' }, { - index: 2, - question: 'What is the only type of bear native to South America?', - answers: ['brown bear', 'kodiac', 'giant panda', 'spectacled bear'], - correct_answer: 'spectacled bear' + index: 2, + question: 'Where’s the best place to encounter wild Pokémon?', + answers: ['In tall grass', 'At the Pokémon League', 'Inside a Gym', 'In the zoo'], + correct_answer: 'In tall grass' }, { index: 3, - question: 'What type of animal is a seahorse?', - answers: ['crustacean', 'arachnid', 'fish', 'shell'], - correct_answer: 'fish' + question: 'What can you do to make Pikachu really, really happy in Pokémon Red, Pokémon Blue, and Pokémon Yellow?', + answers: ['Feed it!', 'Talk to it!', 'Use it to win in battle!', 'Give it a toy!'], + correct_answer: 'Use it to win in battle!' }, { index: 4, - question: 'What color are zebras?', - answers: ['white with black stripes', 'black with white stripes'], - correct_answer: 'black with white stripes' + question: 'What’s the name of the building where you take your Pokémon to get healed?', + answers: ['Pokémon Disco', 'Pokémon Emergency Clinic', 'Pokémon Hot Springs', 'Pokémon Center'], + correct_answer: 'Pokémon Center' }, { index: 5, - question: 'What is the fastest water animal?', - answers: ['porpoise', 'sailfish', 'flying fish', 'tuna'], - correct_answer: 'sailfish' + question: 'What makes Lt. Surge such a tough opponent?', + answers: ['He has awesome hair', 'He’s a Pokémon Gym Leader', 'He has a great sense of style', 'He has a photographic memory'], + correct_answer: 'He’s a Pokémon Gym Leader' }, { index: 6, - question: 'What is the only venomous snake found in Britain?', - answers: ['cobra', 'coral snake', 'copperhead', 'adder'], - correct_answer: 'adder' + question: 'How can a Pokémon evolve?', + answers: ['Level it up', 'Trade it with a friend', 'Give it a specific item', 'All of the above'], + correct_answer: 'All of the above' + } + ], + questions_en_GB: [ + { + index: 1, + question: 'In Pokémon Yellow, what does Pikachu do throughout the entire game?', + answers: ['Paints your toenails', 'Zaps things with electricity', 'Tags along with you', 'Keeps trading you for other Trainers'], + correct_answer: 'Tags along with you' }, { - index: 7, - question: 'What is a female donkey called?', - answers: ['joey', 'jenny', 'janet'], - correct_answer: 'jenny' + index: 2, + question: 'Where’s the best place to encounter wild Pokémon?', + answers: ['In tall grass', 'At the Pokémon League', 'Inside a Gym', 'In the zoo'], + correct_answer: 'In tall grass' }, { - index: 8, - question: 'What land mammal other than man has the longest lifespan?', - answers: ['blue whale', 'dolphin', 'elephant', 'orangutan'], - correct_answer: 'elephant' + index: 3, + question: 'What can you do to make Pikachu really, really happy in Pokémon Red, Pokémon Blue, and Pokémon Yellow?', + answers: ['Feed it!', 'Talk to it!', 'Use it to win in battle!', 'Give it a toy!'], + correct_answer: 'Use it to win in battle!' }, { - index: 9, - question: 'Eskimos call what kind of creature a nanook?', - answers: ['penguin', 'narwhal', 'polar bear', 'caribou'], - correct_answer: 'polar bear' + index: 4, + question: 'What’s the name of the building where you take your Pokémon to get healed?', + answers: ['Pokémon Disco', 'Pokémon Emergency Clinic', 'Pokémon Hot Springs', 'Pokémon Center'], + correct_answer: 'Pokémon Center' }, { - index: 10, - question: 'Lupus is the Latin name for what animal?', - answers: ['dog', 'cat', 'wolf', 'fox'], - correct_answer: 'wolf' + index: 5, + question: 'What makes Lt. Surge such a tough opponent?', + answers: ['He has awesome hair', 'He’s a Pokémon Gym Leader', 'He has a great sense of style', 'He has a photographic memory'], + correct_answer: 'He’s a Pokémon Gym Leader' + }, + { + index: 6, + question: 'How can a Pokémon evolve?', + answers: ['Level it up', 'Trade it with a friend', 'Give it a specific item', 'All of the above'], + correct_answer: 'All of the above' } - ], - questions_en_GB: [ - { - index: 1, - question: 'What is the name for a group of lions?', - answers: ['pack', 'pride', 'den', 'frat'], - correct_answer: 'pride' - }, - { - index: 2, - question: 'What is the only type of bear native to South America?', - answers: ['brown bear', 'kodiac', 'giant panda', 'spectacled bear'], - correct_answer: 'spectacled bear' - }, - { - index: 3, - question: 'What type of animal is a seahorse?', - answers: ['crustacean', 'arachnid', 'fish', 'shell'], - correct_answer: 'fish' - }, - { - index: 4, - question: 'What color are zebras?', - answers: ['white with black stripes', 'black with white stripes'], - correct_answer: 'black with white stripes' - }, - { - index: 5, - question: 'What is the fastest water animal?', - answers: ['porpoise', 'sailfish', 'flying fish', 'tuna'], - correct_answer: 'sailfish' - }, - { - index: 6, - question: 'What is the only venomous snake found in Britain?', - answers: ['cobra', 'coral snake', 'copperhead', 'adder'], - correct_answer: 'adder' - }, - { - index: 7, - question: 'What is a female donkey called?', - answers: ['joey', 'jenny', 'janet'], - correct_answer: 'jenny' - }, - { - index: 8, - question: 'What land mammal other than man has the longest lifespan?', - answers: ['blue whale', 'dolphin', 'elephant', 'orangutan'], - correct_answer: 'elephant' - }, - { - index: 9, - question: 'Eskimos call what kind of creature a nanook?', - answers: ['penguin', 'narwhal', 'polar bear', 'caribou'], - correct_answer: 'polar bear' - }, - { - index: 10, - question: 'Lupus is the Latin name for what animal?', - answers: ['dog', 'cat', 'wolf', 'fox'], - correct_answer: 'wolf' - } - ], - questions_de_DE: [ - { - index: 1, - question: 'Wie wird eine Gruppe von Löwen genannt?', - answers: ['Rotte', 'Rudel', 'Schule', 'Meute'], - correct_answer: 'Rudel' - }, - { - index: 2, - question: 'Welches ist die einzige aus Südamerika stammende Bärenart?', - answers: ['Braunbär', 'Kodiakbär', 'Riesenpanda', 'Brillenbär'], - correct_answer: 'Brillenbär' - }, - { - index: 3, - question: 'Was für eine Art Tier ist ein Seepferdchen?', - answers: ['Krustentier', 'Spinnentier', 'Fisch', 'Muschel'], - correct_answer: 'Fisch' - }, - { - index: 4, - question: 'Welche Farbe haben Zebras?', - answers: ['Weiß mit schwarzen Streifen', 'Schwarz mit weißen Streifen'], - correct_answer: 'Schwarz mit weißen Streifen' - }, - { - index: 5, - question: 'Was ist das schnellste Wassertier?', - answers: ['Schweinswal', 'Fächerfisch', 'Fliegender Fisch', 'Thunfisch'], - correct_answer: 'Fächerfisch' - }, - { - index: 6, - question: 'Welches ist die einzige giftige Schlange in Großbritannien?', - answers: ['Kobra', 'Korallenschlange', 'Mokassinschlange', 'Kreuzotter'], - correct_answer: 'Kreuzotter' - }, - { - index: 7, - question: 'Was ist der Name eines berühmten männlichen Eisbären?', - answers: ['Sven', 'Knut', 'Olaf'], - correct_answer: 'Knut' - }, - { - index: 8, - question: 'Welches Landsäugetier hat abgesehen vom Menschen die längste Lebensdauer?', - answers: ['Blauwal', 'Delfin', 'Elefant', 'Orang-Utan'], - correct_answer: 'Elefant' - }, - { - index: 9, - question: 'Welches Tier bezeichnen die Eskimos als Nanook?', - answers: ['Pinguin', 'Narwal', 'Eisbär', 'Karibu'], - correct_answer: 'Eisbär' - }, - { - index: 10, - question: 'Lupus ist der lateinische Name für welches Tier?', - answers: ['Hund', 'Katze', 'Wolf', 'Fuchs'], - correct_answer: 'Wolf' - } -] + questions_de_DE: [ + { + index: 1, + question: 'Was macht Pikachu in Pokémon Yellow während des gesamten Spiels?', + answers: ['Malt deine Fußnägel', 'Zappt Dinge mit Strom', 'Tags zusammen mit dir', 'Hält dich für andere Trainer ein'], + correct_answer: 'Tags zusammen mit dir' + }, + { + index: 2, + question: 'Wo ist der beste Ort, um wilde Pokémon zu treffen?', + answers: ['In hohem Gras', 'In der Pokémon Liga', 'In einem Fitnessstudio', 'Im Zoo'], + correct_answer: 'In hohem Gras' + }, + { + index: 3, + question: 'Was können Sie tun, um Pikachu in Pokémon Red, Pokémon Blue und Pokémon Yellow wirklich, wirklich glücklich zu machen?', + answers: ['Füttere es!', 'Sprich damit!', 'Verwenden Sie es, um im Kampf zu gewinnen!', 'Gib ihm ein Spielzeug!'], + correct_answer: 'Verwenden Sie es, um im Kampf zu gewinnen!' + }, + { + index: 4, + question: 'Wie heißt das Gebäude, in das Sie Ihr Pokémon bringen, um geheilt zu werden?', + answers: ['Disco-Pokémon', 'Pokémon-Notfallklinik', 'Heiße Quellen von Pokémon', 'Pokémon Center'], + correct_answer: 'Pokémon Center' + }, + { + index: 5, + question: 'Was macht Lt. Surge zu einem harten Gegner?', + answers: ['Er hat tolle Haare', 'Er ist ein Pokémon-Übungsleiter', 'Er hat einen großartigen Sinn für Stil', 'Er hat ein fotografisches Gedächtnis'], + correct_answer: 'Er ist ein Pokémon-Übungsleiter' + }, + { + index: 6, + question: 'Wie kann sich ein Pokémon entwickeln?', + answers: ['Nivelliere es', 'Tausche es mit einem Freund', 'Vergeben Sie einen bestimmten Artikel', 'Alles das oben Genannte'], + correct_answer: 'Alles das oben Genannte' + } + ] }); diff --git a/lambda/custom/config/settings.js b/lambda/custom/config/settings.js index 89aad36..066d993 100644 --- a/lambda/custom/config/settings.js +++ b/lambda/custom/config/settings.js @@ -47,7 +47,7 @@ module.exports = (function () { MAX_PLAYERS: 4, QUESTIONS_PER_GAME: 6, QUESTIONS_PER_ROUND: 2, - ANSWER_SIMILARITY: .60, + ANSWER_SIMILARITY: .30, MAX_ANSWERS_PER_QUESTION: 4, SHUFFLE_QUESTIONS: true, NOTIFY_CORRECT_ANSWER: true @@ -92,7 +92,7 @@ module.exports = (function () { */ const COLORS = Object.freeze({ // Color you want the buttons to be when expecting input - QUESTION_COLOR: 'purple', + QUESTION_COLOR: 'yellow', // Color you want the first button to chime in to be BUZZ_IN_COLOR: 'blue', // Color you want the other buttons who didn't chime in