> For the complete documentation index, see [llms.txt](https://docs.swappi.io/swappi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swappi.io/swappi/products/lottery/rules.md).

# Rules

Here are the rules to play in the Swappi Lottery:

1. To participate in Swappi Lottery, you must first buy a lottery ticket.
2. Each ticket allows you to participate in the next round.
3. There's a round every 24 hours.
4. In every round, 6 numbers and randomly drawn out.
5. To win, your lucky numbers must consecutively match from left to right the drawn out numbers. The more numbers that match, the more you win.\
   \
   In the following example, the lucky numbers from Player A matched 3 of the drawn out numbers (8, 3, 2, 7, 9, 4). While Player B had 3 lucky numbers that matched the drawn out number, they are considered invalid since the lucky numbers, starting from the left, are non-consecutive.\
   \
   ![](/files/xZB8RUBQD0h7SWWBnnv6)\
   \
   **Note**: Non-consecutive numbers that match won't be considered.
6. The prize pot is divided among all winners that matched. In this case, Player A will wins 3,730.8482 PPI that will be divided among all winners from that round.\
   \
   ![](/files/i6YEk68FWK5RLzd0n772)

{% hint style="info" %}
For a limited time, starting on July 11th, 2022, Swappi will inject 100,000 PPI per week to the weekly lottery prizes!
{% endhint %}

Time to have some fun with Swappi Lottery!


---

# 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://docs.swappi.io/swappi/products/lottery/rules.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.
