alpha-beta performance
Posted: Thu Apr 04, 2013 6:07 am
Hi everybody,
I have just finished my first chess engine. He plays legal moves and recognize when he is checkmated, which already makes me happy ( I am sure you know this !).
I am worried about the performance now. I am using a very simple alpha-beta search algorithm (basicly, the algorithm you can find on wikipedia), but the perf are very poor. From the initial position, I reach a depth of 4 ply in +- 5 minutes.
Can you please tell me what can I expect from this basic version of alpha-beta (lets say, how much time does it takes normally to reach a depth of 4) ? It will help me to identify if I have to work on my search algorithm or on something else.
Thanks for your comments,
I have just finished my first chess engine. He plays legal moves and recognize when he is checkmated, which already makes me happy ( I am sure you know this !).
I am worried about the performance now. I am using a very simple alpha-beta search algorithm (basicly, the algorithm you can find on wikipedia), but the perf are very poor. From the initial position, I reach a depth of 4 ply in +- 5 minutes.
Can you please tell me what can I expect from this basic version of alpha-beta (lets say, how much time does it takes normally to reach a depth of 4) ? It will help me to identify if I have to work on my search algorithm or on something else.
Thanks for your comments,