Exercise 11 · Chapter: VariablesOptional+50 XP
Coin Quest: Create Your Hero
🪙 Bonus quest! Across the course you'll build the Coin Quest game from the videos, piece by piece.
Give the game its memory. Create three variables:
playerholding the text"Alex"scoreholding the number0isPlayingholding the booleantrue
Then print each one on its own line.
Expected output
Alex 0 true
Need a hint?
2 available · costs 5 XP each
javascript
Output
Run your code to see the output here.