Independent query guide · virtual-coin demo

Move To Front Ranks: Game Rules and Mechanics

The official website of ep789.

Move To Front Ranks is a probabilistic scoring game based on a specific permutation algorithm rather than traditional cricket rules. The game processes eight-code words where each symbol is drawn uniformly from the set {0, 1, 2, 3}. The core mechanic involves updating the order of symbols after each observation based on the Move-to-Front algorithm, which influences the final score calculation.

Play the free demo

Core Algorithm and Scoring

The game operates on an ordered alphabet of four symbols: 0, 1, 2, and 3. A complete round consists of eight deliveries (observations). For each delivery, a shot (0, 1, 2, or 3) shifts an independent uniform hidden code modulo four. After scoring, the observed code is moved to the front of the ordered list for the next delivery.

The raw score is the sum, across all eight deliveries, of each observed code’s squared zero-based rank before that code moves to the front. The specific mechanics are:

  • Initialization: The alphabet starts in order [0, 1, 2, 3].
  • Observation: The observed code is (independent uniform hidden code + shot choice) modulo four.
  • Update: After its rank is scored, the observed code moves to the front of the list.
  • Scoring: Before each move to the front, add the square of that observed code’s current zero-based rank to the running score.

Payout Modes and Normalizers

The game offers three distinct payout modes, each applying a different power to the raw score and using a specific normalizer to calculate the gross payout. The expected gross return is 96% across all modes, though this is an average and not a guarantee for individual sessions.

ModePower AppliedExact Mean (Normalizer)Description
01st Power (Linear)28Standard linear scoring.
12nd Power (Squared)882Amplifies higher rank variations.
23rd Power (Cubed)30400Heavily weights extreme outcomes.

The payout formula is: Gross = 0.96 × captured whole stake × (raw^(mode + 1)) / mean[mode]. Note that the power applied does not change which raw scores are zero; it only scales the magnitude of non-zero scores.

Controls and Game Flow

Players have specific controls available during a match:

  • Manual Play: The player advances through all eight deliveries manually, choosing a shot (0-3) before each delivery.
  • Auto10: Queues up to ten whole matches for automatic play.
  • Stop: Cancels future queued matches but allows the current automated match to complete.
  • Sounds: Remain available and controllable regardless of play mode.

During a captured match, the stake, payout mode, and refill settings are locked. However, shot choices may be changed between deliveries in manual mode.

Probabilities and Evidence

The underlying mathematics assume that each of the 65,536 possible eight-code words is equally likely. Simulation measurements from 1,000,000 rounds confirm the theoretical expectations.

ModeExact Gross RTPMeasured RTPPositive Results
00.9696.013%999,984
10.9695.983%999,988
20.9696.065%999,985

The measured values support the exact 96% expected gross return, with minor variance due to simulation sampling.

Wallet and Persistence

This demo uses a virtual wallet with specific persistence rules:

  • Initial Balance: 1000 virtual coins.
  • Restoration: If the balance is below 10 while idle, a manual refill sets the balance to exactly 1000. This is a manual action, not automatic.
  • Fractional Carry: Fractional values persist across settlement, refill, and page reloads.
  • Unfinished Rounds: If a match is in progress when the page reloads, it ends without refund or resume.

Privacy and Storage

The demo stores the settled balance and fractional carry in the browser's localStorage. Clearing cached files alone may leave localStorage intact. Removing this site’s stored data can remove the saved balance and fractional carry. The template declares a Google Fonts stylesheet, but actual third-party request data is pending. No account login or payment flow is present in this demo.

Frequently asked questions

Is the 96% return guaranteed?

No. The 96% is the expected gross return over a large number of rounds. Individual sessions may result in net gains or losses. It is not a prediction for other products or a guarantee of net profit.

How does the Move-to-Front algorithm work?

For each delivery, square the observed code’s current zero-based rank and add it to the running score before moving that code to the front. The move changes the ranks used for later deliveries.

What happens if I reload during a match?

If a match is unfinished when you reload, it ends immediately. There is no refund or option to resume the exact state of that specific match.