# Predict Game

## The Game

Predict is a shared-betting game where users wager on the direction of a price feed within a fixed time window. Each round runs for **270 seconds** (4½ minutes). Players bet either **long** (price will go up) or **short** (price will go down) on the **BTC/USD** pair, with outcomes resolved from a Chainlink price feed at round close.

## Why You Should Try It

* **Real-time competition** — every round produces a winner; no waiting for periodic draws.
* **Transparency** — round entry, settlement, and payout all happen on-chain through smart contracts. There is no intermediary that can adjust outcomes.
* **Bonus pool** — early bettors earn an additional reward on top of the main payout. See the Bonus System section below.

## How to Bet

1. **Discover the active round** — call `getGames()` (or use the dApp UI) to find the open Predict round and its remaining time.
2. **Place your bet** — call `placeBet()` with your direction (long / short) and CELT amount. The bet is recorded against your Pass NFT.
3. **Track your position** — `getPlayerBets()` lists all your active bets; `getBetInfo()` returns the detail for a specific bet.
4. **Receive payout** — at round close, the Chainlink feed is read, the winning side is determined, and payouts are distributed atomically. Winners receive a proportional share of the losing side's bets, less the **3.6% winning fee** that flows to conservative staking.

## The Bonus System

A portion of the round's bets funds a bonus pool that is distributed to winners on top of their main payout. The bonus is weighted by **bet size** and **bet order** — earlier bets in the round score higher than late entries of the same size.

## Undefined Round Outcome

If the open and close prices are equal (a tie at the moment of settlement), the round resolves as undefined. All bets are reverted to their owners with no fee and no bonus impact.

## Contact and Support

For Predict-specific questions, see [Games FAQ](/dexgames/games-guide/games-faq.md). For protocol-level support contact `TODO_CELESTIUM_SUPPORT_CONTACT`.


---

# 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.celestium.digital/dexgames/games-guide/predict-game.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.
