A browser-only JavaScript solver for the Thrill Digger minigame in
The Legend of Zelda: Skyward Sword.
This tool analyzes the visible rupee clues you reveal in-game and recommends the best next move using exact probability calculations, similar to a Minesweeper solver.
-
Exact probability solver
- Computes the chance each unrevealed square is a bad spot (Bomb or Rupoor)
- Uses constraint satisfaction and weighted enumeration (not heuristics)
-
Best Move button
- Picks a single recommended square
- Minimizes risk first
- Breaks ties by maximizing information gain
-
Supports all difficulties
- Beginner (5×4, 4 bombs)
- Intermediate (6×5, 4 bombs, 4 rupoors)
- Expert (8×5, 8 bombs, 8 rupoors)
-
No dependencies
- Single HTML file
- Runs entirely in your browser
- No tracking, no storage, no network calls
Thrill Digger behaves like Minesweeper with range-based clues:
| Rupee | Adjacent Bad Spots |
|---|---|
| Green | 0 |
| Blue | 1–2 |
| Red | 3–4 |
| Silver | 5–6 |
| Gold | 7–8 |
Bad spot = Bomb or Rupoor
Bombs end the game; rupoors subtract rupees, but both count as “bad” for clue purposes.
-
Manual input
- You enter the results of each dig (rupee color, rupoor, or bomb)
-
Constraint extraction
- Each revealed rupee generates a numeric range constraint on adjacent cells
-
Exact enumeration
- Unknown cells touching clues (“frontier”) are exhaustively enumerated
- Remaining unknown cells are handled combinatorially
-
Probability calculation
- For each unknown cell:
P(cell is bad)
- For each unknown cell:
-
Best move selection
- Primary: minimize probability of a bad result
- Tie-breaker: maximize expected information gain
- More adjacent unknown cells
- More adjacency to existing clues
This mirrors optimal Minesweeper-solving strategies.
- Clone or download the repository
- Open
thrill-digger-solver.htmlin any modern browser - Select the game difficulty
- Click cells to enter what the game revealed: ? → G → B → R → S → ★ → Ø → 💣 → ?
- Use the controls:
- Solve / Update probabilities — highlights safest and riskiest cells
- Best move — highlights the single recommended click
Hover over unknown cells to see their exact bad probability.
- The solver does not optimize rupee payout
- Thrill Digger does not publish a rupee distribution
- The solver focuses on survival and information, not expected rupees
Assumes:
-
Correct user input
-
Standard Thrill Digger rules
-
No hidden modifiers or scripted boards
-
With no revealed clues, probabilities default to uniform.
'''text thrill-digger-solver.html # Entire application (HTML + CSS + JavaScript) README.md # Documentation LICENSE # GNU General Public License v3.0 text '''
This project’s code was generated by ChatGPT 5.2 through an iterative, conversational design and refinement process.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0-only).
See the LICENSE file for the full license text.