The underground programming field guide
The Miner Was Replaced Wiki & Guide
The DLC is out on Steam and needs The Farmer Was Replaced. Check ownership, then learn with small conceptual examples.
DLC for The Farmer Was Replaced · base game required · released November 2, 2026. Exercises teach concepts; they are not tested DLC solutions.
Find your task
- Start here: access and preparation Find the mining expansion on Steam, iOS or Android. Check which game to install and whether the mobile version can use a PC save.
- Why Python-shaped code can fail here Separate language support, unlocks and game commands when Python-shaped code fails. Use a short adaptation checklist before adding more code.
- Give every scan a stopping rule Give a scan a measurable end, update progress after confirmed work, and handle failed actions. Follow a four-step conceptual trace.
- Track a bounded route, one move at a time Follow a bounded 4×4 snake route. Track confirmed position, visited cells and the last move without assuming underground wrapping or damage rules.
- Remember what happened, not what you hoped happened Keep confirmed position, visited locations and pending work separate. A failed-move example shows when state should change and when it should not.
- Match mushroom types before pushing Check mushroom type and push eligibility using a dated community routine. Keep numeric sorting practice separate from the real matching task.
- Read Dynamite clues before choosing the next dig Read the Soot-clue checks used by a dated Dynamite guide, then practice safe and mined deductions. Unknown cells and guesses are not proven safe.
- Find the first step that goes wrong Separate syntax, names, unlock availability and wrong state. Trace the first bad step and reduce it to a small reproducible example.
- Find the work your script repeats Compare the same completed job before optimizing. A fixed hypothetical example separates movement, repeated observations and avoidable rework.
- Edit a file, confirm the change, then run Use the official .py and File Watcher workflow safely: identify the active file, save an edit, confirm detection and run it deliberately in the game.
- A first look at the underground tasks See the announced underground tasks: resources, colorful mushrooms, Minesweeper and careful ruins excavation, with official scenes and preparation links.
No guide matches that filter — try a shorter word, or reset the filters.
Practice the thinking, not just the code
Three small workbenches that each train one skill — with the full static explanation always on the page.
Route trace workbenchStep a 4×4 snake route one move at a time: 15 moves, 16 visited cells, no wrapping at the edges.Open the exercise
Compare-and-swap workbenchWalk four tokens through 9 comparisons and 4 swaps until a clean pass proves the order.Open the exercise
Clue logic workbenchThree local neighborhoods: prove a safe cell, prove two mines, and recognize a guess.Open the exercise