Thulla Champions › Guides › How the bots think

How the Thulla bots think: Easy, Medium and Hard

By Abdul Rauf · Updated

Every Practice game, and every empty seat at an online table, is played by a bot. They are not machine learning: each one follows hand-written rules, the way a careful human would, and the three levels are the same ideas applied more or less seriously. This page explains what each level does, what it knows and what it does not, so you know what you are playing against.

The Practice screen of Thulla Champions with three cards to choose from: Easy, Medium and Hard, with Hard selected and a Play button.
Choosing a bot in Practice: Easy plays at random, Medium is safe but has no plan, Hard counts cards and plans the endgame.

What a bot is allowed to know

A bot never sees another player's real hand: that would be cheating, and we keep it out of the code on purpose. It gets exactly the information a person at the table has:

Easy follows the rules, because it cannot play an illegal card, and inside the rules it picks any legal card at random. It does not count cards or remember who is out of a suit. It plays like a beginner who has just learned what a thulla is. It never asks for a Hand Call.

Medium: sensible habits, no plan

Hard: it counts and it plans

Hard keeps a model of the cards it cannot see. It starts with the whole deck and subtracts its own hand, the cards that have left the game, the cards on the table, and the cards it knows another player holds. What is left must be in the opponents' hands, and it narrows each card further using who is known to be out of which suit.

Then it scores each legal card by looking one trick ahead:

It plays the card with the lowest expected cost. That is why Hard sometimes plays a low card when it could win a trick: winning means leading, and leading can be expensive.

The last opponent. With only one opponent left, every unseen card must be in that player's hand, so Hard knows their exact hand. It is not a perfect endgame solver, but it has no uncertainty left to play around. This is why the last two players are so often decided before a card is played: see the shootout.

Hand Call: when Hard asks

Only Hard ever asks. It does so when the next player has four cards or fewer, its own hand is no bigger than nine, and the pile it expects to pick up on its lead (plus a penalty for each suit in its hand that is already known to be exposed) outweighs the size of the hand it would take. In plain words: it asks when it is about to be hurt anyway and the hand on offer is small. See the Hand Call guide for what that means for you.

When a bot is the target of a Hand Call it always accepts, at every level. Accepting gives it a safe finish for free.

What the numbers say

We put the bots against each other for 1.7 million rounds, 100,000 per table: see the simulation results. With four players, and a fair share of 25%:

One …against three …Is the Bhabhi
HardEasy1.0%
HardMedium2.0%
MediumEasy12.1%
EasyHard80.3%

Hard is much better than Medium, and Medium is much better than Easy. If you can beat Hard in Practice regularly, you are playing very well.

How to beat them

More: simulation results · odds of being the Bhabhi · play against the bots

Frequently asked questions

Do the bots see my cards?

No. A bot is given only what any player at the table can see: its own hand, the cards that have been played or picked up, who threw a thulla on which suit, and how many cards each player holds.

Which bot do I play online?

Matchmade online tables fill empty seats with Hard bots. Practice lets you choose Easy, Medium or Hard.

Will a bot accept my Hand Call?

Always. A bot never refuses a Hand Call, at any difficulty, because accepting guarantees a safe finish.

Do bots ever give up?

Never. Giving up is only for people.

How strong is Hard?

Against three Easy bots, one Hard bot is the Bhabhi in about 1 game in 100. Against three other Hard bots it loses the same 25% as everybody else.

Ready to play? Deal a hand of Thulla right now: it is free and runs in your browser.

Play Thulla now

More guides