Go — Monte Carlo Tree Search

Click an intersection to place a black stone. The AI plays white using Monte Carlo Tree Search inside a Web Worker so the UI stays responsive.

Game controls

Status

Black to move
AI thinking…
Black score
0
White score
0
Captures (Black)
0
Captures (White)
0

Your turn. Click the board to place a black stone.

Project notes

Version 1.1 rules: captures, suicide checks, and simple ko are implemented. The game ends after two passes, and final scoring uses area scoring: stones on the board plus empty regions surrounded by one color. The AI uses Monte Carlo Tree Search with improved playout heuristics to prefer captures, avoid eye-filling, and keep simulations more local and realistic.