Arimaa player #8519
New bot: bot_turtle
« on: Aug 18th, 2018, 2:48pm »
I made a bot! It's really basic, just a simple four-step search.
But it can beat ArimaaBotScoreP1, which was a bucket list item for me.
As you can see, it recognizes goal in one (always) and one-move captures (usually).
Behind the scenes, I wrote 329 test cases (and counting).
Roughly 2/3 of the tests are related to generating legal moves, including many low-level bitboard operations to check for freezing, adjacent enemies, captured pieces, etc.
It's written in Java, there are plenty of inefficiencies, and I've been thinking of starting over from scratch in Go. But I wanted to make a dent in the bot ladder first.
This took me two months (while working full-time) and it was totally worth it! Looking forward to seeing what great things the community comes up with. (And, when I have time, hopefully contributing some stuff of my own.)