How a game of Texas hold'em against bots works here: seating them, what they can see, how they decide, and what they leave to you.
Hold'em here seats two to ten. Open a table, and in the lobby press "Add an opponent" once for every bot you want: one bot is a heads-up game, five or more is a full ring. Only the host can seat a bot, and only before the first hand is dealt, so decide how many you want before you start. Each bot sits down under a name of its own — Ada, Bo, Cleo and so on — with a tag beside it that says bot.
Then choose the chips and the blinds. Every player starts with 100, 200 or 500 chips, and the blinds are 1/2, 2/4 or 5/10; the lobby tells you how many big blinds that makes. A deep stack gives you time to watch how the bots bet before anything important is at stake.
Its own two cards and the board — exactly what you see, and nothing more. The hole cards are kept on the server and the bots play on the server, so no bot can look at your hand and nothing in your browser can look at theirs. Every bet a bot makes goes through the same referee as yours and is refused if it is not allowed.
A bot takes about a second over each decision. That is on purpose: it gives you time to see who raised and who folded. A hand where several bots act in a row still takes a few seconds to reach you.
A bot asks two questions before every bet: how good is my hand, and what is a call costing me against what is already in the pot. Before the flop it likes pairs, high cards and two cards of a suit. From the flop on it reads its best five cards with the same evaluator that decides the showdown.
It calls when its hand is strong enough for the price, raises now and then with a strong hand, and bets about half the pot on top of the minimum when it does. When everybody checks to it, it bets a good hand more often than not, and bluffs about one time in twenty. What it does not do is think about position, remember what you did last hand, or put you on a range.
Size your bets to the hand you want to be called by. A bot holding a single pair usually calls a small bet and lets go of one worth half the pot or more, so bet small when you want a pair to pay you, and big when you would rather it folded.
Take a raise seriously. A bot that raises your bet after the flop almost always has a straight or better, and a bot that bets into you has usually made two pair or more. A bot never remembers your last bluff, so the same well-sized bluff keeps working — but it still calls with anything good enough for the price, so pick boards where it is unlikely to have hit.
You can mix the two. Send the code to friends first, then give every empty chair a bot so the game has the numbers you want. A player who leaves in the middle of a hand is replaced by a bot for the rest of the game; one whose connection drops is waited for twenty-five seconds, then played by the site until they open the table again and take the seat back.
A player who runs out of chips sits out, and the game ends when one player has all of them. If every person leaves, the bots stop — a table with nobody human at it does not play on.