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

Difference between revisions of "Chess Move Generator"


 
(21 intermediate revisions by 2 users not shown)
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 reduce the size of search tree so that search algorithm goes deeper. A good chess move ordering schema can be:
  
* checking moves, direct and discovered,
+
* capturing moves (MVV/LVA),
* promotions,
+
* non-capturing moves ([[History heuristic]]).
* capturing moves, ordered by most valuable victim / least valuable aggressor (MVV/LVA),
 
* non-capturing moves ordered according to history heuristic.
 
  
MVV/LVA (Most Valuable Victim / Least Valuable Attacker) move generator. The general idea is to first generate capture moves with the most valuable capture piece and least valuable attacker piece (e.g. pawn captures queen).
+
The general idea of MVV/LVA is to first generate capture moves with the most valuable capture pieces and least valuable attacker pieces (e.g. pawn captures queen).
  
 +
== Links ==
 +
* [http://www.gamedev.net/reference/articles/article1126.asp Chess Programming Part III: Move Generation]
 +
 +
[[Category:Borko Bošković]]
 +
[[Category:Research activity]]
 
[[Category:Chess program BBChess]]
 
[[Category:Chess program BBChess]]
[[Category:Borko Bošković]]
+
[[Category:Representation of Chess Game]]
 +
 
 +
[[sl:Generator potez]]

Latest revision as of 09:47, 6 December 2006

In search algorithm, a good move ordering enables us to reduce the size of search tree so that search algorithm goes deeper. A good chess move ordering schema can be:

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

Links