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.

Last updated