GaryW wrote: Mon Oct 12, 2026 11:13 pm
Hi, could someone advise me on how the AI player rating system is calculated. Apologies if I have missed an explanation elsewhere in the posts. I have created a Hnefatafl game with AI players of various strengths. I have implemented;
Search Algorithm
Minimax with Alpha-Beta pruning — the core search that looks ahead several moves, pruning branches that can't improve the result
Iterative Deepening — searches depth 1, then 2, then 3 etc., using time budgets
Transposition Table — caches previously evaluated positions to avoid repeating work
Killer Move Heuristic — tries moves that caused cutoffs in sibling nodes first
Late Move Reduction (LMR) — searches quiet (non-tactical) late moves at reduced depth, re-searching only if they look promising
Move Ordering
Moves are prioritised: king escape wins → blocking escape → capture threats → actual captures → defender protection → positional moves.
Opening Book
MCTS (Monte Carlo Tree Search)
Available as an alternative at higher strength levels
Web Worker
It plays all board sizes, 7x7 through to 19x19 and ten rulesets including Old, Copenhagen, Fetlar, Tawlbrdd, Ard Ri, Brandub, Magpie, Tablut, Berserk and Sea Battle.
I have not ventured into the realm of neural networks but I'm keen to learn how to measure the effectiveness of the AI so far implemented.
Thank you in advance for any guidance.