Get the best move from alpha-beta

Code, algorithms, languages, construction...
Post Reply
andypandy
Posts: 3
Joined: Wed Jul 17, 2013 5:25 pm
Real Name: Anders Kleimark

Get the best move from alpha-beta

Post by andypandy » Wed Jan 01, 2014 9:39 pm

How do you get the best move from alpha-beta, instead of just a score?

lauriet
Posts: 10
Joined: Sun Nov 03, 2013 10:44 am
Real Name: laurie tunnicliffe

Re: Get the best move from alpha-beta

Post by lauriet » Tue Jan 07, 2014 7:17 am

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

lauriet
Posts: 10
Joined: Sun Nov 03, 2013 10:44 am
Real Name: laurie tunnicliffe

Re: Get the best move from alpha-beta

Post by lauriet » Wed Jan 08, 2014 7:06 am

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.

Post Reply