Skip to main content
cli-gamesWiki

Paydirt

Dig for ore, sell it at the surface and upgrade your rig to dig deeper.

Paydirt in play
guidesView Game Page →Last updated 2026-10-16

How to play

Dig down for ore and survey discoveries, sell them at the surface for points, and upgrade your rig to reach deeper. The run ends when your battery runs out, your rig is destroyed or you press F at the crane to finish.

Twelve survey discoveries lie below the surface, ending with the Heart of the deep at 463 m.

You are the yellow mining rig. Return to the crane or a field base to sell your haul, recharge and repair. Selling earns 10 points for each dollar, plus 5 for each new meter of depth; spending money never lowers your score.

The shop has six purchases. Drill cuts harder rock, Battery stores charge, Cargo carries ore, Engine speeds travel through cleared tunnels, Chassis adds hull, and the sixth is a base kit. Later drills also need banked survey discoveries.

Orange hot rock damages your hull. Creatures wake when you dig into their tunnel, then chase and bite; drive into one to attack it. Stronger drills deal more damage. Bright eyes and ! warn of a bite. Green gas pockets are deadly at every upgrade level. The battery drains faster the deeper you go, so keep enough charge to get back.

A base kit costs $6,000, and more for each base after the first. Carry it underground and press V to deploy it on a cleared tile at least 28 m deep, 35 blocks from other bases and away from gas and creatures. Drive onto a base to sell, recharge and repair; press Space to open its workshop.

If your battery runs out, your hull is destroyed or gas ignites, you keep the points you banked but lose what you had not sold.

In the shop, choose a purchase with ← and → or a number, buy it with Space and leave with ↓; press ↑ or Space at the door to go in.

ControlAction
← / ↑ / → / ↓move, drill or attack
W / A / S / Dmove, drill or attack
Space / Enterbegin, enter the shop or a field base, or buy
Xchoose the next purchase
1 / 2 / 3 / 4 / 5 / 6choose a purchase by number
Ffinish at the crane or a field base
Vdeploy a base kit underground

Your first trip

You are the yellow drill. Dig a short shaft below the crane, collect ore, then return to the crane's platform. The shop is left of the crane: drive to its door to enter. The initial $60 buys the first $50 drill upgrade.

The next survey target gives a destination and reward; bank each discovery before seeking the next. Each equipment track has six levels, and the workshop shows the current and next capability.

Danger and depth

The return marker and reserve estimate help plan a trip, but the estimate assumes a straight route; your tunnels can make the journey longer. A gas ignition leaves a crater and a wreck.

Build a field base

Carry one kit at a time. Bases are places to visit, with no teleport or respawn. The mine is finite.

Programmable expeditions

Start paydirt and run ./helper.sh & to dig a short shaft and bring the haul back to the crane. Use nano helper.sh to edit it, jobs to list helpers and stop to stop them. Type script or read ~/paydirt/LIVE-HELP.txt for the commands.

Use scan and state to read what the rig can see. Unseen geology and distant creatures stay hidden.

To try the published example on its original mine, type scripts try paydirt-starter. To adapt a copy for live play:

git clone https://forge.cli-games.com/cli-games/game-starters.git ~/scripts/game-starters
paydirt
cd ~/scripts/game-starters/paydirt-starter
cp policy.sh helper-local.sh
chmod +x helper-local.sh
nano helper-local.sh

Replace each wait N from the trial with delay followed by the time in milliseconds. Each trial tick was 20 milliseconds, so use delay 400 for wait 20. Run ./helper-local.sh & to try your changes on the current mine.

If you already have a clone, use it in place of a new one. After leaving the game, return to the example directory to record your edits:

cd ~/scripts/game-starters/paydirt-starter
git add helper-local.sh
git diff --cached
git commit -m "Adapt mining helper for live play"

Keep LICENSE.txt and attribution when sharing. Cloning never runs a program or replaces edits.

The opening brings a small haul home and buys an upgrade.

Use man paydirt for the reference, or play Paydirt.