Randomness
The game uses a VRF (Verifiable Random Function), also known as vRNG (Verifiable Random Number Generator), to generate all random outcomes on-chain. This ensures that number draws and power-up choices are provably fair—neither players nor the protocol can predict or manipulate results.
Description
Randomness is used throughout the game: the 18 numbers drawn for each game and the power-ups offered at Gem milestones. All of these are produced by the VRF at the moment they are needed, within the same transaction. The request and the random value are processed atomically, so there is no delay and no separate step to wait for—the result is immediately available and verifiable on Starknet.
The system relies on the Cartridge vRNG, which uses the Stark curve and Poseidon hash for efficient on-chain verification. The entire process occurs on-chain, keeping transparency and fairness auditable.