Author: Filip Tvrzsky
Date: 20:05:25 06/21/02
Go up one level in this thread
Let me suppose my solution of your problems with hashed matescores (quite simple and in fact identical with that of Mr. Hyatt): adjust the evaluation every time just after you become it from the depth "depthroot + 1". Something like: int Evaluation = -Alfabeta(-Beta, -Alfa, Horisont_alfabeta - 1); if (Evaluation < -MATVALUE + 100) Evaluation++; else if (Evaluation > MATVALUE - 100) Evaluation--; Of course, when the side to move is mated, you should return evaluation "-MATVALUE". And that is all! Then you do not need care for it more when hashing or using hash values. I use this solution in my chess program now (I had also big problems this kind for a long time) and it works fine! Sorry for my poor English. Filip Tvrzsky
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.