> For the complete documentation index, see [llms.txt](https://liquidx.gitbook.io/pixelpals-documentation-season-0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liquidx.gitbook.io/pixelpals-documentation-season-0/duel-coming-soon/matchmaking.md).

# Matchmaking

In Duel, users who are active will always be matched with a user who is inactive (i.e. offline). Users who are offline will follow a uniform 'check or call' strategy until the preset wager limit is reached.&#x20;

Max wagers can be configured in the main Duel module, and this limit can be changed once every 24 hours. Max wagers determine the amount to which users can call other users and be called by other users.&#x20;

* Note that the minimum wager for any game is min. 1 pet point - e.g. if you have 50 pet points and tolerance configured to 1%, you will still have to wager min. 1 pet point.&#x20;
* If you 'fold' from a wager of 1 pet point, there will be no wager returned.&#x20;
* The absolute value of the wager in a game session will be determined by min. \[your 1% worth of pet points vs. opponent's 1% worth of pet points].&#x20;
  * E.g. If you have 10,000 pet points for example and the opponent has 1,000 pet points, the starting wager will be 10 pet points (1% of opponent's pet points). This can be progressively doubled until either your or opponent's wager tolerance is met.&#x20;

<figure><img src="/files/OKu2a2UyxyOZzeEaCUQv" alt=""><figcaption></figcaption></figure>

### Finding a Match

Users will always be paired with a random opponent once matchmaking starts. Opponent pairing will be dependent on the user's pet level and the opponent's pet level.&#x20;

* Tier 10: Level 1 \~ 10&#x20;
* Tier 9: Level 11 \~ 20
* Tier 8: Level 21 \~ 30
* Tier 7: Level 31 \~ 40
* Tier 6: Level 41 \~ 50&#x20;
* Tier 5: Level 51 \~ 60
* Tier 4: Level 61 \~ 70
* Tier 3: Level 71 \~ 80
* Tier 2: Level 81 \~ 90
* Tier 1: Level 91 \~ 100&#x20;

In the scenario whereby there are no available opponents within a given tier, the scope of search will gradually expand to the next tiers above and/or below.&#x20;

<figure><img src="/files/aHjifMEefYiygcFmOmFM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://liquidx.gitbook.io/pixelpals-documentation-season-0/duel-coming-soon/matchmaking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
