TeamStat Insights
In May 2025 I built a scouting app in Firebase Studio for the Thomson Division at the Michiana Premier Event, where my team competed. It lists 48 of the division’s teams in a table you can sort and search, and two simulators play out a match or a whole competition from each team’s scores.

Scouting a division
The team list, my team MakEMinds (23786) included, is fixed in the code. The app fetches nothing at run time. Each team has four score and rank pairs, which the app labels Round 1 through Round 4.
The dashboard charts every team’s Round 1 score above the table, and Compare Teams puts two teams side by side as bar charts. An info icon on a column header asks a Genkit flow running Gemini 2.0 Flash to explain what that statistic means and how a team might improve it.
Simulating an event
The match simulator takes two alliances of two teams and scores each team as its Round 1 number times a random factor. The Score Swing slider sets how far that factor can move. At the default of plus or minus 20 percent, a team lands anywhere from 80 to 120 percent of its base.

The competition simulator plays 10 qualification matches per team in two-team alliances, with outcomes drawn from the combined Round 1 scores. It then runs a double-elimination playoff for 8 alliances of 2 teams, taken from the top 16. The swing slider applies to the playoff matches only.

Pages and data
- Pages
- Dashboard, Compare Teams, Simulate Match, Simulate Competition and a page for each team
- Data
- 48 teams, each with four score and rank pairs