# RefereeAI

> Match review and player recap app for court and box sports. Film a game on one phone and get the score, key moments, 3 measured notes, and an AI-readable JSON + Markdown recap.

## Live App
- [RefereeAI Player App (Web / PWA)](https://refereeai.xyz/play): Sign up, create or join a game with a 4-letter code, record or pick a video clip (5 s to 5 min), keep score, and view the recap. Installable on iOS Safari ("Add to Home Screen") and Android Chrome ("Install app").
- [Join a Game](https://refereeai.xyz/play/join): Enter a 4-letter room code from the host and confirm adult consent to appear in the game video.
- [Machine-Readable App Manifest (JSON)](https://refereeai.xyz/play/app.json): Structured `refereeai.app.v1` JSON describing routes, supported sports, API actions, recap output schema, and mobile bundle IDs.
- [Web App Manifest (PWA)](https://refereeai.xyz/play/manifest.webmanifest): Standard PWA manifest for home-screen install on iOS and Android.

## Supported Sports (Player App)
- `box_cricket`: Box cricket (2 teams, 4 to 6 overs, 4 to 8 players per side; tap runs and wickets).
- `tennis_singles`: Tennis singles (1v1, tap each point).
- `table_tennis`: Table tennis (1v1, tap each point).
- `wall_tennis`: Tennis against a wall (solo, automatic sound-based hit, rally, and best streak counts).

## Site Pages
- [Home](https://refereeai.xyz/): Match review overview and narrated pro rally preview.
- [Clips](https://refereeai.xyz/demo/): Interactive 6-sport match review clips (tennis, volleyball, badminton, table tennis, pickleball, cricket).
- [Players](https://refereeai.xyz/players/): Player review and recap overview.
- [Pricing](https://refereeai.xyz/pricing/): Plans and pilot access.
- [About](https://refereeai.xyz/about/): Product story and scope.
- [Privacy](https://refereeai.xyz/privacy/): Data handling, retention, and immediate delete rights.

## Full Specification
- [Full AI Reference](https://refereeai.xyz/llms-full.txt): Complete API contract (`POST /api/play`, `POST /api/upload-done`, `GET /api/job-status`), `refereeai.recap.v1` JSON schema, and mobile publishing notes.
