gta6/prompts
casino
Vaultintermediatecasino

Mines Grid Game

ESX/QBCore/QBox single-player mines grid that climbs a server-computed multiplier ladder until a bomb forfeits the stake.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~115 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A working mines game: the player stakes cash, reveals tiles on a hidden grid to climb a multiplier ladder, and cashes out before hitting one of the bombs — a single bomb forfeits the whole stake. It is the trending crypto-casino mines mechanic with almost no FiveM ports, a high-novelty round-based gambler that keeps players grinding the ladder.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/casino/12-mines-grid-game.lua. It implements a per-player server game that debits the stake, builds a hidden bomb set, reveals tiles with a…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-held layout — Claude sends the bomb positions to the client; a modder reads them. Keep bombSet server-side and only reveal the layout on boom.
  • Client-computed payout — letting the client derive the multiplier lets cashout pay anything; compute the per-pick multiplier and pay it server-side.
  • One-sided net event — defining mines:safe/boom/cashed on only one side breaks reveals; both sides need RegisterNetEvent + AddEventHandler.

Corrective re-prompt: The bomb layout and multiplier are currently on the client. Move the per-src game table, the hidden bombSet, the multiplier function and all removeMoney/addMoney into server.lua; only send the layout in mines:boom, and compute the cashout payout from the server-side pick count.

Framework Integration

  • ESX: ESX.GetPlayerFromId(src), xPlayer.getMoney() / removeMoney(stake) on start and addMoney(payout) on cashout.
  • QBCore: QBCore.Functions.GetPlayer(src) with Player.Functions.RemoveMoney('cash', stake) / AddMoney('cash', payout).
  • QBox: exports.qbx_core:GetPlayer(src) and the qbx money exports; the grid logic and NUI bus stay framework-agnostic.

Profit Potential

$400–$5500/mo on Tebex (expected ~$1400). [INFERRED] priced inside the $50-389 FiveM script band against a hot crypto-casino-mines niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100).

Trend Signal

🔥 hot — strategy: 5-axis blue-ocean (niches.md): trending crypto-casino mines UX, few FiveM ports.

Sales Angle

Position as the trending crypto-casino mines UX with barely any FiveM ports — a server-authoritative grid with a real multiplier ladder. Recommended Tebex price $249.

Difficulty & Ship Time

intermediate · ships in 1 day.