Back to browse
GitHub Repository

♠️ A Claude Code skill that turns your terminal into a poker table ❤️

9 stars

Code Royale – Play and learn poker with Claude Code (skill)

by BohdanPetryshyn·Mar 15, 2026·2 points·0 comments

AI Analysis

●●SolidRabbit HoleCozy

Isolated subagent contexts mean each AI opponent truly can't see other players' cards.

Strengths
  • Isolated subagent contexts prevent opponents from accessing each other's hidden cards
  • Three coaching modes scale from no help to real-time hints before decisions
  • Shorthand input (f, c, r 90, allin) keeps gameplay flowing without breaking context
Weaknesses
  • Claude's tendency toward dramatic hands breaks realistic poker probability dynamics
  • Niche appeal limited to poker players already using Claude Code
Category
Target Audience

Poker enthusiasts, Claude Code users wanting terminal entertainment

Similar To

PokerSnowie · Terminal games · AI poker trainers

Post Description

I 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

Similar Projects

Gaming●●Solid

Video Poker Trainer

Retro CRT trainer auto-highlights mathematically optimal plays from academic research.

Niche GemCozy
appstorelottery
322mo ago
Gaming●●Solid

Classic Video Poker v2

Second version of HN front-pager adds real persistence and grinder leaderboards.

CozyCrowd Pleaser
appstorelottery
692mo ago