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

# Rock Paper Scissors

<CardGroup cols={2}>
  <Card title="Demo" icon="play" href="https://rps-example.magicblock.app" iconType="duotone">
    Try the live application
  </Card>

  <Card title="View Repository" icon="github" href="https://github.com/magicblock-labs/magicblock-engine-examples/tree/main/rock-paper-scissor" iconType="duotone">
    Explore the source code and implementation
  </Card>
</CardGroup>

***

<img src="https://mintcdn.com/magicblock-42/mv6RkbZhKZl7Ltsa/images/template_images/rps-example.png?fit=max&auto=format&n=mv6RkbZhKZl7Ltsa&q=85&s=7986c2751734eceb15fe09d30b85a070" alt="Rock Paper Scissors Demo" width="893" height="833" data-path="images/template_images/rps-example.png" />

## Overview

Play confidential Rock Paper Scissors using Private Ephemeral Rollups. Each move lives in a private TEE account that neither the opponent nor the RPC can read — the winner is revealed automatically the instant the last choice lands, and either player can start a rematch that reuses the same accounts with no new rent.

The example includes a web app with a solo mode against a robot and a two-player mode where a friend joins via link or QR code.

***

## Related Products

<CardGroup cols={2}>
  <Card title="Private Ephemeral Rollup" icon="shield-check" href="/pages/private-ephemeral-rollups-pers/introduction/onchain-privacy" iconType="duotone">
    Learn how Private ERs enable confidential on-chain computations
  </Card>

  <Card title="Authorization" icon="key" href="/pages/private-ephemeral-rollups-pers/introduction/authorization" iconType="duotone">
    Understand authorization mechanisms in Private ERs
  </Card>

  <Card title="Quickstart Guide" icon="rocket" href="/pages/private-ephemeral-rollups-pers/how-to-guide/quickstart" iconType="duotone">
    Get started with building private applications
  </Card>

  <Card title="Access Control" icon="lock" href="/pages/private-ephemeral-rollups-pers/how-to-guide/access-control" iconType="duotone">
    Set fine-grained permissions on ephemeral accounts
  </Card>
</CardGroup>
