Test with bots
Let bots play your game hundreds or thousands of times: pick what to test, which bots, how many games, and which rules options to compare, then copy or download the results.
A playtest group might play your game a few times a week. Test with bots plays it hundreds of times a minute, every game to the end, and reports on who won, how, and what went wrong. It can't tell you whether your game is fun, but it can tell you, before you print a card, that the first player wins too often, that a game can run forever, or that a choice never matters.
Open it with Test with bots in the editor once your rules can run, or from Test with bots at the top of the site for any game.
What to test
What to test has three kinds of run:
- How the rules play out: the same bots in every seat. The everyday test. With the same bot in every seat, any difference between seats is the rules, not the players. Start here.
- Whether skill matters: one thinking bot against random players. Random bots play first, then a thinking bot takes each seat in turn against random players. Each seat is compared with a random player in that same seat, so going first does not count as skill.
- A tournament: pick the bot in each seat, from random to hard. Choose the bot in every seat, such as one Hard bot against three Easy ones. The bots move one seat along after each set of games, until every bot has played every seat, so going first counts for no one. Each seat's bot can have its own Use hints and Use win checks boxes: put a bot with hints against the same level without them, and the report says what they're worth, such as "The Easy bot, with hints beat the Easy bot, which thinks as hard: its hints are worth something here."
Which bots
Bots picks the bot that sits in every seat:
- Random: picks any legal move. Fast, and good for finding games that break or never end.
- Easy: imagines 30 ways each move could go. Much slower than random.
- Medium: imagines 100 ways each move could go.
- Hard: imagines 400 ways each move could go. Slowest.
Beside Easy, Medium and Hard, two boxes add to the level: Use hints plays your game's hints and proved tactics, offered once your game has some, and Use win checks takes a win when it has one and never hands a rival a win on their next turn. Both start unticked, so plain Easy, Medium and Hard always play the same. A bot with hints learns as more tactics are proved. See Hints and win checks on any bot.
Random bots show how the rules behave, not how good players do: a rule that rewards skill can look weak with random bots. Thinking bots play to win, so their results are closer to real play, but they take far longer.
How many games
Games is 100, 1,000, 10,000 or 100,000, or Other… for a number of your own. It starts at a number that suits the bot, such as 10,000 for Random and 100 for Medium. About 1,000 games tell a win rate to within 3 points; 10,000 to within 1.
Thinking bots are slow. If a run will take a long time on this computer, the screen says so, and suggests fewer games, fewer players, an easier bot, or random bots. Test with bots uses every core of your computer at once.
Players and rules options
- Players picks how many play, within your game's player counts. Test each count your game allows: a game that works at four can break at two.
- Rules options lists your options to play with; tick the ones to use. "Playing:" says which rules are being played.
- Compare with picks one option to switch, "The same with … added" or "The same without …", and plays both versions on the same deals. See Rules options.
Deals
First deal sets every shuffle and roll. The same first deal and settings always give the same games and the same results, so a run can be repeated exactly. Pick at random picks a new first deal. After a run, Run with new deals runs the same settings on new deals, to check a result wasn't the luck of one set of deals.
Run the games
Run the games starts. The screen says how many games are played, how many cores are playing them, the time left, and who is winning so far. Results show part way and update as the games go on, so you can stop early with a rough answer. Stop keeps what has been played.
Change a setting after a run and the results say they are for the earlier settings until you run again.
After the run
The results are read out under the settings: a headline, then each part of the report, then problems. See Reading the report.
- Copy results copies every result, for every run, with the settings that give the same games, as plain text, to paste into a message or a document.
- Download results saves the same as a file.
- Ideas to balance the game, when the report has some, are first guesses from what the bots did. Each has Make it a rules option, which builds the idea as an option of your game, ready to compare with the standard rules.
- With Medium or Hard bots, tick Also compare what the winners did with the other players before running, for a closer look at strategy. See What winners did differently.
What the bots can't tell you
Bots play your rules exactly, thousands of times, without getting tired or bored. They can't tell you whether the theme lands, whether the game feels good, or how players talk across the table. Use them to find what's broken and what's lopsided, then put your game in front of people: see Getting started.
Bots are also short-sighted about long plans. They weigh the next few choices carefully, then imagine the rest of the game quickly and loosely, so a plan that pays off many rounds later, such as building up an engine before scoring, can look worse to them than it is. If your game rewards long plans, test the plan's first steps as a tactic, such as "picks the woodlot more often", to see whether a bot that leans toward it wins more (see Test a tactic by play), and check the plan with people too.