Page 1 of 1
Crafty source help
Posted:
03 Apr 2005, 23:19
by Guest
What I want to do is cause Crafty to pause for a second or two before it moves. That way it is more fair during lightning games. I know that this is a simple question but I am not much of a programmer. If somebody could tell me what code to put where it would be much appreciated.
Thank you in advance
PS I am using Crafty v19.19
Re: Crafty source help
Posted:
03 Apr 2005, 23:43
by Bryan Hofmann
You can get a modified version that Mike Byrnes created Crafty 19.17SE from here
http://www.crafty-chess.com/down/Byrne/ . Mike added a delay function (dm), but that function also turns off pondering. When you start messing with the timing of a chess engine it throws off a lot of things and it is more than just a simple add this snippet of code here....
Re: Crafty source help
Posted:
03 Apr 2005, 23:56
by Guest
Thank you for that, but I would like to leave ponder on. What I'm thinking is adding a piece of code right before it outputs its move. I just don't know where to add it. I also am not sure what to add because I know very little C.
Re: Crafty source help
Posted:
04 Apr 2005, 02:45
by Guest
Never mind. I figured it out. If anybodys interested, let me know and I'll tell you how. It was pretty simple.