Skip to content

Commit

Permalink
4.0.4: unlocked hidden password -> discovered hidden secret word
Browse files Browse the repository at this point in the history
  • Loading branch information
hchiam committed Dec 11, 2019
1 parent 5136845 commit 5550f7e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Code-Tutor/agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"defaultTimezone": "America/New_York",
"webhook": {
"url": "https://us-central1-code-tutor-v2-nuyhew.cloudfunctions.net/dialogflowFirebaseFulfillment",
"url": "https://us-central1-code-tutor-59988.cloudfunctions.net/dialogflowFirebaseFulfillment",
"username": "",
"headers": {},
"available": true,
Expand Down
4 changes: 2 additions & 2 deletions Code-Tutor/intents/1.5 sound effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"lang": "en",
"condition": "",
"textToSpeech": "",
"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",
"displayText": "What\u0027s the password?"
"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",
"displayText": "What\u0027s the secret word?"
},
{
"type": 0,
Expand Down
4 changes: 2 additions & 2 deletions Code-Tutor/intents/3.5.1 sound effects - unlock.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"lang": "en",
"condition": "",
"textToSpeech": "",
"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",
"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?"
"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",
"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?"
},
{
"type": "basic_card",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ app.intent('3.4.3 loop - run code', function loopRun(conv) {

let say = (what + ' ').repeat(times);
conv.ask(say);
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>`);
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>`);
conv.ask(new Suggestions(['another loop', 'a variable', 'play with sound effects']));
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dialogflowFirebaseFulfillment",
"description": "This is Code Tutor's fulfillment using Cloud Functions for Firebase",
"version": "4.0.2",
"version": "4.0.4",
"private": true,
"license": "Apache Version 2.0",
"author": "Howard Chiam (unless someone forked this project)",
Expand Down

1 comment on commit 5550f7e

@hchiam
Copy link
Owner Author

@hchiam hchiam commented on 5550f7e Dec 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To address tester/reviewer feedback.

Please sign in to comment.