--- id: 5d653c4d6e6bf7a6a27aa80c title: Part 16 challengeType: 0 --- ## Description
Create the `goStore` function to hold the code that runs whenever the player goes to the store. Here is an example of an empty function called `functionName` (Note the opening curly brace at the end of the first line and the closing curly brace on the second line): ```js function functionName() { } ```
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert(typeof goStore === 'function'); # testString: assert(code.match(/function goStore\s*\(\s*\)\s*\{\s*\}/)); # testString: assert.deepStrictEqual(typeof goStore, 'function'); ```
## Challenge Seed
```html ```
### Before Test
```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 Test
```html ```
## Solution
```html ```