Independent query guide · virtual-coin demo

KM4 Demo Guide: Rules & Local Info for Pakistan

The official website of km4.

The official website of km4. This guide explains the KM4 demo, an independent virtual-coin simulation designed for readers in Pakistan. 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 Pakistani Players Should Check

Before you start playing the KM4 demo, it is important to understand the local context. In Pakistan, gambling is restricted by national law, so ensure you are of legal age and playing for entertainment only. This demo uses virtual coins, so you are not risking real money, but you should always verify the operator's current terms.

When checking if KM4 is suitable for you, focus on these key areas:

  • Currency: Confirm if the operator supports PKR (Pakistani rupee) for any future real-money games, or if they only use USD or EUR.
  • Payment Methods: Check if local wallets like JazzCash and Easypaisa are accepted. You can verify this by visiting the operator's official deposit page or contacting their support team directly.
  • Regulation: Since gambling laws vary, check if the operator holds a valid licence from a recognized authority. Look for this information in the footer of their official website or in their 'About Us' section.
  • Safety: Always play responsibly. Keep track of your time and ensure you are using a secure internet connection.

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 the KM4 demo free for players in Pakistan?

Yes, the demo is completely free and uses virtual coins. You do not need to deposit real money or create an account to play this specific browser-based simulation.

Does KM4 support JazzCash or Easypaisa?

This depends on the operator. You must check the official KM4 website or contact their customer support to confirm if JazzCash or Easypaisa are currently supported payment methods.