← All postsFinishedA polished piece. Edited, tested, shipped.
Lotería de los Pueblos: rescue the beloved game we grew up with and learn a new language
Rob MonteroInclusion · AI
TL;DR Play: app.loteria.to · Free, no accounts, no app store, no betting. You play with frijoles.
Lotería is the picture bingo a lot of us grew up with: a deck of 54 illustrated cards, a cantor who calls them out, and a table full of people marking their tablas with beans. Lotería de los Pueblos keeps that game and changes one thing: the cantor speaks five languages, and every player chooses which one they hear.

Why we built it
Three ideas drive every decision in the game, and when they conflict, the earlier one wins.
Learn languages by playing. When a card is called, you hear its name in the language you chose and pick the right spelling from three options. Hear, choose, see the word land on your cartón. Repeated across a round, that is a real vocabulary exercise, and it never feels like homework because it is lotería.
Inclusion, and easy to add languages. Náhuatl, Maya yucateco and Quechua (Cusco-Collao) sit next to Spanish and English as equals. Each player picks a spoken language separately from the app language, in the same room, so a grandmother can hear Maya while her grandson hears Spanish at the same table. Adding a language is a content change (names plus audio clips), not a code change.
Family and friends game time. One QR code gathers the room. The cantor is automatic, so nobody has to run the game. A wrong pick gets a gentle «¡Casi!» and a second try. Points only break ties. There are no prizes, no money and no accounts.

A note on the Indigenous-language names
I want to be upfront about this. The Náhuatl, Maya yucateco and Quechua card names were drafted by AI agents working from dictionary and grammar references, and every name is stored in the deck with its source and status. For each language, a second agent's only job was to challenge the first one's drafts against those sources. That is a useful filter, but it is not the same as a native speaker. None of these names has been reviewed by a native speaker yet, and the voices are synthetic, which the game says openly. If you speak one of these languages and something sounds wrong, I want to hear from you. Corrections are the most valuable contribution this game can get.
How we built it: three hours on Build Day
This was a contest build. The first commit landed on October 26 at 5:27 PM, and by about 8:30 PM the game was deployed and playable: 57 commits in roughly three hours.
We split the work in two. César Rodríguez owned the game: the rules, the engine contract and the deck. I owned the app: scaffold, networking, screens, audio playback and deploy. A shared contract file listed who owned which paths and set one rule: if it decides something about the game, it lives in the engine and has a test named after its rule number. The UI never re-implements a rule; it calls the engine.
Claude Design: the look before the code
The «Feria de noche» look started as a Claude Design canvas with one board per screen: home, language, lobby, cantor, play and win. That canvas became the binding design reference, and its colours, fonts, radii and shadows went into a single design-tokens file. The orchestrator republished the canvas 14 times during the build as screens changed, so every agent was working against the same picture.
Claude Code: one orchestrator, 41 agents, one loop
My side ran as a single Claude Code session acting as the orchestrator. It did not write the app itself. It split the work into milestones (scaffold, engine, content deck, realtime transport, cantor screen, player join, home and print, platform API, end-to-end tests), handed each one to a builder subagent with an assigned set of paths, and then handed the result to a second subagent whose only job was an adversarial review: find the bugs, the rule violations and the shortcuts.
That is the harness's loop: build, attack, fix, verify. In those three hours the orchestrator launched 41 subagents (36 on Sonnet 5.5, 5 on Opus 5.5), 11 of them adversarial reviewers, and sent 64 follow-up messages to running agents to close what the reviewers found. Only the orchestrator could commit, push and deploy, and Vercel would only build if lint, typecheck and tests all passed.
Midway through, César's rules arrived with changes that mattered: per-player spoken language, spelling picks, 2 and 1 points, a full-card win, rooms of 2 to 20, and a solo mode. The loop absorbed them in under an hour. Engine, host, player and solo mode were rebuilt against the new rules while reviewers kept checking contrast and accessibility on every screen.
What came out of those three hours:
- Rooms with a QR code, link or five-character code, carried over Supabase Realtime. The organiser's device is the only authority, and its messages are signed so a phone cannot impersonate the cantor.
- Five spoken languages, each card voiced ahead of time with Meta's MMS text-to-speech.
- Spelling picks and scoring, with cartones dealt so no two share more than 8 cards.
- Solo mode against computer players. An agent evaluated running a small language model in the browser and recommended against it: too heavy for an offline game, unreliable on iPhones, and liable to invent Indigenous-language words. The computer players follow simple rules instead.
- Two screen modes for the organiser («Solo pantalla» or «Jugar también»), light and dark themes, and contrast fixes from the accessibility audits.
- A Playwright end-to-end suite and a load-test harness that fills rooms with headless bot players.
The next day went to polish: card illustrations, share previews, better Spanish and English voices, and the rough edges that real games turned up. That is a story for another post.
How to play

- Open a room. On a laptop or TV, go to app.loteria.to, enter your name, pick a drawing and open a room. Choose «Solo pantalla» if that screen only calls the cards, or «Jugar también» if you want a tabla on it too.
- Join. Everyone scans the QR code, opens the link or types the five-character room code on their phone, then picks the language they want to hear. You need at least two players.
- Play. Press Empezar. The cantor calls each card once, at a pace you set from 6 to 20 seconds. Pick the written name that matches what you heard. The first correct pick scores 2 points, any other correct pick scores 1, and «¡Casi!» gives you one more try.
- Win. The first player to complete all 16 cards on their 4×4 cartón gets ¡Lotería! If two finish together, points break the tie.

No room handy? Solo mode pits you against computer players on one device. In a classroom without phones, print paper tablas instead. The organiser's screen works from the keyboard too: Space pauses, R repeats the call.

Lotería de los Pueblos is free and non-commercial. Gather your people, grab some beans, and start a room.