What it is
Dibs is a virtual card table for playing games with friends when nobody has a deck of cards.
Everyone joins from their own phone, gets their own hand, and plays the games they already know, without needing an account or a physical deck.
Why I made it
I wanted a way to play cards with friends without needing someone to bring an actual deck.
But I didn’t want to build another card game that just handles everything for you.
Part of the fun of playing cards is actually playing with them. Shuffling the deck, offering someone a cut, dealing the cards, and deciding how you want to play.
Take Euchre, for example. You can offer the person to your right a cut, deal everyone their cards in two passes, and play with whatever house rules your group prefers.
I wanted to keep all of that.
Not just the game itself, but the little things that make playing cards with friends feel like playing cards with friends.
So instead of building a bunch of separate games with rigid rules, I decided to build the table itself.
How it works
One person creates a lobby, shares a six-character code, and everyone else joins from their phones. There’s no account to create, just pick a name and grab a seat.
Dibs supports 2–8 players, with different decks and game setups depending on what you want to play.
You can shuffle, cut, deal, draw, flip, peek at, and play cards. Your hand stays private, and the server only sends each player the cards they’re supposed to see.
There are presets for Euchre, Texas Hold’em, six-card Golf, and Blackjack, along with a blank table for playing whatever else you can come up with.
The presets set things up and help guide you through the usual steps, but they don’t take over the game. You’re still responsible for playing by the rules, deciding who won, and keeping things moving.
There’s also a scoreboard, and if you lock your phone or lose connection, you can rejoin without losing your seat or cards.
The idea is to make the cards digital while keeping the experience of playing with them as close to the real thing as I can.
Where it’s at
Dibs is live and playable, although it’s still in its early releases.
The core card handling, multiplayer lobbies, scoring, and game presets are all in place.
There’s still room to improve how everything feels on a phone. Right now, card interactions use taps and menus rather than dragging cards around, and some of the more complicated game mechanics are deliberately left to the players.
Games are also temporary. Lobbies are kept in memory, so a server restart ends any games in progress.
I want to keep improving the experience without losing what I made Dibs for in the first place: giving people a table, a deck of cards, and the freedom to play however they want.
Changelog
0.0.1latest1 change
changed
- Dibs now listens on port 3180 in production (cloudflared routes
dibs.mobasity.comtohttp://dibs:3180), and on 3181 for local development, both withgo runand the Docker dev setup.
0.0.027 new
added
- A plain landing page with Create Lobby and Join Lobby.
- Lobbies for 2 to 8 players: create one with a name and a game, share the six-character code or link, and others join from their phones with just a name, no account.
- A lobby room with clockwise seats, teams, ready markers, who’s connected, renaming, and owner controls to move players, set teams, change settings, hand over ownership, remove someone or end the lobby.
- Staying in the game through refreshes, app switches, locked phones and lost signal: the browser keeps a private session, reconnects on its own and gets the full current table back.
- Protection against guessing lobby codes: attempts are limited per address, and a client that guesses too often finds no lobbies at all for a while.
- Abandoned lobbies close by themselves: after 2 hours with nobody connected, or 6 hours without any activity.
- Real decks: standard 52, 52 plus jokers, Euchre’s 24 (9 to Ace), a 108-card color deck for UNO-style games, several decks combined, or a custom pick of ranks and suits. Every physical card is distinct, even two Aces of Spades from two decks.
- Card handling that works like a real table: shuffle (with a cryptographically secure shuffle), cut at a chosen depth, draw, deal, move, flip, peek, play into piles and slots, swap into a grid, gather everything back, and draw blind from another player’s hand when the table allows it.
- Dealing as people really deal: pick the recipients and their order, clockwise or counterclockwise from the dealer’s left or right, any number of passes, and packet sizes per player and per pass (such as 2-3 then 3-2), all at once or one packet at a time.
- Offering the cut: the dealer offers a chosen player the cut, and nothing is dealt from that pile until they cut or decline.
- Hidden cards never leave the server: each phone receives only the cards its player may see. Others’ hands, face-down cards and the deck’s order are sent as plain counts and backs, with nothing that could identify or track a card.
- The table on your phone: shared piles on the felt, the other players’ hands as card backs, your own hand and grid at the bottom. Tap a card or pile to see what you can do with it; nothing needs dragging.
- Euchre, guided from shuffle to 10 points: partners across the table, the cut offered to the dealer’s right, a real two-pass deal from the dealer’s left (3-2 or 2-3, or 2s then 3s), the upcard on the kitty, ordering up or calling trump, alone or not, the dealer’s pickup and discard, tricks awarded to whoever won them, and the hand scored by the rules (1, 2, 4 for a lone march, 2 for a euchre).
- Texas Hold’em: two hole cards dealt one at a time, burn and flop, turn and river onto a five-card board, a burn pile nobody can look at, folding, showing your cards, and the button and blinds moving each hand.
- Six-card Golf: a face-down 2x3 grid each, flips, draws from the deck or the discard, swaps into your grid, and an optional score by the common count.
- Blackjack: a shoe of one or more decks, the dealer’s hole card (only the dealer can peek), hit and stand, collecting the round and reshuffling the discards.
- A game guide on the table: where the hand is, and buttons for the usual next steps. Every button is an ordinary action anyone could take by hand; nothing is forced or automatic.
- A blank table for improvising any game: the lobby’s deck, a discard pile, an open play area, hands, and optional personal grids; the dealer or owner can add more piles and rows of slots during play.
- Dealer and turn markers, passing the deal to the left, and a fresh table with the same seats.
- Next hand in one tap: every card goes back to the deck face down and the deal passes to the left, ready to shuffle and offer the cut again.
- Undo for your own last move when it showed nobody a new card; anything that revealed a card stays done.
- A scoreboard for players or teams, with a target score, quick +1/−1, points with a reason, a history of every change, and one-tap corrections. Scores carry over when the table is reset.
- Three score rules, chosen when the lobby is made: solo (everyone changes only their own score), team (one scorekeeper per team, appointed by the owner), or owner only. The server enforces them on every change.
- A history of everything that happened at the table, naming only cards everyone could see.
- Built for phones held upright, from 320 px wide, in light and dark mode, with large tap targets.
- A health endpoint,
/health, reporting the running version. - Docker image and compose file for Lighthouse: tests run before every deploy, the container runs read-only as a non-root user, and the site is reached only through Cloudflare.
More to look at
all projects-
Send files and text from your phone or browser to your Windows PC without messaging yourself.
-
Picking a movie shouldn't take longer than watching one.
-
A bot for keeping your community connected, starting with Twitch.


