Top
Best
New

Posted by projectyang 20 hours ago

Show HN: Play poker with LLMs, or watch them play against each other(llmholdem.com)
I was curious to see how some of the latest models behaved and played no limit texas holdem.

I built this website which allows you to:

Spectate: Watch different models play against each other.

Play: Create your own table and play hands against the agents directly.

141 points | 78 comments
jplata 38 minutes ago|
Thanks for building and sharing, looks cool and is very entertaining.

I had similar idea for people to code poker playing bots and enter tournaments versus each other, this was pre-llm, however.

It would be fun if you hosted a 'tournament' every month and had each of the latest releases from the major models participate and see who comes out on top.

Or perhaps do open it up to others to enter and participate versus each other - where they can choose the model they want to build with and also enter custom prompt instructions to mold the play as they wish.

If you walk this path, would love to chat more.

nindalf 2 hours ago||
I just saw GPT 5.2 do something absurd. It has a crazy amount of money ($26k) but folded with a 4-pair before the flop. That's insanely conservative, when it would have cost just $20 to see the flop. But even worse, on the very next hand it decided to place $20 down with a 5 and 4 of different suits.

In fact, all of them love folding before the flop. Most of the hands I'm seeing go like - $10 (small blind), $20 (big blind), fold, $70 bet, everyone folds. The site says "won $100", but in most of these cases that one LLM is picking up the blinds alone - $30. Chump change.

This is illuminating, but not a resource for learning poker.

indigodaddy 1 hour ago|
Modern poker (which tbf not sure if these LLMs are acting according to modern GTO or not) is highly dependent on position. Things change a lot too when/if you are in SB/BB.
sciolist 14 hours ago||
This is very cool, one piece of feedback: watching the table as the AI plays while seeing the reasoning is difficult as they're on other sides of the screen. It could be nice to have the reasoning show up next to the players as they make their moves.
stevage 2 hours ago|
Yep, exactly. It's very difficult currently.
nivekkevin 15 hours ago||
Idea: can the agents make faces? 1. Programmatically--agents see each other's faces, and they can make their own. They can choose to ignore, but at least make that an input to the decision making. 2. Display them in UI--I just want to see their faces instead next to their model code names :)
sejje 15 hours ago||
I used to play professionally, and I still play in the casinos.

These LLMs are playing better than most human players I encounter (low limits).

They're kinda bad, but not as criminally bad as the humans.

bionsystem 43 minutes ago||
I just watched for 5 min and no they don't play very well. Deepseek squeezed with K4o against CO open and BTN call with full stacks. Grok 3b AI with 25bb in the button with Q4s. Those are very far from optimal play which is well known since solvers. I wonder how they've been trained.
ryandrake 8 minutes ago||
You and OP are agreeing: "Better than most human players" is quite possibly the lowest skill bar in poker.
gerdesj 15 hours ago|||
OK so you know how it goes in poker and I should probably read the literature ...

How much of a session is based on "reading players" vs "playing the odds"?

What I am getting at, is how different is poker than say roulette or blackjack? My initial thoughts are that poker such as TX hold 'em is not a game offered in a casino, so it must be mostly indeterminate. I imagine that the casino versions of poker are not TXHT.

By contrast, roulette is simply a game where the casino wins eventually with a fixed profit (thanks to 0 and a possible 00). That is all well documented.

I have only ever visited a casino once, 25 years ago, Plymouth, Devon as it turns out and I was advised to only take £50 in readies and bail out when it was gone. I came out £90 up, which was nice and my "advisor" came out £95 up (eventually, after being £200 down at one point). Sadly my "advisor" ended up bankrupt a year later.

So, how do you play a LLM? I would imagine that conversation is not allowed ...

firefax 47 minutes ago|||
>How much of a session is based on "reading players" vs "playing the odds"?

I think the key is you need to watch for a person's play style.

There's a two axis system: tight/agressive and passive/active.

An active player sees more flops, and an aggressive player will call and raise more than a tight player.

So a tight, aggressive player sees few flows but bets strongly when they have a good hand -- this is considered "good" strategy.

Others might play a "tight-passive" strategy -- they'll play few hands but fold easily. They won't lose large amounts of money but they'll slowly bleed chips.

A loose, aggeessive player is the type you want at the table -- they're making a lot of bets, and often bluffing, and you can sit and wait to catch them.

Now, this is "reading" someone, but it's not the Rounders style "oh he just ate an oreo so he's bluffing" level reading of a player that movies

For context, I'm an OK player. I can make a few hundred playing 1/3 per session -- I'm not in Vegas so I can't move to the next tier without sinking a lot of money on a flight and hotel.

If your goal is a bit of beer money, it can be a fun hobby, but I wouldn't go into it expecting it to become a full time career.

sejje 15 hours ago||||
They offer (real) poker at some casinos. It's standard NLHE usually 100-200bb max buyin, sometimes match the stack etc.

Most common game spread is 9-handed $200 max $1/$2 NLHE. It's exactly like the game on the link, except more players and lower stakes.

In the game, you try to win the money of the other 8 players, not of the casino. The casino takes a rake each hand, and a player with a large enough edge can overcome it. The edge might be you're excellent, or it might be they're terrible (or drunk). But the house gets paid to deal each hand.

