How Our RNG Works
All game outcomes on Matrix Spins are determined server-side using a cryptographically secure random number generator. We use Node.js crypto.randomBytes() to generate random values for every spin. This is a cryptographically secure pseudorandom number generator (CSPRNG) provided by the operating system.
When you spin, the server generates random bytes, converts them into a numeric value, and maps that value to a game outcome based on the game's paytable configuration. The client (your browser) is a renderer only — it displays the result the server has already determined.
const randomBytes = crypto.randomBytes(4);
const randomValue = randomBytes.readUInt32BE(0);
const outcome = randomValue % totalOutcomes;
// Outcome mapped to game result via paytable
Platform Target RTP
RTP (Return to Player) is the theoretical percentage of wagered money that a game returns to players over a very large number of spins. A higher RTP means a lower house edge.
Our platform target RTP is 88%. This means that, on average over a large number of spins, the platform is configured to return $88 for every $100 wagered. Individual sessions will vary significantly — some players will win more, others less. RTP is a long-term statistical average, not a guarantee for any individual session.
Security Measures
We take the following measures to protect game integrity and player data:
- Cryptographic RNG: All randomness is generated using
crypto.randomBytes(), a CSPRNG. We do not useMath.random()for any game outcome. - Server-Side Determination: All game outcomes are calculated on the server. The client browser only renders the result it receives.
- TLS Encryption: All communication between your browser and our servers is encrypted using TLS.
- Atomic Balance Operations: All balance updates use atomic database operations to prevent race conditions.
What This Means for You
Here is what you should know as a player:
- Game outcomes are random and cannot be predicted or influenced by the player.
- Each spin is independent — previous results do not affect future spins.
- The house has a mathematical edge on every game (12% on average based on our 88% target RTP).
- Short-term results can vary widely from the theoretical RTP in either direction.
- Gambling involves risk. Never wager more than you can afford to lose.