> For the complete documentation index, see [llms.txt](https://dartbotgame.gitbook.io/dartbot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dartbotgame.gitbook.io/dartbot/provably-fair.md).

# 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.
