Chip Ledger
| Table setup | Players | Hands each | Per hand | Chips in play |
|---|---|---|---|---|
| Casual poker night | 4 | 2 | 100 | 800 |
| Mahjong session | 4 | 3 | 100 | 1,200 |
| Big buy-in night | 6 | 2 | 500 | 6,000 |
Home games die by arithmetic, not by bad cards: someone rebuys and nobody writes it down, the night ends on a vibe instead of a count, and the group chat argues for a week. This ledger keeps the whole night in one screen - every player seats in with a number of buy-in hands, and as the game moves you edit the counts straight in the table, where each player's net is simply chips held minus hands times the per-hand chip value.
There is no account and no server. The ledger is a one-night cache in your browser: close a round and it drops into the history while the table resets, the running ranking updates itself, and when the night is over one link carries the entire settlement to the group chat. Whoever opens it sees the read-only snapshot; one tap takes it over to keep their own count. Clear the browser, or wait 30 days, and it is gone by design.
How to use
- Seat each player by name - a fresh seat starts at one buy-in hand holding that many chips, so everyone begins at exactly zero net. Set chips-per-hand first if your game uses something other than 100.
- During play, tap the hands or chips number in the table and type the new value - they are plain edit boxes, and the net column and the audit figure recompute as you type. The audit stays at OK (0) as long as the chips at the table match the buy-ins recorded.
- When a sitting ends, press Close round to file it into the history and reset the table, then share the link at the end of the night - the settlement rides inside the link itself, so it opens on any phone with nothing stored anywhere.
Frequently asked questions
How is each player's win or loss calculated?
One subtraction per player: net = chips held minus buy-in hands times chips per hand. Seat Alice for 3 hands at 100 a hand, and she owes the table 300; if she holds 420 in chips at the end she is +120, while a player holding 240 is -60. Because every chip in play was bought from somebody at the same table, all the nets always add up to zero - the audit figure checks exactly that, so a non-zero audit tells you a buy-in was never recorded before the money moved.
Is any of this uploaded or stored on a server?
No. The ledger lives in your browser's local storage and nowhere else - it is a cache for one night, not an account, and it disappears when you clear browser data or after 30 days, whichever comes first. The share link carries the whole ledger inside the URL fragment, the part of a link that browsers never send to any website, so even the share step puts nothing on a server.
What does the share link actually do?
It encodes every seat, round and total into the link itself. Whoever opens it sees a read-only snapshot of the settlement - the ranking, the closed rounds and the live table - plus a Take-over button that imports it as their own ledger if they want to keep scoring on their phone. There is no live sync between devices: one phone keeps the book during the night, and the link is the handoff.
The audit figure is not zero - what happened?
Chips at the table no longer match recorded buy-ins: a re-buy was never seated, a stack was typed in wrong, or a correction was made by hand. The round still records exactly as it stands - closing an imperfect audit just means the history shows the count as the table saw it, so fix what you remember before pressing Close round.
Can I use it for mahjong or board games, not just poker?
Yes - the ledger only knows hands, chips and players. Mahjong sessions set chips-per-hand to the score unit, board gamers track tokens per player, and poker nights keep the default. Anything where people start with a stake and end with a count settles the same way.