Play your own board game against an AI

Upload your game to Boardmadang and ask for an AI, and you get an opponent that learned your rules by playing itself. Playtest alone, and see in numbers whether the first or second player has the edge.

How it learns

It works like AlphaZero. A neural network guesses where to play and who is ahead, Monte Carlo tree search (MCTS) reads a few moves ahead, and the AI plays tens of thousands of games against itself, learning again from the games it just played.

Each game is trained on its own rules code, so the AI can learn a game nobody has ever played before. The trained AI runs in your browser, so there is no waiting on a server, and it plays at three levels: easy, normal, and hard.

From request to first game

  1. 1. Upload your game

    Write the rules and upload the game. See Make your own board game online.

  2. 2. Make an AI

    Press "Make an AI" next to your game on your profile. Each account can ask once a week.

  3. 3. Training

    A moderator trains each game for about an hour and uploads the AI. Requests are handled in order.

  4. 4. Play

    "Play the AI" appears on the game, along with the first- and second-player win rates.

First vs. second player

From the games the AI played against itself near the end of training, you see how often the first player won, how often it was a draw, and how often the second player won. These are training games, so they aren't the same as people playing, but a game that strongly favors one side shows up right away. When it does, try a rule change, such as giving the second player something extra or changing the starting board, train again, and see how the numbers move.

Find loopholes in the training record

You can replay the games the AI played while training. Only the creator and moderators can see them. The AI tries anything to win, so it often finds games that never end or gaps in the rules before people do.

Games the AI learns well

Games with an AI

FAQ

How strong is the AI?
It trains for a fixed time, so it depends on the game. Small games like tic-tac-toe get good enough to draw every game against a perfect player, while people can still beat it in bigger games.
Does it cost anything?
No. Uploading games and making an AI are both free.
What happens to the AI when I change the rules?
If the board and actions keep the same shape, the old AI keeps playing, and the win rates note that it was trained on an earlier version of the code. Ask for an AI again to train on the new rules.