Page 1 of 1

Get the best move from alpha-beta

Posted: Wed Jan 01, 2014 9:39 pm
by andypandy
How do you get the best move from alpha-beta, instead of just a score?

Re: Get the best move from alpha-beta

Posted: Tue Jan 07, 2014 7:17 am
by lauriet
Hi,
You can download my pascal program and see how I do it from ltchess.weebly.com
This is based on the classic triangular array that David Levy describes in "How computers play chess"

Regards
Laurie

Re: Get the best move from alpha-beta

Posted: Wed Jan 08, 2014 7:06 am
by lauriet
Or generate the moves at the root of the position and then call search to give a value to each of these moves. Then you know the move that gives the best score.

Regards
Laurie.