Full playable demo

Play Treasure Hunter

Play the finished final challenge without seeing its source.

Playable result only — the source code stays hidden.

Mission 00 5 min

Mission 0: See What You’re Building

Play the finished Treasure Hunter. Dig for treasure, save 10 coins for a better shovel, notice how the upgrade changes each dig, reach 30 treasure and restart. This final quest gives less step-by-step placement guidance.

Build roadmap

What you’ll build, mission by mission

  1. 1
    Build the interface

    Create the treasure, shovel, message and controls.

  2. 2
    Design the treasure panel

    Apply the full CSS toolkit.

  3. 3
    Make digging work

    Create changing treasure state.

  4. 4
    Buy the shovel

    Spend treasure and change dig power.

  5. 5
    Improve game feedback

    Make button availability and messages reflect state.

  6. 6
    Win and restart

    Complete the final app from a behaviour checklist.

Mission demoBuild the Treasure Hunter Screen

Finished result only — the answer code stays hidden.