Skip to main content
Ade Olonoh

Personal apps

Sunrun

A live poker tournament tracker I built for the WSOP.

Live prototypeOpen full screen →

Nothing is saved. Refresh to start over.

Sunrun tracks live poker tournaments on a Vegas trip. The Today tab shows a dark felt card for each tournament you’re in, with what you’ve invested, the day you’re on, when late registration closes, and four buttons: Rebuy, Bag Day, Bust and Cash. Starting a tournament is one tap from its card. So is a rebuy, which assumes the buy-in. Nothing asks “are you sure”. Every action happens at once and leaves an undo banner. My previous trips were a jumble of spreadsheet entries, Apple Notes and paper receipts.

The tournament log gets opened more than any other screen: level, blinds, chip stack and big blinds on a timeline of the night. The chip-count keypad takes poker shorthand, so 88k and 1.5k/3k are four taps each. Notes are free text with a timestamp. My Events lists every entry with its finish, and Stats shows net profit, ROI, hours, cashes and final tables for all time or a single trip.

The prompt

Give this to a coding agent to build your own Sunrun. The prompt and the prototype are MIT licensed.

prompt.mdDownload
Build me a live poker tournament tracker as a native mobile app, for the days I'm in a casino playing tournaments. It answers one question without leaving the table: where do I stand right now? Everything is built around logging from the table, with fifteen seconds between hands and one hand on the phone. One tap to start, one tap to rebuy, four taps to log a chip count, and no "are you sure". The first screen is Today, with a dark felt card for each tournament I'm in.

## Ask me first

- Where the data lives. Either one local store on the phone, or a hosted database with sign-in so a laptop and a phone see the same rows. Pick local on "you choose".
- Whether to include a schedule import: a JSON file of a property's schedule, upserted by venue, event name and date so a re-run updates rows instead of duplicating them. Pick yes on "you choose"; without it, the schedule is only what I add by hand.

## What I want

**Today.** The tab the app opens on. An Active section with one dark felt card per tournament I'm in: a pulsing live dot, a `Day 2 of 3` pill, venue and event name, and one big number, Invested, broken down beneath it (`$1,500 entry · 1 rebuy`). Late registration close sits opposite. Then four actions, Rebuy, Bag Day, Bust and Cash, and a row into the Tournament Log. Below that, everything else on today's date: parchment cards for tournaments I haven't entered, with buy-in, start time and late reg over a full-width Start tournament button, and finished entries stamped Cashed or Busted with the winnings and place, or the loss.

**Schedule.** Everything coming up, grouped by day, with a date picker to jump. Compact rows: venue pill and start time, event name and buy-in, then one wrapping line of the rest (`LR 9:20 PM · 3-day · 60m levels · Unlimited · $3M GTD`). This list is long; a Vegas summer has fifty things a day. A plus button adds a custom event.

**My Events and Stats.** My Events is history: a felt summary band (net profit, ROI, events, cashes, ITM) over every entry with its venue, date, buy-in, finish and result. Stats has Net Profit and ROI set large, a grid of Events, In the Money, Final Tables and Hours, then By Venue and By Game rows, each with a thin bar scaled against the biggest number in its group. Both filter by trip.

**Tournament Log.** Pushed from an active card, and the screen I open most. A felt card on top: level, blinds, a very large chip stack, and big blinds. Below, a timeline: chip updates as compact rows (`Lv 8 · 600/1.2k · 88k · 73 BB · 4:15 PM`) and notes as plain paragraphs with a time. Buttons: Chip Update and Note. When the tournament ends the card freezes into the result, and notes written afterwards fall under an "After the session" divider with a date instead of a time. Export turns it into plain text.

## What it is not

- No hand histories, ranges, opponents or HUD stats.
- No bankroll ledger, staking or backers.
- No cash games. Tournaments only.
- Connected to nothing: no live tournament clock, no room's API, no scraping. Everything in it is something I typed or imported.

## Rules that matter

- Starting a tournament is one tap from its card, and Rebuy is one tap that assumes the buy-in.
- Undo banners, never confirmations. Rebuy, bag and start-day happen at once, with Undo at the bottom for a few seconds.
- Total invested is always derived: buy-in plus the rebuy records. Net is cash minus tip minus invested.
- A multi-day tournament has a day clock and Bag Day stops it. The card flips to Bagged and its actions become Start Day 3, Bust, Cash.
- Final table is derived: ninth or better. No toggle.
- The chip-update keypad is custom and the most important interaction in the app. Four fields (Level, SB, BB, Stack) over a keypad whose fourth column is `1k`, `100k`, `1M` beside a decimal point, so `1.25` then `1M` is one and a quarter million. A magnitude key completes the field and advances; a sane stack in the last field saves and closes with no Save tap. Level pre-fills to one above the last logged.
- Numbers read the way players talk: `1.5k/3k`, `88k`. Big blinds floored, never rounded up.
- Dates are Las Vegas dates whatever timezone the phone is in. Money is whole dollars.
- Data: `venues` (name); `tournaments` (venue, name, game, buy-in, date, start time, late-reg close, days, level length, re-entry policy, guarantee, is-custom); `entries` (tournament, trip, status active/busted/cashed, cash, tip, finish, field size); `entry_days` (entry, day number, started, ended); `rebuys` (entry, amount, logged); `log_entries` (tournament, kind level/note, logged, level, blinds, stack, text); `trips` (name, dates). Live means a day is open; bagged means none is.
- It starts empty: "No tournaments scheduled for today."
- Accessibility: 44-point targets everywhere, the action pills and keypad keys especially; Cashed and Busted are words, not only colours; reduced motion stops the pulse.

## How it should feel

Casino felt, taken literally. A deep green ground dark enough for a dim room, parchment cards for anything scheduled or finished and dark felt for anything live, so you know at a glance what's happening. One muted gold, like a chip edge, for live indicators, primary buttons, section headers and big money numbers.

## Building this

This is a mobile app. Build one that installs and runs on a phone, not a web page or a single HTML file. If the spec leaves the operating system or framework open, pick one and tell me which. The prototype is a web mock of it: a reference for layout, copy and behaviour, not code to port.