Independent query guide · virtual-coin demo

Shortest Mirror Supersequence: Exact Rules and Expected Return

The official website of cosca.

The official website of cosca. This guide explains the exact mathematical structure of the Shortest Mirror Supersequence game as implemented in this independent demo. The game reveals twelve independent fair bits in sequence to determine a score. The core mechanic involves counting distinct shortest palindromic supersequence values containing the revealed word as a subsequence, then subtracting one. Players select a power (1, 2, or 3) to weight the raw score, which determines the gross bank quote. The expected gross return is exactly 96% before integer rounding, though this is not a guarantee of net profit for any single session.

Play the free demo

Core Mechanics and Scoring

The game operates on a sequence of twelve independent fair bits. Each bit is revealed sequentially, with each semantic reveal following a 650ms interval. The final score is derived from the complete twelve-bit word. The raw score is calculated by counting distinct shortest palindromic supersequence values containing the word as a subsequence, then subtracting one.

Three scoring modes are available, each priced by its own exact unconditional mean:

  • Power 1 (Raw Score): Unconditional mean of 1.6025390625.
  • Power 2 (Squared Score): Unconditional mean of 12.2919921875.
  • Power 3 (Cubed Score): Unconditional mean of 198.6533203125.

The live gross bank quote is calculated as: 0.96 × captured whole stake × conditional expectation of the terminal raw score raised to the selected power ÷ unconditional mean for that power. Because the quote averages all remaining possible completions, it can rise or fall as bits are revealed. If the conditional potential drops to zero, the round settles at zero.

Controls, Stopping, and Auto-Bank

Players select a stake, a score power, and an automatic reveal cap before the round begins. These three parameters are locked until settlement.

  • Manual Bank: Available immediately while the round is live. This settles the current conditional quote.
  • Auto-Bank Caps: The selected cap (4, 8, or 12) automatically banks the current quote when that many bits have been revealed. If the conditional potential is zero before the cap is reached, the round settles at zero earlier.
  • No Auto10 Queue: There is no Auto ×10 batch of rounds; reveal caps are 4, 8 or 12 bits.

Sound remains available during the round even when controls are locked. Fractional carry persists across settlement, refill, and reload.

Wallet and Persistence

The demo uses a virtual wallet with an initial balance of 1000. The restoration mechanism is manual and idle-only: if the balance drops below 10 while idle, it is reset to exactly 1000, preserving any fractional carry. This is not an automatic replenishment or a deposit.

Settled balances persist locally, including zero balances. However, if a round is unfinished when the page is reloaded, the captured debit is lost without refund or resume. There is no account login flow, no payment processing, and no cash value associated with the virtual coins.

Mathematical Evidence and RTP

The exact expected gross return under the supported stopping policies (banking at cap or earlier zero conditional value) is 96%. Simulation measurements support this but are not the mathematical law.

ModeAuto CapExact Gross RTPMeasured RTP (Sample, %)
040.9696.02946784670878
080.9695.8994682852978
0120.9696.11770945485905
140.9696.03469185398177
180.9696.33524801658214
1120.9695.49045704688966
240.9696.06505399207009
280.9696.07338153715605
2120.9696.29551031015406

Worked Examples

The following examples illustrate raw scores for specific twelve-bit words:

  • Word: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Raw Score: 0
  • Word: [0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1] Raw Score: 31

Privacy and Storage

The demo uses browser localStorage to store the settled demo balance and fractional carry. This does not establish anonymity or exclude other processing. The template declares a Google Fonts stylesheet, though actual browser request capture is pending. There is no claim that other requests or processing are absent.

These pages also declare https://statinside.com/counter.js with site ID 44 and a no-JavaScript image at https://statinside.com/pixel.png?id=44 with referrerpolicy="unsafe-url". Requests may occur on page load; this is not a complete runtime network inventory.

Frequently asked questions

What happens if I reload the page during a live round?

If you reload while a round is unfinished, the captured debit is lost. The demo does not resume the round or provide a refund for the stake that was not banked.

How does the manual refill work?

The refill is manual and only available when the interface is idle. If your balance is below 10, clicking refill sets the balance to exactly 1000. It preserves any fractional carry from previous rounds.

Is the 96% RTP guaranteed in a single session?

No. The 96% is the exact expected gross return under the supported stopping policies (banking at cap or zero conditional value). It is not a guarantee of net profit for any single session or short period.