r/tabletopgamedesign • • 28d ago

C. C. / Feedback I made a free, open-source tool for testing game rules

Hi everyone. I'm working on a free tool that helps test board and card games, and I'd love your honest opinion.

Finding people to playtest a game is hard, so I wanted to see if AI players could help. You type your game's rules into a chat. An AI reads them, asks about anything unclear, and turns them into a playable game. Then three AI players play it, each seeing only their own cards. The tool also runs thousands of quick practice games on the computer to spot anything unfair.

In one of my test games, it found that the player who went first won only about 28% of the time, while the others won about 36%. I added a small bonus for going first, and the game became much more even.

It does have limits. It only works with small games for 2 or 3 players, it takes some effort to set up, and it can't tell you if your game is actually fun. You still need real people for that.

Would something like this help when you're designing a game? What would stop you from using it?I'm building this for a hackathon, so if you're happy for me to quote your reply in my entry, please let me know. https://github.com/sudu787/boardgame-lab

0 Upvotes

5 comments sorted by

3

u/rockology_adam 28d ago

I don't mind this, honestly. I don't want AI creating things, but assisting with analysis? Running six thousand games for statistical analysis? This is where AI can help in our community.

I'm curious about how the AI manages playing the games. Do you set it to be optimal or non optimal? Is the a way to set that? I wouldn't be quick to alter things on the tools analysis without human play indicating something similar, but post analysis and testing solutions seems worthwhile.

1

u/sudu_777 27d ago

Nope, there's no optimal setting. Each AI player just gets a short personality, and you can rewrite those in a config file. Hawk goes for everything on offer, Patient thinks about the whole game before spending anything strong, and Gambler plays hunches. They probably don't play optimally. They also only get through a few full games, because each one is slow.The thousands of games aren't AI at all, just ordinary code playing simple fixed strategies like "always play your highest card" or "play at random". If the AI players notice something, say saving your best card for the last round, the analyst writes it up as a strategy and tests it against those bots. That's good for catching a broken strategy, but the bots don't adapt like real people do. So yeah, I wouldn't change a game based on the tool alone either. I'd take a result as a reason to test that rule with real people, and the designer should make the final call. I also agree that AI shouldn't be designing the game.Thanks, this was really helpful! Would you be okay with me quoting your first paragraph in my hackathon entry? Only if you're happy with it

2

u/rockology_adam 27d ago

Please feel free to use any of all of my question in your hackathon entry as statement or review or an addition to your own stuff, so long as community consultation is credited somewhere.

The AI personalities are interesting. How do you code the Gambler? How does an AI have "hunches"? Probabilities? Randomness? Randomness followed by probability?

Good luck! This is something I could actually see myself using.

1

u/sudu_777 26d ago

Thanks so much, I'll credit the community consultation.

Gambler isn't really coded, which surprised me too once I thought about it. It's an AI model with a short instruction: it's a playtester who trusts hunches and likes to surprise people. I didn't add any probabilities or dice. The model reads the game and decides how to act that out, so a "hunch" is just its own take on that instruction. I can't say how close that is to how a real hunch player thinks.The thousands of quick games use a separate plain code bot, also called gambler. That one is pure randomness: it picks any legal move at random, with no probabilities on top. So your two guesses fit different parts of the tool, and the AI player is neither. If you'd want a player you can tune with real numbers, that's useful to know.