Case study N° 01 · Sports

Quick Plays

An offline-first play designer and playbook app for basketball and football coaches.

Works offline
100%
Every edit is saved on the device first, then synced to Supabase once a coach signs in.
One designer
2sports
Courts and fields share the same timeline, playbooks and rosters.
To export MP4
0servers
ffmpeg.wasm turns plays into video right in the browser, so there’s no server to pay for.
Play designer: Spread 4 Verticals drawn against two-high coverage, with routes, defensive zones, notes and a step timeline
Fig. 1|Spread 4 Verticals against two-high coverage. Routes, defensive zones and coaching notes share one step timeline that players can scrub.

Why I built it

Most coaches still draw plays on a whiteboard or a sheet of paper and hope the players remember them. The play-design tools out there tend to be expensive or desktop-only, and none of them tell a coach whether anyone actually studied the plays.

What I built

Quick Plays is a tablet-first web app for designing animated plays on a court or field. Coaches organize plays into playbooks, manage rosters, plan practices and share plays with their players. Then the app shows who watched, who took the quiz and who passed.

  • A play designer with players, cuts, screens, passes and dribbles laid out on a step-by-step timeline that can be scrubbed and replayed.
  • Playbooks, rosters, practice plans, call sheets, scouting reports and a view just for players.
  • Share links with preview images, plus a film-study tracker for players.
  • Plays export as MP4 right in the browser with ffmpeg.wasm, so there’s no video server to run.

The tricky part

Gyms rarely have good Wi-Fi, so the app had to work offline first. Every change is saved on the device (IndexedDB, through Dexie) before anything else happens. When a coach is signed in, those changes sync to Supabase Postgres, protected by row-level security, and realtime subscriptions keep their other devices up to date. Undo and redo work across the whole designer, using a Zustand store with history (zundo).

How it’s built

  • Strict TypeScript, with CI on every push: linting, type checks, unit tests in Vitest and end-to-end tests in Playwright. Errors go to Sentry and product analytics to PostHog.
  • A static export on Cloudflare Pages that deploys from Git, with Supabase migrations versioned in the repo.
  • Stripe handles billing for the paid tiers.

Where it stands

It’s live at quickplays.app, with a demo mode for both sports. An App Store release is next on the list.

Figures

Practice planner: a drill library dragged onto a timed practice timeline, with plays attached to team periods
Fig. 2|The practice planner. Drills drag from the library onto a timed timeline, and team periods carry the plays they install.

Methods

Stack
Next.js 14, TypeScript, Tailwind, Zustand, Dexie / IndexedDB, Supabase, Stripe, ffmpeg.wasm, Cloudflare Pages, Playwright, Vitest.
Tests
Vitest unit tests and Playwright end-to-end, in CI on every push.
Status
Live since May 2026. Coaches, on the sideline tablet.