connectpuct
Connect Four against the same PUCT search agent the benchmark measures. The bars show where its search spent its visits on the last move.
The engine and search in puct.js are a line-for-line port of
connectpuct/engine.py and connectpuct/mcts.py: center-weighted priors,
immediate-win and block checks, tactical rollouts, PUCT selection with c = 1.4. Only the random
number generator differs, because Python's can't be reproduced in JavaScript. At 40 simulations it
beats random and center-first play; against depth-3 minimax the Python benchmark has it winning
11 of 20.
Source and benchmarks ·
Case study