--- id: 5dbbb1466ef5fe3a704f849c title: Part 134 challengeType: 0 dashedName: part-134 --- # --description-- The only thing left to add is a mini-game easter egg (a hidden feature). Add a new function called `easterEgg` that calls the `update` function and passes in `locations[7]` as an argument. # --hints-- See description above for instructions. ```js assert( easterEgg .toString() .replace(/\s/g, '') .match(/functioneasterEgg\(\)\{(return)?update\(locations\[7\]\)\;?}/) ); ``` # --seed-- ## --before-user-code-- ```html RPG - Dragon Repeller
XP: 0 Health: 100 Gold: 50
Monster Name: Health:
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```