Show HN: Code Royale – Play and learn poker with Claude Code (skill)
BohdanPetryshyn Sunday, March 15, 2026I built a Claude Code skill that turns your terminal into a poker table. You play No-Limit Texas Hold'em against three AI opponents, each running as a separate Claude subagent with its own personality and hidden cards. The main agent acts as dealer, manages the game state, and optionally coaches you.
The coaching side has three modes: no help at all, real-time hints before each decision, or post-hand analysis only.
Fair warning: Claude naturally takes every hand to the extreme. Expect more pocket aces and dramatic river cards than any real table would produce.
╭─────────────────────╮
│ POT: 130 │
│ Q♥ 9♦ 4♠ │
Alex │ │ Jordan
[990] ╰─────────────────────╯ [905]
(SB) (BB)
Fold Bet 50
You <- Sam
[965] [1000]
(BTN) (UTG)
┌────────┐ Fold
│ K♠ Q♠ │
└────────┘
Coach's whisper: You flopped top pair with a king kicker — a very strong hand here. Jordan was the pre-flop raiser and is c-betting into you, which is standard. Calling is solid to
keep the pot manageable. You could also raise to ~140 for value and protection, but calling in position and letting Jordan keep betting is a perfectly good line.
[F]old [C]all 50 [R]aise to ___
Something to do in your second terminal while Claude does your work in the first.Repo: https://github.com/BohdanPetryshyn/code-royale
Summary
The article discusses the Code Royale project, a JavaScript-based game where players compete to build the most powerful kingdom. The game features a web-based interface, real-time updates, and player-versus-player battles.
2
0
Summary
github.com