#
Provably Fair
Provably Fair is an optional feature of DeBets that gives players the ability to verify the fairness of their bets. In order to better understand how Provably Fair in DeBets works please refer to DeBets documentation.
The support for Provably Fair introduces two requirements for the game developer:
- the outcome of every round must derive entirely from a seed that is returned by DeBets Seamless server on any debit request
- in order to prove to the player that the mapping between seed and outcomes of the rounds that have been played is correct and let the player reproduce such results the game developer must provide an API that allows launching the game in play-for-free and while in this mode any round that is played must bet generated out a seed whose value is specified as a parameter in the call of the API
The first requirement can be easily satisfied by seeding a pseudo random number generator with the seed received from DeBets Seamless Server and then extracting from the RNG sequencially (that is without discarding any number and without ever re-seeding it) any number required to generate the full outcome the round.
The second requirement can be fullfilled by providing an API that launches the game in play-for-free mode and takes the following parameters:
- ID of the game
- ID of the game account
- seed
The implementation of the API will then take the seed and use it as already described to generate the result of the round that will be played. This API will be used to prove to the player that the outcome of the rounds that have been played depended uniquely on the value of the seed and that such mapping never changes.
When Provably Fair is enabled the Client App shows the following:
Players can then verify the outcome of any round that they have played directly from the Client App.
Furthermore, the information about which game developers support Provably Fair is also visible on DeBets website, therefore supporting Provably Fair is also a good way to increase traffic.