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.js and export an empty function startMiningGame from it.
  • Import the function startMiningGame into solution.js.
  • Call the function startMiningGame after importing it into solution.js.

Nothing should happen as the function is empty. It’s ok.

This task is part of the Full-Stack JavaScript Course .
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.