# Smart Contracts Documentation

The BracketGame8 contract manages a bracket-style tournament with 8 teams.The tournament consists of 3 rounds, with the first round having 4 matches between the 8 teams.

While the game is not activated, the players can bet on the results of the matches, using the BracketTicket8 contract. When the game is activated by an administrator, there will be no more bets accepted and the results of the matches can be set.

The winners of each match advance to the second round, which has 2 matches. The winners of the second round then compete in the final match of the third round to determine the winner and second place.

Optionally, the game can include a third-place match between the losers of the second round matches. This allows for the determination of the third place in addition to the winner and second place.


---

# 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://perfectpool.gitbook.io/perfect-pool/olympics-football/smart-contracts-documentation.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.
