Skip to content

docs: online Texas Hold'em design spec (serverless, value-ready deal ladder)#76

Merged
SethMorrowSoftware merged 1 commit into
mainfrom
claude/multiplayer-game-ideas-z3r822
Jul 11, 2026
Merged

docs: online Texas Hold'em design spec (serverless, value-ready deal ladder)#76
SethMorrowSoftware merged 1 commit into
mainfrom
claude/multiplayer-game-ideas-z3r822

Conversation

@SethMorrowSoftware

@SethMorrowSoftware SethMorrowSoftware commented Jul 10, 2026

Copy link
Copy Markdown
Owner

What this is

docs/holdem-spec.md — a pre-implementation design spec (plan, not as-built) for a serverless online no-limit Texas Hold'em game built on the OXT extension family:

  • TorrentXT — rp1 peer messaging, DHT rendezvous (phantom swarms + short table codes), BEP44 signed standings
  • SodiumXT — ed25519 identities, sealed lanes, hash commitments, and (the one new prerequisite) exposing libsodium's ristretto255 surface
  • OnionXT — anonymous tables and onion-hosted deck oracle (optional)
  • Box2Dxt Kit — spritesheet card animation (deal slides, squash-flips) and physical chips, per the performance playbook

Design highlights

  • Deal protocol ladder: Level 0 (rotating host, entropy-committed shuffle — friendly tables) → Level 1 (non-playing deck oracle over an onion service) → Level 2: ristretto255 mental poker — commutative scalar masking, reveal-scalar showdown (no ZK proofs needed), publicly-visible duplicate detection, and a void-and-audit rule that makes cheating attributable, not just detectable.
  • Hash-chained, signed transcript with per-street checkpoints; the game is a deterministic state machine over the log (reconnect, spectate, and dispute all reduce to replay).
  • Countersigned settlement receipts as the only interface a future value layer may consume — requested because chips may someday carry real monetary value.
  • Honest non-goals: regulatory compliance, collusion/bot detection, and ZK shuffle proofs (documented as the ceiling above Level 2, with DLEQ proofs as the named first hardening pass).
  • Milestones M0 (hotseat) → M4 (hardening), test plan including an adversarial cheater-bot harness, and per-repo prerequisite work items (only SodiumXT has blocking native work; TorrentXT/OnionXT/Box2Dxt suffice as shipped).

Docs-only change: no code, no Kit edit (no sync/harness bump needed), no ABI impact. Verified clean of smart quotes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ARv3pRjgM2H9ga7ZYQmvhe

…eal ladder)

Pre-implementation spec for a no-server online no-limit hold'em game built
on the extension family: TorrentXT (rp1 messaging + DHT rendezvous + BEP44
standings), SodiumXT (identity, sealed lanes, commitments), OnionXT
(onion tables + oracle hosting), and the Box2Dxt Kit (spritesheet card
animation + physical chips).

Because chips may someday carry real value, the deal is specced as a
three-level ladder up to a ristretto255 mental-poker deal (commutative
scalar masking, reveal-scalar showdown, void-and-audit attribution) with
a hash-chained signed transcript and countersigned settlement receipts as
the only value interface. Honest non-goals: regulatory compliance,
collusion/bot detection, ZK shuffle proofs (documented as the ceiling).

The only blocking native work is exposing libsodium's ristretto255
surface in SodiumXT; TorrentXT/OnionXT/Box2Dxt suffice as shipped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARv3pRjgM2H9ga7ZYQmvhe
@SethMorrowSoftware
SethMorrowSoftware marked this pull request as ready for review July 11, 2026 03:49
@SethMorrowSoftware
SethMorrowSoftware merged commit fb9354b into main Jul 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants