jianghao-jianghao-jianghao/newHoldem
GamesSelf-hosted browser-based 3D multiplayer Texas Hold'em with CPU-only GTO/CFR AI opponents and post-hand review.
What it is
Velvet Hold'em is a self-hosted, browser-based 3D multiplayer Texas Hold'em club: players open a room, sit at a table, and play no-limit Hold'em against friends or AI opponents. It targets people who want a private home game with family and friends, plus players who want structured post-hand feedback. The AI side combines a GTO baseline with a CFR-style solver and Bayesian opponent profiling that starts near equilibrium and shifts toward exploitation as a player's sample grows. Everything runs on CPU, so a normal laptop or low-end cloud host is enough. A 2D table is used automatically where 3D isn't available.
Quick start
The recommended route is Docker Compose. Clone the repository, copy the environment file, and start the stack:
git clone https://github.com/jianghao-jianghao-jianghao/newHoldem.git
cd newHoldem
cp .env.example .env
docker compose up -d --build
Alternatively, with Node.js 22.5 or newer installed, run it locally:
npm install
npm run dev
Then open http://localhost:3000 in a browser to join a table or create a private room. No key or account is required for guest play, table creation, or hand review. Optionally, .env can be filled in to enable email-code login (SMTP_* or RESEND_API_KEY) and an external LLM coach for hand commentary and table chat (DEEPSEEK_API_KEY or GEMINI_API_KEY).
What you get
Tables support 2–10 players, multi-level side pots on all-in, uncalled-bet returns, dead-money handling when a player leaves mid-hand, and Rule 47 short all-in behavior. Each completed hand feeds a review workbench with street-by-street decision quality and EV grading, a 13×13 hand matrix for comparing frequencies, Node-Lock exploration of opponent leaks, and a six-axis play-style radar plus 30 achievements. Anonymous guests can play immediately; email login syncs stats and achievements across devices and merges achievements earned as a guest.
Constraints
- Local runs need Node.js ≥ 22.5; the Docker path avoids installing Node.js yourself.
- GTO/CFR solving and persistence are CPU-only by design — no GPU is used or required.
- Public HTTPS/WSS deployment needs a reverse proxy; the repo provides an nginx example and asks for
TRUST_PROXY=1and a randomAUTH_SESSION_SECRET. - The project is virtual-chip only: no deposits, withdrawals, rake, or payment settlement, and it is positioned for study and private play, not real-money operation.
- LLM and email features are optional; keys entered in the UI are kept in room memory and discarded when the room closes.
- MIT licensed, provided as is.
HotRepo's take
On the new-project board for 2026-11-24, the repository recorded 108 stars and 7 stars added in a roughly two-hour window, with no all-language daily rank on record. That is early-stage visibility rather than evidence of adoption or quality. The technically interesting part is the combination: a browser 3D table, complete multi-way side-pot rules, and a CPU-only solver and review loop in one self-hostable package — a scope most open poker projects split across separate tools.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.