Rocket Pool Tour

In Development
Next.jsReactTypeScriptTailwind CSSSupabasePostgreSQLUpstash RedisZodVitestElevenLabsVercel
Work with me
The Rocket Pool Tour homepage: the RPT logo, the next event in Las Vegas, and the line 40 elite players, 15 weeks, $1.5M+ in prizes, one groundbreaking new format

28 commits in the last 90 days · 197 all-time

The Rocket Pool Tour is a professional billiards league built around a new game, Rocket Run-Out©, created by World Champion and Hall of Famer "Rocket" Rodney Morris. I built everything the league runs on before its first rack is broken: the public site, the rules, the score tracker and rating system, and the private tools the founders use to sell the league to sponsors.

A sport with a scoreboard

Most pool is win or lose. In Rocket Run-Out every rack produces a number. A break and run scores 200, a dry break and run 150, a ball-in-hand run 100, and a miss scores 10 points per ball. Players shoot their own racks, so every shot is offense. The format comes in two versions: a 9-ball game for venues and leagues, and an 11-ball Pro game for the tour.

The Rocket Run-Out scoring system: 200 for a break and run, 150 for a dry break and run, 100 for a ball-in-hand run, 60 for a salvage after a scratch, and 0 to 50 for an incomplete run
Five outcomes, each one a number.

A score on every rack is the point of the whole project. It is what makes ratings, handicaps, leaderboards, and live betting lines possible in a sport that has never had them.

The RRO app: every rack, rated

The score tracker is live on the web. Choose 9 or 11 balls and 5 or 10 racks, then score each rack with four inputs: the break, ball-in-hand, balls pocketed, and the 8. The score updates as you tap. Finish a five-rack match and it counts toward your rating. The app page runs the real tracker on the real rules, with nothing saved, so visitors can try it before they sign up.

A full match in the live demo: five racks, 680 points.
  • One rules engine, written twice: a TypeScript mirror for instant feedback in the UI, and the same rules in Postgres, with a parity test that proves they agree
  • 60 unit tests on the scoring, match and rating math
  • Usernames as the public identity, and a leaderboard players opt into
  • Guest opponents in seat two, and native iPhone and Android apps on the same data model next

The database is the referee

No client can post a score. The app sends only what happened at the table, and a Postgres trigger computes the points. Ratings have no write policy at all: only the match-completion function can recompute them. A phone app, a modified browser, or a direct API call gets the same result as the official tracker.

The Rating and Handicap rules: a rating is the average of your best 8 of your last 11 matches on a 0 to 200 scale, and your handicap is 80% of 200 minus your rating, rounded to the nearest 5
Best 8 of your last 11 matches makes a rating. The handicap follows from it.
  • Your rating is the average of your best 8 of your last 11 matches, with fewer counted while you build a history
  • Handicap is 80% of the gap to 200, so a 120 player gets 65 a rack and a handicapped match still rewards skill
  • Calculated from raw scores only, and tracked separately for each game
  • The tour plays on raw points. The handicap is for venues and leagues

A pitch deck for every partner

Every brand the league pitches gets its own deck, with its logo on the cover and a case written for its industry: why an airline, a watchmaker, or a sportsbook belongs in pool, and where its name goes on the players, the tables, and the broadcast. Each deck is generated from a single partner record and an industry template, so a new deck is one new record. Sportsbook and technology partners get an extra integration slide.

A generated deck for a sample partner. Real decks go out one brand at a time.
  • More than two dozen bespoke decks across ten industries, all from one slide system
  • Each deck is shared by an unguessable link. It is rendered on the server, so a recipient's browser never receives another partner's terms
  • Deck links are kept out of search engines, referrers and caches, and internal previews are for team members only
  • A separate investor deck lays out the league's thesis, with ElevenLabs narration on mobile

A CRM built for the deal flow

The team portal turns those decks into a pipeline. Every partner appears as a card showing its deal status, how warm the lead is, the main contact, the latest note, and any funding secured. Open a card and you can move the deal, add contacts, and log calls, emails and meetings. Status changes are logged automatically.

The deal pipeline: totals for deals, active pipeline, closed won and funding secured, filters by status, industry and temperature, and a grid of partner cards
The pipeline at a glance, shown with sample partners.
A deal opened in a side drawer: the deck link, status and temperature controls, funding secured, notes, contacts and the activity log
Every deal in one drawer: status, contacts and history.
  • Search and filter by status, industry and lead temperature, with hot, active deals sorted to the top
  • Every write is a server action that checks the input, confirms the user is an admin, and is rate limited per user
  • Team members are managed from the portal, alongside subscribers and email assets

Engineering details

  • Row-level security on every table, with each admin check going through one Postgres function, so a policy can't quietly fall back to letting everyone in
  • Privileged database functions trust the logged-in user's session, never an ID passed in the request
  • Tutorials stream from Supabase Storage with range requests, so the video starts playing before it has fully downloaded
  • Magic-link and Google sign-in through Supabase Auth, with every team page and deck preview checked for admin access on the server

Technical Stack

Next.js 16 with the App Router and React 19 server components, TypeScript and Tailwind CSS 4, deployed on Vercel. Supabase provides Postgres with row-level security, auth and storage. Scoring and ratings run as Postgres triggers and SECURITY DEFINER functions, mirrored in TypeScript and tested with Vitest. Zod validates server actions, and Upstash Redis rate-limits them. Solo-built for the founders: brand site, rules, score tracker, CRM and deck engine.

Work with me

Want something like this built?

I take on client work — sites, apps, AI systems, and devices. Tell me what you're imagining and I'll tell you how I'd build it.

Work with me →