Remix Library / Games

Space Miner Clicker

Click the asteroid, buy drills and robots, and watch the crystals pile up.

Beginner HTML · CSS · JavaScript
No account needed: you’ll start as a guest.
read-only · remix to edit
Preview

What you'll learn

  • Buttons & click events
  • Updating the page with JS
  • setInterval
  • Arrays of objects
  • Saving progress

Challenges

Remix it, then try these. Each one is a bit harder than the last.

  1. Rename the upgrades and change their prices.
  2. Add a new upgrade that costs 5,000 and mines 100 per second.
  3. Show a little "+1" that floats up every time you click.
  4. Add achievements, like "Mined 1,000 crystals".
  5. Add a golden asteroid that appears for 5 seconds and gives 10× crystals.