# How it works

**FootPool** utilizes the classic **1 X 2** betting system, a well-known format in sports betting, particularly in football. Each week, **FootPool** provides a list of all football matches scheduled for that week. Users can view the upcoming matches and their schedules on the **FootPool** platform, making it easy to plan their bets.

For each match, users must predict one of three possible outcomes:&#x20;

* **1:** the home team wins.
* **X:** the match ends in a draw.
* **2:** the away team wins.

Users **place their bets** by selecting the outcome they believe will occur for each match. To participate, users compile their predictions into a single bet slip, which includes their chosen outcomes for all the matches listed for that week. This process is similar to filling out a quiniela card, where multiple matches are included in a single bet slip.

Once the bet slip is completed, users **submit their bets** to the platform. The submitted bets are collected into a betting pool for each match, and the platform accepts bets up until the scheduled start time of the first match of the week. FootPool integrates with Chainlink oracles to fetch real-time match outcomes and results from reliable APIs. These oracles provide accurate and tamper-proof data for each match, ensuring the integrity of the betting process. After all matches for the week are completed, the results are automatically retrieved and recorded on the blockchain.

The platform then **compares users' predictions with the actual match outcomes** to determine the number of correct predictions on each bet slip. FootPool follows a tiered prize structure similar to the Spanish quiniela, where users with more correct predictions receive higher rewards. For example, users who correctly predict all matches win the top prize, while users with a slightly lower number of correct predictions receive secondary prizes. The prize pool, consisting of the total amount of bets placed for the week, is distributed among the winners based on the accuracy of their predictions.

Payouts are managed by smart contracts, ensuring a **secure and transparent distribution of winnings**. Winners receive their rewards directly in their digital wallets, with no need for intermediaries. This automated and transparent payout system enhances user trust and satisfaction.

FootPool's weekly betting cycles ensure continuous user engagement. By offering **new betting opportunities each week**, users are encouraged to return regularly, fostering a dynamic and active community. This consistent interaction not only enhances user retention but also contributes to the growth and vibrancy of the **FootPool** ecosystem.

FootPool combines the excitement of traditional sports betting with the security and transparency of blockchain technology. By adopting the classic 1 X 2 betting system and integrating Chainlink oracles for real-time match data, FootPool provides a fair, engaging, and innovative betting experience. This unique approach is poised to attract a large user base and significantly impact the blockchain and sports betting landscapes.
