Hey, Hero! This is your first task that consists of multiple stages. You’ll be submitting your solution multiple times implementing a smaller piece of the big task. Be mindful not to break what was already working on previous stages.
The goal is to implement the gold mining game.
Initially, you’ll be able to produce gold by clicking the
G key on the keyboard.
Later on, you’ll be able to purchase producers that mine gold automatically.
Reach out to us if you feel stuck and think there’s an issue with the testing engine.
This is your first subtask or rather the stage 1 of the task.
You’re starting with the empty solution.js file.
- Create a new file
gameEngine.jsand export an empty function
- Import the function
- Call the function
startMiningGameafter importing it into
Nothing should happen as the function is empty. It’s ok.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.
// LET'S DIG SOME GOLD!