Skip to content

Instantly share code, notes, and snippets.

@iQiexie
Last active July 10, 2026 08:30
Show Gist options
  • Select an option

  • Save iQiexie/e9bbd37e8a1775cfa979ed477cbec95e to your computer and use it in GitHub Desktop.

Select an option

Save iQiexie/e9bbd37e8a1775cfa979ed477cbec95e to your computer and use it in GitHub Desktop.
Mining Mayhem - Game Details

Mining Mayhem

What changed since the last review

Added a bonus mode, Gusher Rush (25x buy with a cost confirmation). It gives you a scanner: drag a circle over the underground, the ground caves in and shows 0 to 5 oil deposits. The rig drills and pumps them one by one, you only get paid for what gets pumped out. About a quarter of scans find nothing.

Also rebuilt the whole UI in HTML (was canvas), so the bet bar works properly on every screen size including popouts. New painted background, pump jack animation, screen shake, particles. Base game wins now show as 2-3 pockets along the bore instead of one. Base math untouched, bonus math is in books_bonus + lookUpTable_bonus.

Overview

Mining Mayhem is an instant win oil drilling game. It is not a reel slot. Each round the player drills one pipe into the ground and tries to reach a hidden oil pocket. If the pipe reaches a pocket, the round pays the stake multiplied by that pocket's value. If the bore comes up dry, the stake is lost. Every round is a single stateless request to the RGS and is fully provably fair.

How to play

  1. Set the stake with the minus and plus buttons.
  2. Press the large round BET button. The derrick sinks a pipe into the ground along the dashed guide line.
  3. If the pipe reaches an oil pocket, a banner shows the multiplier and the WIN box shows the payout. If it misses, the empty bore stays on the map and nothing is paid.

Aiming is optional. Tap or drag anywhere underground to point the drill in that direction. After each drill the aim point moves to a fresh spot on its own, so the player can keep pressing BET without re aiming. New bores never cross older bores.

Controls

  • BET: starts a drill for the current stake. While drilling it turns into STOP, which ends the animation early.
  • Minus and Plus: lower or raise the stake to the next bet level.
  • AUTO SPIN: drills automatically, round after round, until stopped.
  • TURBO: speeds up the drilling and win animations.
  • RESET MAP: clears all previous bores and drained pockets. It is cosmetic only and does not change outcomes.
  • MENU: opens Pay Table, Info, Settings, Sound and Exit.
  • The space bar is bound to BET.

Math and payouts

Single base mode, cost multiplier 1.0. RTP is 96.5 percent. Maximum win is 1000x. There are 16 possible outcomes, from 0x (a dry hole) up to 1000x. The full ladder of pocket values is listed in the Pay Table. The win shown on screen always equals the payout returned by the RGS, which is the stake multiplied by the payout multiplier.

How to review it

  • Open MENU, then INFO for the full how to play guide. It explains every interactive button and contains the required legal disclaimer.
  • Open MENU, then PAY TABLE for the list of pocket values. No hit rate, chance or probability values are shown anywhere in the game.
  • To see wins quickly, keep pressing BET. Low multipliers are common, so wins appear within a few rounds. To inspect a specific outcome, load a replay URL with the event id you want.
  • Replay is supported, including the currency, language and stake parameters, and it also works in the Popout S view.
  • The game authenticates on launch and each BET press sends a play request to the RGS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment