← Back to Systems CatalogProprietary Architecture

PitchBuddy

Operating System for Small-Sided Football Venues & Hands-Free AI Match Day Companion

https://pitchbuddy.cruisehq.fun
Production
PitchBuddy Production Interface
Voice-First Hands-Free
Match Operations
Graph-Preserving Algorithm
Queue Balancer
Server-Authoritative Clocks
Match Authority
Bachs Ring-Fenced Escrow
Prize Ledger

Executive Architectural Overview

End-to-end venue management system transforming paper-based 5-a-side pitches with algorithmic team balancing, automated tournament brackets, server-authoritative timers, and voice AI PA announcements.

Core Architectural Accomplishments

Designed instant-queue team balancing algorithm shuffling check-ins into balanced rosters while preserving friend groups for on-the-spot pickup nights.
Engineered hands-free match-day operations driven by a Gemini Live voice companion controlling server-authoritative timers and venue PA announcements.
Built automated tournament builder supporting round-robin, knockout brackets, discipline cards, and live TV scoreboard synchronization.
Integrated Bachs payments for digital competition entry collection and ring-fenced prize pool ledgering.

Deterministic Guarantees

Concurrency Model
Server-authoritative match clocks, atomic queue mutations, and ring-fenced escrow payouts.
AI & Protocol Layer
Gemini Live voice companion for hands-free audio announcements and scorekeeping.
Database & Infrastructure
Multitenant PostgreSQL (PGlite + Supabase), WebSocket live scoreboards, offline-first mobile check-in.
SUBSYSTEMS • ARCHITECTURAL MODULES

Integrated System Components

MODULE 01

Algorithmic Queue & Draw Balancer

Instantly balances teams based on player profiles and ratings, with smart clustering that keeps friend groups on the same side.

MODULE 02

Hands-Free Gemini Live PA Companion

Voice-driven referee assistant that announces match starts, remaining time, next queue calls, and score updates over the venue PA.

MODULE 03

Automated Tournament Engine

Procedurally builds and runs knockouts, round-robins, and multi-pitch leagues with server-authoritative timers and live venue TV sync.

MODULE 04

Ring-Fenced Bachs Prize Ledger

Collects team entry fees digitally and ring-fences tournament prize pools with automated escrow release upon championship completion.

MODULE 05

Server-Authoritative WebSocket Match Clocks

Synchronizes match duration and overtime across mobile devices, pitchside kiosks, and wall-mounted TV scoreboards.

PRODUCTION STACK • VERIFIED

Technology Architecture Matrix

Frontend & Runtime
  • Next.js
  • Tailwind CSS
  • TV Scoreboard Display Canvas
  • Mobile QR Check-In UI
  • Live Standings Table
DB & Concurrency
  • Multitenant PostgreSQL (PGlite + Supabase)
  • Atomic Queue Mutations
  • Server-Authoritative Match Clocks
  • Bachs Ring-Fenced Prize Ledgers
  • Tenant-Isolation RLS
AI & Realtime
  • Gemini Live Voice Companion
  • Automated PA Broadcast Synthesis
  • Hands-Free Voice Match Management
  • Realtime WebSocket Scoreboards
Payments & Protocols
  • Bachs Digital Entries
  • Cash-at-Venue Reconciliation
  • Automated Escrow Prize Payouts
  • Refund & Discipline Ledgers