Super Bowl boxes also known as Super Bowl Squares is a game of community fun where users can win prizes based on the scores of a football game.
In the following example, the winning boxes are highlighted. As an example, the final score of the game ended Chiefs: 17, Eagles: 21 and so the winning box for the final round was Chiefs: 7, Eagles 1
The creator of the game can kick-off the randomizing of box scores at any time. Once this process is kicked off, boxes can no longer be claimed. If an empty box wins, the first player in the game to claim the reward will receive 50% of the reward for that box -- the other 50% will go towards keeping the dapp operational.
Random numbers are provided by Chainlink VRF. This ensures that nobody can influence the randomness of the numbers produced.
There is a refresh button on the scoreboard of the game. Clicking that button calls Chainlink Functions to reach out to the ESPN sports API for the latest scores. The scores are then recorded onchain to be used by the dapp. There is a 10 minute cooldown between refreshes to mitigate abuse of the network.
Create a contest for your friends (or strangers) to join! Pick a football game to power your contest. Once all boxes are bought, generate random numbers. Update the scores onchain and let the winners claim their prizes!