Provably Fair
Using publickey
, proof
, and alpha
, we can verify that beta
is the correct VRF hash. With beta
verified, we can get the modulo of it divided by the size of the revolver, concatenate the result with salt
, generate a SHA-256 hash, and verify that this hash is equal to the one passed to newGame
, therefore proving that the bullet's chamber index was randomly generated at the start of the game.