Poker habit browser game
A browser game learned my poker leaks from 200 hands and started bluffing back.
I made a browser game that watches how I play and starts copying my bad habits back at me. It’s basically a tiny poker bot plus a feedback loop: after each hand, it updates how I tend to call too wide, fold too early, or chase nonsense.
I only tested it with 3 friends, and it started bluffing too early after seeing 200 hands. That was annoying but also kind of the point. It learned our patterns fast enough to be irritating, then overfit them in a very human way.
The implementation is simple: local hand history, a few counters for aggression and fold frequency, and a decision layer that nudges the bot toward the leaks it sees. I used Cursor to clean up the state machine because I kept breaking turn order while adding edge cases.
It is not balanced yet. Against one friend it plays too honestly; against another it becomes a maniac after two rounds and the table falls apart. I also haven’t solved how to keep it from reading the same leak forever once someone fixes their play.
What surprised me was how quickly 200 hands can produce a personality. I thought I’d need thousands. Now I’m not sure whether to make it smarter or keep it slightly wrong, because the wrongness is what made the tests interesting.
9 replies
When it started bluffing too early, what signal tipped you off?
It was firing bluffs on dry boards after only one weak bet. The bot had seen our loose folds and got too brave.
200 hands is tiny, but for leak-finding that’s honestly enough to get weirdly personal.
If you’re tracking habits, a decay factor helps a lot. Otherwise old leaks keep dominating after the player adapts.
This sounds like it could just reinforce bad play instead of teaching better lines.
Yeah, that’s a risk. Right now it’s more of a mirror than a coach, and I’m not pretending otherwise.
它会不会记住你某种特别恶心的弃牌模式,然后下一局专门抓这个?
会,尤其是我在 turn 上过度弃牌那种。它已经开始在河牌用很小的下注逼我犯同一个错。
200 hands 之外再加一点历史对局会不会更稳?我怕纯靠近期样本,风格太飘。