Back to work

alkaops builds systems for repeated work. This is one.

Built by Alperen at TrendAgencyA live draft lottery

We turned the draft lottery into a game show.

For
The agency's private fantasy basketball league, 18 managers
The night
21 September 2026
Built with
React, TypeScript, Cloudflare Pages Functions and D1, WebAudio, Python and ffmpeg
The room display on draft night: the manager on the clock, the last picks and the draft board.
  • Room display
  • Console
  • Pick screen
  • Roster card
Pull it: the same draft, with the system.Push it back: the same draft, on paper.

What the draft would take on paperYou’d draw lots to set the order for 18 managers, then run the clock and track 234 picks on the board and in every roster.

The app drew lots to set the pick order for 18 fantasy basketball managers and ran the draft across four synchronized screens.

How it was built

From a table on a white page to a night the room could watch.

  1. 01

    The job

    Every season the agency runs a private fantasy basketball league, and the draft is the one evening the whole team gathers around it. The year before, it ran on a plain table on a white page. It worked, but a pick was just a new row. On paper, 18 managers and 234 picks mean a clock, a board and every roster to keep straight.

    The year before, recreated
    RoundPickManagerPlayer
    215M4G · #27
    216M3C · #31
    217M2F · #29
    218M1G · #34
    31M1F · #30
    32M2G · #33
    33M3C · #38
    34M4F · #36
  2. 02

    What we built

    Four screens that share one live state. The room display runs the show: an opening, a lottery for the draft order, the board and a reveal for every pick. The commissioner's console runs the night. Each manager picks from a private link on their phone, with a hidden shortlist and five seconds to change their mind. After the last pick, everyone gets a roster card to share. Alperen designed and built it solo, from the game rules and interface to the sound and the promo videos.

    The room display: the manager on the clock, the latest picks and the full draft board.
    The room display runs the show: the board, the clock and a reveal for every pick.

    Screens shown with sample managers.

  3. 03

    How we checked it

    Most of the work went into keeping the night from stalling. A pick sent from a phone is checked on the server against the live state, so a stale screen can't take a player who's already gone. If the clock runs out, the console picks for the manager from the best available players at the positions they still need. The sound engine makes any effect it can't load. On 21 September, no one lost a turn.

    • Nothing on the console counts until it's confirmed
    • Phone picks checked against the live state
    • Clock runs out: best available at a needed position
    • Connection drops: a single-file build keeps the show running
    • Managers who lost a turn0

    A stale phone sends a pick→Checked against the live state→Player already gone

Numbers

14

plain table on a white page, the year beforesynchronized screens, one live state

234

picks over 13 rounds, by 18 managers

71min

for the whole draft, about 18 seconds a pick

0

managers who lost a turn

Measured on the night, 21 September 2026.

The night, in order

The night

Four moments from the room display.

  • Stills from the show
  • Sample managers
The opening title card on the room display, with the commissioner at a podium.
1The openingThe night opens like a broadcast.
The lottery screen: one envelope card for each manager, revealed last to first.
2The lotteryThe draft order is drawn live, envelope by envelope.
A pick reveal: the manager, the player and a kit in the club colors, under falling confetti.
3The pick is inLights drop, and the commissioner reads the name.
All the rosters on the room display after the last pick.
4After the last pickEvery roster on one screen, and a card for each manager to share.

Your event

Tell us what you want to present or decide at your event.

Whether your event is a one-off or a regular fixture, we build a system that runs safely and looks good in the room. We can make it a game or keep it simple.

The call is with Alperen, who'll lead the work.

Back to work