Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Difference between revisions of "Chess Move Generator"


Line 1: Line 1:
In search algorithm, a good move ordering is rewarded by the reduction in tree sizes and faster searches. An example of a good chess move ordering is:
+
In search algorithm, a good move ordering enables us to reduct the tree sizes and search faster. An good chess move ordering can be:
  
 
* checking moves, direct and discovered,
 
* checking moves, direct and discovered,

Revision as of 06:43, 18 October 2006

In search algorithm, a good move ordering enables us to reduct the tree sizes and search faster. An good chess move ordering can be:

  • checking moves, direct and discovered,
  • promotions,
  • capturing moves, ordered by most valuable victim / least valuable aggressor (MVV/LVA),
  • non-capturing moves ordered according to history heuristic.

The general idea of MVV/LVA is to first generate capture moves with the most valuable capture piece and least valuable attacker piece (e.g. pawn captures queen).

Links

Chess Programming Part III: Move Generation