top of page
2mellywelly23_dark_blue_fantasy_planet_game_screen_background_2d_8cbc7e49-e428-430e-a99f-4

Bonez RNG Compliance

bonez_play_now.png
open_beta.png

RNG (Random Number Generation) is an integral part of gambling games.  It is a random number generator that determines the outcome of the game. Bonez adheres to these strict RNG Certified compliance standards in order to offer the best user experience.

At the start of each round within every game, a deck of house cards is generated and then shuffled. 

The deck is generated as:
 

  • 40 House cards

    • 4 of each numbered from 1 to 10

 

 let houseCards: any[] = [];

  for (let i = 1; i <= 10; i++) {

    for (let j = 0; j < 4; j++) {

      houseCards.push({

        name: i.toString(),

        value: i,

      });

    }

  }

 

The cards are then shuffled with a Fisher-Yates algorithm:

//Fisher–Yates shuffle

function shuffle(array: any[]) {

  var m = array.length, t, i;

 

  // While there remain elements to shuffle…

  while (m) {

 

    // Pick a remaining element…

    i = Math.floor(Math.random() * m--);

 

    // And swap it with the current element.

    t = array[m];

    array[m] = array[i];

    array[i] = t;

  }

 

  return array;

}

Through the secure server, the next dealt card is then popped off the stack and dealt to each player in sequence. The maximum possible house cards played in a round is 17 cards with the 9th card dealt to a player forcing a win/loss resolution.




Example: https://bc.game/help/provably-fair

bottom of page