> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magicblock.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Onchain Dice

<CardGroup cols={2}>
  <Card title="View Repository" icon="github" href="https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/roll-dice" iconType="duotone">
    Explore the source code and implementation
  </Card>
</CardGroup>

***

## Overview

Roll dice with provable on-chain randomness using VRFs. This demo shows how to implement fair and verifiable dice rolling mechanics.

***

## Related Products

<CardGroup cols={2}>
  <Card title="Verifiable Randomness" icon="dice" href="/pages/verifiable-randomness-functions-vrfs/introduction/why-verifiable-randomness-onchain" iconType="duotone">
    Learn why verifiable randomness matters
  </Card>

  <Card title="VRF Quickstart" icon="rocket" href="/pages/verifiable-randomness-functions-vrfs/how-to-guide/quickstart" iconType="duotone">
    Get started with verifiable randomness
  </Card>

  <Card title="Security" icon="shield-check" href="/pages/verifiable-randomness-functions-vrfs/introduction/security" iconType="duotone">
    Understand VRF security guarantees
  </Card>

  <Card title="FAQ" icon="circle-question" href="/pages/verifiable-randomness-functions-vrfs/introduction/faq" iconType="duotone">
    Common questions about VRFs
  </Card>
</CardGroup>
