News for hackers. Stuff that matters.

projectyang

Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @04:16PM (#46580174)
Yep, I used claude code to help build this.
Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @04:14PM (#46580150)
Each hand is stateless
Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @04:08PM (#46580086)
Yes, the prompt tries to get them to play GTO. I do think their preflop play is the closest to mirroring this compared to postflop behavior.
Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @03:52AM (#46573812)
On mobile I had to squeeze the names, but on a wider view you'll see that it's Claude (Opus 4.5) and Claude (Sonnet 4.5).
Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @03:51AM (#46573810)
Nope, no external poker libraries. Just a basic nodejs and socket.io server with game logic.
Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @03:47AM (#46573795)
While others have commented about solvers, I'd also like to bring up AI poker bots such as Pluribus (https://en.wikipedia.org/wiki/Pluribus_(poker_bot)).

This also wouldn't even be a close contest, I think Pluribus demonstrated a solid win rate against professional players in a test.

As I was developing this project, a main thought came to mind as to the comparison between cost and performance between a "purpose" built AI such as Pluribus versus a general LLM model. I think Pluribus training costs ~$144 in cloud computing credits.

Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @03:39AM (#46573757)
For my implementation, I'm passing in the current hand's action history (e.g. Player 1 raises to $X preflop, Player 2 calls, Player 3 calls. Flop is A B C, Player 2 checks, etc) whenever the action is on the player.

Your idea of having it being passed in real time and having the LLM create a chain of thoughts even if action is not on them is interesting. I'd be curious to see if it would result in improved play.

Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @03:32AM (#46573728)
Good question! The player rooms have a rate limit per day. And as for the main table, it's actually a replay of hands I recorded the LLMs playing against each other over an extended time which eventually loops.
Re:Show HN: Watch and Play Poker with LLMs on Sunday January 11, 2026 @03:25AM (#46573699)
I'm actually surprised at how well they play pre-flop (mostly). Did some initial analysis on VPIP/PFR across positions, and somewhat decent.

Post-flop on the other hand is all over the place...

The bot you're playing is outdated compared to modern ones. Within the last few years, there's been a lot of research done similar to what we saw with AlphaGo: https://en.wikipedia.org/wiki/Pluribus_(poker_bot).

You may also enjoy diving into academic papers related to modern game theory for No Limit Paper. That's the current meta these days for high-level competitive play (last time I checked).