Knowledge engineering in Chess Programming Evaluation of Chess Position
Criteria and Procedure
All the chess programs contain Analysis function that gauges the position depending on several constraints like material advantage and positional elements. Each piece on board is assigned some fixed values. Positional elements are also given values. (e.g.:- double pawn weakness can be given -0.25).A chess programmer should have a thorough knowledge of various positional elements and he should find an efficient method of implementing this into his program. Hence chess becomes the combination of knowledge engineering and searching. Here the interesting aspect of the chess programming comes into picture. Knowledge- The opening and ending phases of the game can be played through predestined knowledge known as the ‘Book moves’. For the middle game some patterns are identified by the programmer and given importance over others. Searching- Gaming trees which search the position for the best moves. Like Minimax and Alpha-beta pruning.