--- id: 5d71ed88f27e5122af9f117b title: Part 89 challengeType: 0 dashedName: part-89 --- # --description-- Add a new object in the `locations` array with all the same properties as the other objects in the array. Set `name` to "fight". Set `"button text"` to `["Attack", "Dodge", "Run"]`. Set `"button functions"` to `[attack, dodge, goTown]`. And set `text` to "You are fighting a monster.". # --hints-- See description above for instructions. ```js assert.deepStrictEqual(locations[3], { name: 'fight', 'button text': ['Attack', 'Dodge', 'Run'], 'button functions': [attack, dodge, goTown], text: 'You are fighting a monster.' }); ``` # --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 ```