Skip to content

Commit 5550f7e

Browse files
committed
4.0.4: unlocked hidden password -> discovered hidden secret word
1 parent 5136845 commit 5550f7e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Code-Tutor/agent.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"defaultTimezone": "America/New_York",
3535
"webhook": {
36-
"url": "https://us-central1-code-tutor-v2-nuyhew.cloudfunctions.net/dialogflowFirebaseFulfillment",
36+
"url": "https://us-central1-code-tutor-59988.cloudfunctions.net/dialogflowFirebaseFulfillment",
3737
"username": "",
3838
"headers": {},
3939
"available": true,

Code-Tutor/intents/1.5 sound effects.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"lang": "en",
3232
"condition": "",
3333
"textToSpeech": "",
34-
"ssml": "\u003cspeak\u003e\u003caudio src\u003d\"https://actions.google.com/sounds/v1/foley/hand_claps_medium.ogg\"\u003e\u003c/audio\u003eWhat\u0027s the password?\u003c/speak\u003e",
35-
"displayText": "What\u0027s the password?"
34+
"ssml": "\u003cspeak\u003e\u003caudio src\u003d\"https://actions.google.com/sounds/v1/foley/hand_claps_medium.ogg\"\u003e\u003c/audio\u003eWhat\u0027s the secret word?\u003c/speak\u003e",
35+
"displayText": "What\u0027s the secret word?"
3636
},
3737
{
3838
"type": 0,

Code-Tutor/intents/3.5.1 sound effects - unlock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"lang": "en",
2525
"condition": "",
2626
"textToSpeech": "",
27-
"ssml": "\u003cspeak\u003e\u003caudio src\u003d\"https://actions.google.com/sounds/v1/cartoon/wood_plank_flicks.ogg\"\u003e\u003c/audio\u003ePassword accepted. An \"if statement\" is like a lock. If you have the right key, then you can access other code. Would you like to continue?\u003c/speak\u003e",
28-
"displayText": "Password accepted. An \"if statement\" is like a lock. If you have the right key, then you can access other code. Would you like to continue?"
27+
"ssml": "\u003cspeak\u003e\u003caudio src\u003d\"https://actions.google.com/sounds/v1/cartoon/wood_plank_flicks.ogg\"\u003e\u003c/audio\u003eSecret word accepted. An \"if statement\" is like a lock. If you have the right key, then you can access other code. Would you like to continue?\u003c/speak\u003e",
28+
"displayText": "Secret word accepted. An \"if statement\" is like a lock. If you have the right key, then you can access other code. Would you like to continue?"
2929
},
3030
{
3131
"type": "basic_card",

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ app.intent('3.4.3 loop - run code', function loopRun(conv) {
201201

202202
let say = (what + ' ').repeat(times);
203203
conv.ask(say);
204-
conv.ask(`<speak><audio src="https://actions.google.com/sounds/v1/sports/bowling_strike.ogg"></audio>Congrats! You created a loop. You also unlocked a hidden password: "chicken nuggets". What would you like to try next? Another loop? Or a variable? Or play with sound effects?</speak>`);
204+
conv.ask(`<speak><audio src="https://actions.google.com/sounds/v1/sports/bowling_strike.ogg"></audio>Congrats! You created a loop. You also discovered a hidden secret word: "chicken nuggets". What would you like to try next? Another loop? Or a variable? Or play with sound effects?</speak>`);
205205
conv.ask(new Suggestions(['another loop', 'a variable', 'play with sound effects']));
206206
});
207207

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dialogflowFirebaseFulfillment",
33
"description": "This is Code Tutor's fulfillment using Cloud Functions for Firebase",
4-
"version": "4.0.2",
4+
"version": "4.0.4",
55
"private": true,
66
"license": "Apache Version 2.0",
77
"author": "Howard Chiam (unless someone forked this project)",

0 commit comments

Comments
 (0)