KOJP

Tunnel Digger Online Game

Tunnel through the earth, collect every gem and dig under boulders to drop them on the monsters. A classic digging arcade game with 20 stages, 3 lives and one firework

20 stages · 3 lives · one firework per stage

Collect every gem to move on to the next stage. Dig out the cell right under a boulder and it wobbles, then falls, crushing any monster in its path. A boulder that falls two or more cells shatters.

Controls

Arrows · WASD: dig and move
X · Space: firework
Phone: joystick bottom left, firework button bottom right
Mouse: press and drag to steer, short click for the firework

What kind of game is Tunnel Digger?

You drive a small drilling robot in a hard hat through a grid of underground earth and collect every gem on the board. Moles and ghosts roam the tunnels, and boulders are buried all over the board: dig out the cell beneath a boulder and it drops, flattening whatever is below. The rules come from the classic arcade digging games, with every picture and sound drawn and synthesized in code.

The board is 12 cells wide and 14 cells deep, with sky, clouds and flowers above ground. The earth comes in four layers by depth, topsoil, ochre, red clay and bedrock, and the deeper you go the slower you dig. Wherever the robot passes a tunnel remains, and the monsters follow those tunnels to chase you. Collect all the gems to advance a stage; touch a monster or get caught under a boulder and you lose a life. You start with three lives and gain one for every five stages cleared.

When does a boulder fall, and when does it shatter?

The moment the cell directly below a boulder is emptied, the boulder wobbles for 0.7 seconds and then falls. Any monster in its path is crushed for big points, and the robot is crushed too if it stays in the way. A boulder that drops only one cell settles in its new spot; one that drops two or more cells shatters when it lands.

SituationWhat the boulder does
Earth below itStays put
Cell below fully dug outWobbles for 0.7 seconds, then falls. Get out of the way while it wobbles
Cell below still being dugStill counts as earth. It only wobbles once the cell is finished
Falls one cellBecomes a resting boulder again. Dig under it to drop it once more
Falls two or more cellsShatters and disappears on landing
Monster in its pathCrushed for 500 points. A second monster under the same boulder gives 1,000, a third 2,000
Robot in its pathThe robot is crushed and you lose a life

Boulders are cells the robot cannot dig through, so they also act as walls. Go around one and dig beneath it and it drops into the tunnel below, changing the shape of the board, which makes boulders a tool for reshaping your escape routes.

How do the two monsters differ?

Moles move only through tunnels, while ghosts can turn translucent and fly straight through the earth toward you. Both start asleep in small pockets underground and wake up after 1.5 seconds.

MonsterMovementWatch out
MoleChases the robot along the shortest tunnel route. If its pocket is not connected to your tunnels it paces insideLeft trapped for long enough it starts digging toward you on its own. Tunnels dug by moles can drop boulders too
GhostFollows tunnels, but when it has no path or you are close it turns translucent and flies through the earthIt is slow while flying, but walls mean nothing to it. Once it enters a tunnel it goes back to following tunnels

Stage 1 has two moles. The count grows with each stage up to eight monsters, ghosts appear from stage 2, and every monster gets a little faster each stage.

How is the score calculated?

Gems are worth 20, 50 or 100 points by type, and crushing monsters with a boulder starts at 500 and doubles for each extra monster under the same boulder. Clearing a stage pays a bonus of 100 times the stage number, plus 50 if you still have your firework.

ItemPoints
Emerald (green)20. Common near the surface
Ruby (red)50. Common at medium depth
Gold (yellow)100. Common deep down
Monster crushed by a boulder500, then 1,000 and 2,000 for the second and third under the same boulder
Monster blown away by the firework200 each
Stage clearStage number × 100, plus 50 if the firework is unused

What changes as the stages go up?

More gems, more and faster monsters, and more boulders. Stage 1 starts with 9 gems and two moles; stage 20 packs 16 gems, eight monsters and eight boulders onto one board.

When is the best time to use the firework?

You get one firework per stage, so the best moment is when two or more monsters close in and there is no tunnel left to run down. Every monster within two and a half cells of the robot is blown away for 200 points each.

Finishing a stage with the firework unused pays 50 extra points, but a life is worth far more than that. When a ghost has flown through the earth to your side, or moles are closing from both ends of a tunnel, spend it without hesitation. The firework has no effect on boulders.

Any tips for a high score?

  1. Prepare tunnels under boulders ahead of time. If a boulder sits over the route a monster will take, dig out the cell beneath it just as the monster passes underneath. Leaving exactly one cell under a boulder and waiting beside it is the basic trap.
  2. Do not connect everything into one long tunnel. Once tunnels run everywhere, moles can reach you from any side. Dig short branches to the gems and double back, and the moles stay stuck in their pockets for a while.
  3. The moment the cell under a boulder is finished, step sideways. The 0.7 second wobble is all the time you get. Keep digging straight down and the boulder lands on your back.
  4. Deep gold pays best, but bedrock is the slowest layer to dig and the hardest place to flee. Dig an escape tunnel before you start mining it.
  5. Keep moving when a ghost turns translucent. It flies toward where you are now, so sprinting along a long horizontal tunnel is the easiest way out.
  6. The surface is a tunnel too. Monsters come up to the surface, so it is no place to rest. Instead dig several entrances from the surface so you always have another way down.

Controls

All graphics and sounds are drawn and synthesized in code, so nothing is downloaded. Your best score is kept only in this browser and never sent to a server.

Frequently asked questions

Is Tunnel Digger free?

Yes. It is free with no sign up, right on this page, and works on computers, phones and tablets.

How many stages are there?

Twenty. Collecting every gem takes you to the next stage, and each stage adds gems, monsters and boulders while the monsters get faster. Clearing stage 20 brings up the final result screen.

How do I drop a boulder?

Dig out the cell directly beneath it. The boulder wobbles for 0.7 seconds and then falls. Monsters in its path are crushed for 500 points, doubling for each extra monster, and the robot can be crushed too, so step aside while it wobbles.

Do boulders disappear?

Yes. A boulder that falls two or more cells shatters when it lands. One that falls a single cell settles in its new spot and can be dropped again.

What is the difference between moles and ghosts?

Moles only chase you through tunnels, and start digging on their own if they stay trapped too long. Ghosts turn translucent and fly straight through the earth when they have no path or you are close. Ghosts appear from stage 2.

How many fireworks do I get?

One per stage. It blows away every monster within two and a half cells of the robot for 200 points each. Finish the stage with it unused and you get 50 bonus points.

How many lives do I have?

Three to start, plus one more when you enter stages 6, 11 and 16. Touching a monster or being crushed by a boulder costs one life; the robot restarts on the surface and the monsters return to their pockets.

Can I play on a phone?

Yes. Push the joystick at the bottom left to move and tap the button at the bottom right for the firework. Pressing and dragging on the board also steers the robot.