Add Hold'em poker app: board seats, power-button deal, game engine

main
No checks reported

Commit

mswq2d ago

New poker/ app in the Matrix Cards format. Boards connect to a laptop hub, get seats 1..N and show their seat number, then their two hole cards on the LED matrix. A power-button tap deals (one deck across all N players) or checks/calls on your turn; RGB LEDs show your turn, folded/out and winner.

hub/game.py is a No-Limit Hold'em engine: rotating button and blinds (heads-up rules), four betting rounds, min-raise and short all-in rules, side pots, split pots and a 7-card evaluator. Seats without a board are played from the hub console, which reuses hub/intent.py to parse actions like "raise to 40", so a game runs with a single board.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com