Rate moves by how likely they are to induce an opponent mistake
Source:R/fct_blunder_radar.R
trappiness.RdFor each candidate move, plays it and measures how badly a human opponent is likely to go wrong in the resulting position. Moves are then scored on practical value: what the move costs you objectively, set against what it is likely to win you from the opponent's mistakes.
Arguments
- fen
Position to move from.
- maia
A session from
maia_session_start()representing the opponent.- ctx
A chess.js V8 context, used to apply moves.
- top_n
How many of your own candidate moves to examine.
- movetime_ms
Engine time per evaluation search.