ASF Alumni Flag Classic: Tournament & AI OCR
Adaptive brackets with automatic BYEs, jersey-number rosters, printable scorecards, and Gemini photo stats.
We engineered the end-to-end tournament platform for the ASF Alumni Flag Football Classic, unifying team registration, live brackets, referee scorecards, and AI-powered stat extraction.
Interface & system screens
5 capturesThe engineering challenge
Running a single-day tournament for 4 to 16 teams demanded flexible bracket generation with automatic BYEs, field scheduling, pre-filled referee sheets, and eliminating manual stat entry from paper scorecards.
Implemented architecture
We built a Next.js 16 platform featuring a dynamic single-elimination draw engine, roster management with email invites keyed by jersey number (#), printable match scorecards, and Gemini multimodal analysis from AWS S3 that reads scorecard photos to populate per-player passing, rushing, receiving, flag, and sack stats.
Delivered capabilities
- Adaptive 4-to-16 team single-elimination draw and bracket engine with automatic BYEs, fields, and kickoff slots.
- Gemini multimodal OCR pipeline reading uploaded S3 scorecard photos directly by player jersey number (#).
- Public live bracket and sortable player/team leaderboards alongside payment-receipt verification.
- Role-based Better Auth supporting passwordless Magic Links for players/captains and referee credentials.