go‑lattice — playing Go against the physics

No neural network, no opening book, and no evaluation function that wasn't derived from the model. The bot ranks moves by liberty structure — the same root weights R that the liberty‑gap plot draws — looks one move ahead to see whether the reply refutes it, and samples from a Boltzmann weight. It is weak: a club player will take it apart. It is, however, transparent, and the sliders really are coefficients in its scoring. Source and the write‑up.

Your move — you are Black.

Game

Model parameters

1.00
0.40
0.20
1.00
1.00
0.25

Move a slider and the term it controls lights up in the panel below.

What the bot is scoring

Every legal move gets a score — lower is better — from these terms. The sliders above are the coefficients.

+0.28 cost of the stone 1.4 × Δ, the same for every move, so it cannot reorder them — it decides whether the best one beats passing. Raise Δ and the bot stops playing sooner.
−6.0 × captures stones this move removes from the board.
1.00 × liberty terms self‑atari, rescuing a group in atari, putting one into atari, total breathing room, and whether a short‑of‑breath group wins the capturing race. All of it is read off ℓi, the diagonal of R. α scales the lot: near 0 it plays carelessly and bleeds stones, near 3 it fights hard for breath.
−0.20 × contact (J) how much it likes playing right next to enemy stones.
+0.10 × clustering (K) how much it likes its own stones touching. There is a fixed penalty on top for solid clumps, which are strong but slow.
−0.35 × territory change in owned empty area — chambers of the complement that only this colour touches.
S = (terms above) − 0.8 × S(opponent's best reply) One ply of lookahead. Without it a stone that dies on the very next move scores perfectly well, which is what made an earlier version of this bot feed stones to its opponent all game.
P(move) ∝ exp(−S / 0.25) It samples rather than always taking the best move. At temp = 0 it is deterministic; past about 0.5 it wanders and starts losing groups — the same energy–entropy trade‑off the equilibrium model has.

Search

playouts
—
it thinks it wins
—
visits on move
—
moves considered
—

The physics score is the prior: it decides where the search looks first, through P in PUCT = Q + c P √N / (1+n). Q then comes from playing the position out to the end thousands of times, so the sliders still steer it but no longer have the last word. Turn search off to play the raw score again — it is much weaker.

Complement topology

β₀ empty
1
enclosure ℰ
0
Black area
0
White area
0
Black caught
0
White caught
0

β₀ counts connected empty regions. By Alexander duality those are the H¹ classes of the barrier, so ℰ = β₀ − 1 counts enclosures beyond the trivial one supplied by the board edge.

Liberty gap λmin(L+R)

One bar per group. The gap falls toward zero as a group runs out of independent routes to a liberty; it is exactly zero at capture, where det(L+R) vanishes.

log det(L+R) over the game

Black White

Territory and enclosure

Black area White area ℰ