In the long term, poker outcomes are determined by skill. In the short term, they're luck. In the medium term, both. Most people never reach the long term, it's a lot of hands.

There's also table games, similar to blackjack, that they call "three card poker" etc. These can't be beat, they favor the house. Standard table game, with a poker flavor. I've never played one of these.

MichaelApproved 14 hours ago||||
I used to play A LOT at low and high levels.

At low levels, playing is ABC simple and mostly about following basic strategy for starting hands and pot adds for chasing. Don’t get fancy and keep your temperament steady and you’ll win.

To a slight degree, you can do better with reading players and identifying them in broad ways (wild, conservative, confused, etc.) but don’t let that allow you to get fancy. Stick to the basic fundamental strategy for hands, position, and pot odds to crush lower level games.

furyofantares 14 hours ago||||
Hold'em is offered in casinos routinely, I'm not sure where else one even goes to play it aside from private games, but it is not against the casino. It's against other players, and the casino takes a percentage of the pot.

Others may differ and I am biased because 99% of my play has been online, but I'd say it's almost entirely playing the odds. Or at least, the popular romantic conception of looking for tells or whatever, is, I would expect, a really minimal edge compared to simply playing better.

You do learn the other players' tendencies and adapt accordingly, and table selection is very important, so in that sense it is very much about reading players.

A large part of my play was heads up where it's very much about understanding the other player's play as deeply as possible, and so if I wanted to be technically accurate about reading players vs playing the odds, I'd say both are very important. But if I'm answering someone who has the popular conception of what those phrases mean, I think saying "it's about playing the odds" would give them the more accurate picture.

You really want to be good at playing the odds, and you don't want to stray too far from fundamentally good play. If someone is learning how to play and I'm advising them, I'm teaching them all about playing the odds, and trying to get them to read players less. Only once they have a solid fundamental understanding of the odds would I teach them how to adjust.

stevage 2 hours ago||
Around here (Melbourne) the other place is in pubs - there are organised poker tournaments. They can't legally charge you an entry fee, but they can give you a lot of extra chips if you buy a meal at the pub. Some modest prizes if you win.

They're kind of a ridiculous format - you typically start with about 20 BB but the blinds go up pretty quickly so you don't see a lot of post-flop play.

Somewhat entertaining.

raincole 14 hours ago|||
> My initial thoughts are that poker such as TX hold 'em is not a game offered in a casino

Why not? Because you think it's a game where the casino can lose?

If so it's not an issue, as casinos that provide poker take "fees" from the stakes. Like how stock exchanges work: there are people making or losing money from stock market, but exchanges are always making profit.

ryandrake 52 seconds ago||
Around where I live, about half the casinos offer poker and about half don't. Poker can be a pretty high cost to a casino. Compared to something like slot machines, it's financially mostly downside: You need a lot more physical space per player. You need more staff. In order for players to come and actually enjoy it, the poker room needs to be located in a relatively quiet corner, ideally enclosed so the buzz of the rest of the casino can't be heard, which is also expensive. And the game is slow, and rakes happen once per hand, so you're making money pretty slowly. And that's just for cash games. Tournaments are worse. If I had to guess, tournaments probably lose money for the casino, and they only exist to get players in so they play at the cash tables. Probably many other things that I'm forgetting because I don't run a casino.
projectyang 7 hours ago|||
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...

hydr0smok3 14 hours ago||
lol what? I just watched Grok fold pocket jacks preflop, no raise/limps ahead.
agentifysh 7 hours ago|||
On Pokerstars it is the right move because you are going to get beat by someone going all in with 72o or something

but seriously at lower stakes there is just no respect for the art its just a shock and awe strategy: throw shit up, break the game and use that demoralization to bully others.

sejje 2 hours ago||||
That's, in fact, a much smaller mistake than I see humans make every hour.
p1dda 1 hour ago||
You're full of shit
sschnei8 13 hours ago||||
There’s no good way to play pocket jiggities @bradowen
chews 14 hours ago|||
Grok knows that pocket Jacks are a fast way to go broke.
aaurelions 1 hour ago||
I also started working on a similar project, but I think that LLM should know and be able to keep internal statistics about players. In poker, the best hand does not always win. Often, you can win by using emotions/words. LLM should be given the ability to communicate, mislead, etc.
SweetSoftPillow 3 hours ago||
Placing full GPT 5.2 versus fast/flash models of main competitors is unfair, would love to see more balanced table.
gabriel666smith 3 hours ago||
This is fun!

Given online is now bot-riddled, I half-finished something similar a while back, where the game was adopting and 'coaching' (a <500 character prompt was allowed every time the dealer chip passed, outside of play) an LLM player, as a kind of gambling-on-how-good-at-prompting-you-are game. Feature request! The rake could pay for the tokens, at least.

hrimfaxi 54 minutes ago||
Would you consider open sourcing this project?
jz67 11 hours ago|
Honest question, but this seems like an expensive project to host given the number of tokens per second. How is this being paid for?
projectyang 7 hours ago||
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.
psawaya 11 hours ago||
Looks like this was cleverly designed to prevent costs blowing up. There's one game shared for everyone on the main page, and up to 100 private games per day.
More comments...