Quest2GameRead the game. Change the rules.

Lesson · 6 min Stretch

Bots That Bluff

In one line Poker programs learned to bluff by playing themselves, settling on a mix no one can exploit, and they get caught sometimes.

Chess and draughts hide nothing: both players see the whole board. Poker hides the cards, which is why it held out against machines for so long. A program cannot simply search, because it does not know which position it is in. And if it always made the best move for its hand, anyone watching would soon read the hand from the move.

Earlier in the course, Bluffing Just Enough worked out a tiny card game played for points. Counted over two deals, one high card and one low, a caller loses 1 against an honest claimer and breaks even against a bluffer, while folding breaks even against honesty and loses 2 to a bluffer. No box is a resting point. The answer is a mix: bluff with the low card about one time in three, and call about two times in three.

Real poker is far too big to work out that way. So researchers had programs play against themselves billions of times. After each hand a program counted how much better each other choice would have done, and leaned towards the choices it regretted not making. Its mix settled close to one no opponent could exploit. In 2017 a program called Libratus, built by Tuomas Sandholm and Noam Brown at Carnegie Mellon University, beat four leading professionals over 120,000 hands of two-player poker.

Libratus was caught bluffing, and that is no flaw. A bluffer who is never caught bluffs too rarely and wins little when others fold. Here poker is a model of bluffing, with no money on the table. To read a bluffer, count how often claims prove empty. Inside a game both sides chose, a mixed bluff is skill; outside one, a false claim is a lie.

A card game for points, seen from the caller's side, over two deals: one high card and one low. What one player gains, the other loses
Caller
Claimer
Claim only with a high cardClaim with any card
Call-1, 10, 0
Fold0, 0-2, 2
In each box, Caller’s payoff comes first, then Claimer’s. Higher is better.
Go deeper

Two years before Libratus, in 2015, a team at the University of Alberta reported that its program Cepheus had essentially solved a simpler, fixed-limit form of two-player poker: its play was so close to perfect that a human lifetime of games could not reliably show it being beaten. Cepheus, too, found its strategy by playing against itself over and over and counting its regrets.

The card game in Papeete

Illustration: The card game in Papeete

Vaitiare, a computing student in Papeete, Tahiti, writes a small program for a card game her class plays for points. At first the program bluffs with its low card half the time. She sets it to play against itself overnight, counting after each deal how much better the other choice would have scored, and leaning a little towards whatever it regretted.

By morning its bluffing rate has drifted to about one time in three, and its calling rate to about two in three. She lets classmates play it. Those who call every claim lose whenever the program holds the high card; those who fold every time lose to its bluffs. Nobody finds a pattern to exploit, though one classmate catches it bluffing twice in a row and decides, wrongly, that it bluffs too much.

Try this today Next time someone says "final offer", note whether it really was. A count over time tells you more than any single guess.

Question 1 of 2

Students in Kraków who built a strong draughts program try the same search on a card game in which each player's hand is hidden.

Why does their search fall short?

Question 2 of 2

Over a season of a points-only card game at a club in Osaka, Yasuo boasts that nobody has ever caught one of his bluffs.

What does the theory of mixed bluffing suggest about Yasuo?

Cite or share this lesson

A plain reference you can paste into notes or an essay:

Quest2Game. “Bots That Bluff.” https://quest2game.com/learn/lesson/bots-that-bluff. Accessed 30 November 2026.

Sources
  • Libratus — The Carnegie Mellon program that beat four professionals at two-player poker in 2017.
  • Computer poker player — Poker programs from Cepheus to Libratus, and the regret-counting methods behind them.