System Information

    KaliArena Competition System

    Team-Based, Mobile Registration Platform

    System Goals

    Fairness & Transparency

    Automatic bracketing based on registered athletes

    Real-Time Display

    Timers, scores, and violations shown on TV for athletes, referees, and spectators

    Efficiency

    Teams register players via web, upload lists of players

    Scalability

    Supports barangay-level teams up to national tournaments

    System Components
    Key features and modules of the competition system

    1. Team & Player Registration (Mobile-First)

    Features:

    • QR code login for team managers
    • Bulk upload option (CSV or form)
    • Auto-validation (age/weight category checks)
    • Mobile PWA (works offline, syncs when online)
    • Confirmation slip sent to coach's phone

    2. Automatic Bracketing Module

    Features:

    • Randomized or seeded bracket generation
    • Configurable formats: single/double elimination
    • Auto-advance winners
    • Bracket visualization on TV and admin dashboard

    3. Match Timer & Display

    Features:

    • Configurable round length (e.g., 1 minute × 5 rounds)
    • Countdown timer visible on TV
    • Table Officials controls via tablet/phone
    • Real-time sync via WebSocket/MQTT

    4. Violation Counter

    Features:

    • Table Officials tap violation type on mobile app
    • Each violation increments athlete's counter
    • Thresholds configurable (e.g., 3 = disqualification)
    • Live violation tally on TV

    5. Advantage Point Module (New)

    NEW

    How it works:

    • First point scored in each round → referee/table official taps athlete's name
    • System assigns "Advantage Point" to that athlete for the round
    • If match score ends in a tie, athlete with advantage point wins
    • Advantage point indicator shown on TV (⭐ beside athlete's name)
    • Stored in database for match reports and analytics

    6. Admin Dashboard

    Functions:

    • Monitor team registrations
    • Generate brackets
    • Assign referees
    • Export results (PDF/CSV)
    • Advantage point tracking in match logs

    7. Spectator Display (TV Screen)

    Layout:

    • Top: Match info (team name, athlete names, category, round)
    • Center: Countdown timer
    • Bottom: Violation counters + scores
    • Side: Bracket progression
    • Advantage point indicator (⭐ or "ADV") beside athlete's name
    • Color-coded athletes (red vs. blue)
    Workflow Example
    1

    Team Registration: Olongapo team coach enters players via phone

    2

    Bracket Generation: System auto-generates bracket with team-based grouping

    3

    Match Start: Table Officials trigger timer → TV shows countdown

    4

    First Point: Timer pauses → referee/table official confirms scorer → system assigns advantage point

    5

    Violation Logging: Table Officials tap violations → instantly reflected on TV

    6

    Match End: Timer stops → result recorded → bracket auto-updates

    7

    Tie Scenario: If scores are equal, athlete with advantage point wins

    8

    Next Match: Auto-prepared seamlessly

    Suggested Tech Stack

    Backend

    Supabase/Postgres

    Frontend

    Next.js (React)

    Mobile App

    PWA for team registration

    Real-Time Sync

    WebSockets/MQTT