Independent query guide · virtual-coin demo

KM4 Demo Guide: Rules for Indian Players

The official website of km4.

The official website of km4. This guide describes the KM4 demo, an independent virtual-coin simulation for readers in India. It does not represent an external casino, operator, or licensed service. The game uses a four-by-four board drawn uniformly from a specific subset of legal boards defined by the row boundary constraint.

Play the free demo

The demo tracks your local balance and fractional carry. Wallet facts are derived strictly from the source of this demo. No external account, login, or payment flow is required to play this browser-based demo.

How the Board Is Drawn

The game uses a four-by-four grid. Unlike standard mines games that draw from all possible board configurations, this demo draws uniformly from a specific legal-board support. This support is defined by a public support rule:

  • Every row must have equal first and last occupancy bits.

When you select a mine count, the system generates a finite set of boards that satisfy this constraint. The draw is uniform over this support, meaning every board in the support has an equal probability of being the active board. This constraint reduces the total number of possible boards compared to an unconstrained 16-cell grid.

What Indian Players Should Check

Before you play, remember that this is a free demo with virtual coins, not real money. If you ever switch to real-money gaming, you must check whether online gambling is legal in your specific state in India, as laws vary by region. Always verify the currency settings; the standard local currency is INR (Indian rupee). You should also check which payment methods the operator supports. Common options in India include UPI, Paytm, and PhonePe, but you must confirm this directly with the operator.

  • Check state-wise gambling laws for your location.
  • Verify if the operator supports UPI, Paytm, or PhonePe.
  • Confirm that the demo uses virtual coins and not real INR.
  • Ensure you are of legal age to gamble in your jurisdiction.

Gross Payout and Score Function

The score function is deterministic based on the remaining support size. After every safe reveal, the gross quote (total return including your stake) is calculated as:

Gross Quote = 0.96 × Captured Stake × Initial Support Count / Current Compatible Support Count

  • Captured Stake: Your initial bet amount.
  • Initial Support Count: The total number of legal boards for the selected mine count at the start of the round.
  • Current Compatible Support Count: The number of legal boards remaining that are consistent with the revealed safe cells.

If you reveal a mine, the gross return is zero. The game uses a 96% gross payout factor, meaning the exact gross RTP is 0.96 across all modes, as derived from the exact support and quote formula; simulations provide supporting samples.

Staking, Caps, and Stopping Rules

The demo enforces a strict cap on individual payouts:

  • 1000× Stake Cap: Any safe reveal that would result in a gross quote exceeding 1000 times the stake is disabled. The cell cannot be clicked.
  • Automatic Banking: When no eligible reveal remains (either because all safe cells are revealed or all remaining cells exceed the cap), the current quote is automatically banked.
  • Manual Bank: You can manually bank after at least one safe reveal has occurred. This ends the round immediately with the current gross quote.

Mine returns are always zero. Captured stake and mine count remain locked throughout the round.

Controls and Modes

The demo offers specific controls and mode configurations:

  • Board Size: Fixed four-by-four grid.
  • Mine Count: Choices are limited to the exact nonempty support configurations in the source. You cannot select arbitrary mine counts outside these supported modes.
  • Manual Refill: Available only while idle. If your balance is below 10, clicking refill sets the integer wallet to exactly 1000. It does not add coins; it resets the balance.
  • Sound: Remains available during active rounds.
  • No Auto Queue: Reveals are manual only.

Wallet, Persistence, and Refill

The demo uses local storage for persistence. Key wallet behaviors include:

  • Fractional Carry: Fractional carry persists across settlement, refill, and reload. This is preserved exactly in this demo.
  • Settled Balance: Persists locally, including a zero balance.
  • Unfinished Round on Reload: If you reload the page during an active round, the round ends without refund or resume. Progress is not saved.
  • Refill Mechanics: A manual idle-only refill sets the balance to exactly 1000. It is not an automatic replenishment or an addition of coins.

Mathematical Evidence and Simulation

Simulation measurements provide supporting sample observations but are not the mathematical payout law. The exact gross RTP is 0.96. Below are verified examples from the contract:

MinesSafe PathRemaining SupportGross Multiplier
3[0]801.056
3[0,1,2]382.223
4[0,3,6,9,12,15,2,5,8,11,14,1]1180.48
5[0,3,6,9,12,15,2,5,8,11,14]1314.88

Measured RTP values (e.g., 95.9853 for mines=3, policy=0) are sample observations and may vary slightly from the exact 0.96 gross RTP due to simulation variance.

Frequently asked questions

What is the 'Row Boundary Equality' constraint?

It is a rule where every row on the four-by-four board must have equal first and last occupancy bits. This defines the legal-board support from which boards are drawn uniformly.

How is the payout calculated after a safe reveal?

Gross Quote = 0.96 × Captured Stake × Initial Support Count / Current Compatible Support Count. This increases as the support size shrinks with each safe reveal.

What happens if I hit a mine?

The round ends immediately with a gross return of zero. You lose the captured stake for that round.

What is the 1000× stake cap?

If a safe reveal would result in a gross quote exceeding 1000 times the stake, that cell is disabled. You cannot click it. If no eligible reveals remain, the current quote is auto-banked.

How does the manual refill work?

When idle and balance is below 10, clicking refill sets the integer wallet to exactly 1000. It does not add coins to an existing balance; it sets the balance.

Does fractional carry persist after a refill?

Yes, fractional carry persists across settlement, refill, and reload as implemented in this demo.

What happens if I reload the page during a round?

The unfinished round ends without refund or resume. Progress is not saved across reloads.

Are there auto-queue features?

No. The demo uses manual controls only. No auto queue is implemented.

Is this demo connected to an external casino?

No. This is an independent guide's demo. It has no account login, payment flow, or external operator affiliation.

What storage does the demo use?

It uses browser localStorage for settled demo balance and fractional carry. A Google Fonts stylesheet is declared, but no other third-party processing is confirmed.

Is the 18+ label a legal requirement?

No. It is this guide's intended audience policy. It does not claim to be a local legal age gate or guarantee of local legality.

What is the exact gross RTP?

The exact gross RTP is 0.96 (96%) across all modes, as derived from the exact support and quote formula; simulations provide supporting samples with 1M+ rounds.

Is KM4 licensed in India?

This demo is independent and unaffiliated with the operator. You must check the operator's website directly to see if they hold a valid licence for Indian players.

Can I pay using UPI or Paytm?

This demo uses virtual coins. For real-money play, check with the operator to see if they accept UPI, Paytm, or PhonePe, as this varies by provider.