Nearly 18 years ago, Satoshi Nakamoto quietly embedded the skeleton of a poker game inside Bitcoin's earliest source code. The original 0.1.0 Bitcoin code included scraps of code for an online poker game, added on April 16, 2008. Hidden inside Bitcoin's earliest source code were buttons for dealing cards, folding, calling, and raising bets. There was just one problem: none of it actually played poker. The concept was abandoned, and the code was eventually removed from the codebase without explanation.

A Protocol Built From Scratch

Now, that unfinished vision has a working successor. Robin Linus (@robin_linus), a Stanford Ph.D. candidate focused on Bitcoin scalability, privacy, and usability, designed the system for heads-up limit poker. His Bitcoin Poker design allows two people to play Texas Hold'em without a dealer, privately generate cards, and enforce payouts through Bitcoin's existing rules. Critically, Linus' design needs no Bitcoin consensus changes.

The cryptographic mechanics are what make it possible. Bitcoin Poker generates the dealt cards through a joint secret shared by both players, producing only the nine required cards per hand, while ensuring fair dealing via cryptographic commitments and zero-knowledge proofs. The protocol can detect duplicate cards. The probability of randomly generating a valid hand is approximately 48%, requiring an average of 2.08 attempts.

Games operate off-chain, with on-chain settlement occurring only in the event of disputes. That design keeps routine gameplay fast while preserving Bitcoin's enforcement guarantees when a player refuses to cooperate.

A Technically Demanding Setup

Preparing a single game requires more than 56,000 transaction-tree nodes, roughly 8.4 MB of setup data, and some serious cryptographic gymnastics. In desktop browser trials, that setup takes around 27 seconds to complete. The protocol is currently limited to two players, and its security still requires independent review in 2026.

Linus, who is also known for developing BitVM, a proposal for verifying complex computations on Bitcoin, framed the project as a personal tribute. "Dear Satoshi, the first BitVM dispute, the SHA2-ECDSA polyglot, the Binohash madness, all just fan mail written in Bitcoin Script. None of it matters until I fulfill your original vision," Linus wrote on X.

The project remains experimental, but it demonstrates that programmable, trustless card games are achievable on $BTC's base layer without altering the protocol itself.

Sources:
Bitcoin.com News: Satoshi's Abandoned Poker Experiment Returns With a Bitcoin Twist
TokenPost: Bitcoin Poker Protocol Revisits Early Code Without a Network Upgrade
CoinTelegraph: Bitcoin, A Peer-To-Peer Online Poker Payment System by Satoshi Nakamoto