# How to play

{% stepper %}
{% step %}

#### Connect Your Wallet

Visit the BeatPot app and click **Connect Wallet**. Make sure you're on the HyperEVM network.
{% endstep %}

{% step %}

#### Approve WHYPE (First Time Only)

If this is your first time playing, you'll need to approve BeatPot to use your WHYPE tokens. This is a one-time transaction that allows the smart contract to accept your ticket purchases.
{% endstep %}

{% step %}

#### Buy Tickets

* Choose how many tickets you want to buy
* Each ticket costs **0.1 WHYPE**
* Confirm the transaction in your wallet

You can buy multiple tickets to increase your chances of winning. There's no limit on how many tickets you can purchase per round.
{% endstep %}

{% step %}

#### Wait for the Round to End

Each round lasts **24 hours**. You can see the countdown timer on the app showing when the current round ends.

During this time:

* View your entries for the current round
* See how many total tickets have been sold
* Check the current prize pool size
  {% endstep %}

{% step %}

#### Winner Selection

When the round ends:

* Anyone can trigger the round execution
* The smart contract requests randomness from Pyth Entropy
* A winner is selected based on the random number
* The more tickets you have, the better your odds

{% hint style="info" %}
**How winner selection works**

Think of it like a raffle where each ticket is a numbered entry. The random number determines which ticket number wins. If you bought 10 tickets out of 100 total, you have a 10% chance of winning.

All randomness is verifiable on-chain, so no one can manipulate the outcome.
{% endhint %}
{% endstep %}

{% step %}

#### Claim Your Prize

If you win:

1. You'll see a notification in the app
2. Click **Claim Prize** to withdraw your winnings
3. Confirm the transaction
4. Your prize is sent to your wallet
   {% endstep %}
   {% endstepper %}

### Tips for Players

* **Buy more tickets** to improve your odds
* **Use a referral link** if someone shared one with you—it doesn't cost you anything extra
* **Check past rounds** to see previous winners and prize amounts
* **Verify fairness** anytime by checking the on-chain randomness

### Fee Breakdown

When you buy a ticket for 0.1 WHYPE:

* **85%** goes to the prize pool
* **10%** goes to backers (liquidity providers)
* **5%** goes to the referrer (if you used a referral link)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperbeat.org/beatpot/how-to-play.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
