Cardstage
A poker game staged like a televised Main Event, against characters you learn to read.
Play Cardstage
Cardstage is a poker game I made, staged like a televised tournament. A $40 qualifier got you a seat in the Main Event, and you play it out day by day against a field of 6,214. Everyone across from you plays, talks and gives themselves away in their own way. I made it to practice poker, and to feel what it's like to sit across from people you're learning to read.
- Real no-limit Hold'em, a field of 6,214
- 51 pros and 10 famous guests among 115 people to read
- Free in a browser, on a phone too
How it's built
- Python
- One web page
- Render
- OpenAI's image models for the art
- ElevenLabs for the music, sounds and the booth
- 2,888 tests
The page
- Plain JavaScript
- The table, the camera, the sound and the scenes
The game
- Python, one run for each visitor
- Deals every hand and decides every chip
Each character
- Plays in their own style
- Gives themselves away only some of the time
The art
- Drawn with image models
- Each character from a written look
The sound
- Music that follows the pot
- Two commentators in the booth
Day by day
A run starts with a seat in a field of 6,214, with $9,705,200 for first, and plays out a day at a time until the final table.
- Between days the broadcast's cards say where you stand, with a new table draw and the prize money beside it
- Some draws put a far better player at your table early. The game calls it an unlucky draw
- The top 900 get paid. On the bubble it plays hand for hand, and the corner of the screen counts how many more have to go out
- From day three there's a 30 second shot clock, and a few time chips to buy more

Pros and famous guests
The letter on a pro's card is their rank. B is a tour regular, A is a top pro, and the nine with an S are the best in the world.
- The biggest names get a card of their own, and someone at the table says what they know about them
- Seven of them have a move you learn to beat. Søren rolls a doubling cube every hand and shoves wide on 64. Bet small into Kit and he goes all in. Fold to Astrid's re-raise and she does it more
- Famous guests get a walk-on before they sit down, and the crowd keeps talking about them once they do

People worth reading
After the first weekend the poker worked, but the people didn't. They all played off the same math, and their habits were only in their descriptions.
- Everyone plays like who they are, so their bet sizes and lines can be learned
- Most of them have a habit. Grant checks his watch, Mr. Trinh folds his hands and goes perfectly still, Kunle pats the phone in his shirt pocket, and each is right only some of the time
- Only a player's own face and habits know their cards. The music, the camera and the captions never do
- Your notes on someone only count what you saw when their cards turned over
Kunle alone is drawn 87 ways at the table, 29 poses from three sides.


It's a TV show
I wanted big hands to land like a broadcast, so the table got a director.
- The camera holds still for routine hands and moves in for big ones, and an all in with the cards up plays out as a sweat
- Music follows the pot, and every big name has a theme of their own
- Gil and Sid call it from the booth. Sid finished ninth in 1998, won a watch, and won't stop bringing it up
- I tried giving the cast voices and turned them off. Their lines are written to read at a glance
Winning it
Win the final table and the room goes up, with streamers, confetti, the bracelet and the money counting up, then everyone you knocked out on the way. Go out at the final table and you can stay to watch who wins.
Play it
I wanted a web game I could send to friends and family and put here, so the Main Event became a game of its own. It's live, and it's free, with no account.
- Everyone who opens it plays a run of their own, kept where they left it
- Today's seed gives everyone the same tables
- On a phone it puts one player on camera at a time

How it started
I started it on November 6 as poker on TV with an invented cast. The first two days were mostly about the people at the table.
- They started out almost real. By that evening I'd moved them to a graphic-novel look, so nobody looked uncanny
- They floated over the felt until I sat them behind the table's rail, arms on it


There's a story mode too
Before the Main Event stood on its own, it was the last chapter of a career. You start senior year in Austin at a $20 Friday game and work your way through eight cities to Las Vegas. The Main Event is the part that's out.
Screens and clips are from the launched game, run on my PC on November 24, with a few cut for length. I used a test key to get to the later days and the win. Everyone in it is invented.
