AI Gets a Brain Upgrade! (Smarter Playouts)
Hey everyone!
We've been hard at work under the hood, giving our Go AI a significant boost in strategic thinking! While you might not see any new buttons or visual changes on the surface, this update fundamentally improves how the AI evaluates moves and makes decisions.
What's Changed?
Previously, when our AI was "thinking ahead" (using its Monte Carlo Tree Search algorithm), a core part of its process involved simulating many possible random game continuations (called "playouts") to see which initial moves led to better outcomes. The keyword here is random. While this can work, purely random playouts often miss obvious tactical opportunities or blunders, leading to a less-than-ideal understanding of the game state.
The Big Upgrade: Heuristic Playouts!
We've now replaced those purely random playouts with a much smarter, heuristic-driven playout policy. This means that during its internal simulations, the AI now:
- Prioritizes Critical Moves: It's much more likely to "see" and play moves that:
- Capture opponent stones.
- Save its own groups from being captured (escaping atari).
- Put opponent groups into atari.
- Responds Locally: It pays more attention to the opponent's last move and considers responses in that area.
- Avoids Obvious Blunders: It's less likely to make simple mistakes like unnecessarily filling its own eyes or walking into self-atari without a good reason.
What Does This Mean for You?
- Stronger AI Opponent: Expect the AI to play more sensibly and make fewer unforced errors. It should be better at recognizing threats and opportunities.
- More Realistic Game Flow: The AI's simulated games (which inform its decisions) will look more like how a human might play, leading to more robust evaluations.
- Fewer "Huh?" Moments: Hopefully, this reduces instances where the AI makes a perplexing move (like passing prematurely when the game is still on!).
The Nitty-Gritty (Without Getting Too Nitty-Gritty):
This change involved teaching the AI a set of "rules of thumb" (heuristics) for quickly evaluating how good a potential move is during its rapid simulations. It now scores moves based on immediate tactical advantages and tries to play the "best" available option according to these scores, rather than just picking any valid move at random.
Let us know what you think of the AI's play! Your feedback is invaluable.
Happy Gaming!
Files
Go Game Online with KataNet AI
A versatile Go board: Play, analyze, and challenge AI opponents.
More posts
- Your AI Go Coach Just Got Smarter!37 days ago
- ✨ Learn Go Faster with Your New AI Coach! ✨40 days ago
- Know Your Odds! AI Winrate Now Powers Up Your Go Analysis!41 days ago
- Accessibility Upgrades! ♿41 days ago
- Supercharged Review Mode! 🚀42 days ago
- Level Up Your Game Review! New Analysis Tools Added!42 days ago
- AI vs AI Gets More Interesting & Safer Plays!42 days ago
- Auto-Save, AvA Pause, SGF Power-Ups & More!42 days ago
- Take Control! "Play From This Position" Gets a Major Upgrade!43 days ago
Comments
Log in with itch.io to leave a comment.
Unfortunately now it thinks and thinks while making its first move, and almost locks up Firefox in the process, so the game is now unplayable for me.
You can try reducing Time Limit per Evaluation Batch (ms) (Settings) - If 60 000 to 30 000(30s)
I my tests for 10000iterations(my time limit is 80sec) it takes 90seconds It to make its first move and it manages 8885/10000 iters. (my CPU is 20core i9, mobile computer, browser firefox)
I have an old Core 2 Quad. And since the game remembers its settings, now I can't even open it without it starting right up again, so there's no way to fix the settings anymore.
If the game is left in AvA mode it resets to PlayerVSPlayer on reload.
on mac mini M1 it is a different picture but it runs

Well, yeah, the M1 is famously fast. I'll try again after the next update. That should reset the settings.
You can reset the settings in options...
I can't get to the settings right now since simply opening the game locks up my browser.
The game should default to PvP mode if last played AvA mode ... In private window should open but don't know what is the problem. It is programmed to NOT autostart AvA mode!
Basic observations about the game:
Board size: 9x9 (small board)
Rule set: Chinese
Komi: 7.5 (standard for Chinese rules on a small board)
Moves: 61 moves total
If you set 30000 iters/move AI could get stronger.
and the assesment of Grok on the last AvA game:
ChatGPT assesment: