New answers tagged

1

A simple board material evaluation using python-chess. Code import chess PV = { 'pawn': 100, 'knight': 320, 'bishop': 330, 'rook': 500, 'queen': 950 } DRAW_VALUE = 0 def evaluation(board): if board.is_insufficient_material(): return DRAW_VALUE wp = len(board.pieces(chess.PAWN, chess.WHITE)) bp = len(board.pieces(...


0

The usually basic evaluation people will start off with consistent material balance and piece-square tables. The material balance makes sure the engine understands basic ideas of trading and tactics, while the piece-square tables make sure the engine plays reasonable chess and encourages ideas like pushing pawns in the endgame or centralizing knights. It ...


3

An engine's hash table is a data structure where the engine stores positions and evaluations which it already calculated. The parameter hashfull tells what permille full the hash is, i.e. how full it is on a scale of 0-1000. Hashfull 0 means that the hash is empty, no data is being stored. Hashfull 1000 means that the hash is full, and no more data can be ...


Top 50 recent answers are included