Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc
Moderator: Andres Valverde
by Guest » 03 Apr 2005, 23:19
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
-
Guest
-
by Bryan Hofmann » 03 Apr 2005, 23:43
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....
-
Bryan Hofmann
-
- Posts: 98
- Joined: 02 Oct 2004, 20:26
- Location: USA
-
by Guest » 03 Apr 2005, 23:56
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.
-
Guest
-
by Guest » 04 Apr 2005, 02:45
Never mind. I figured it out. If anybodys interested, let me know and I'll tell you how. It was pretty simple.
-
Guest
-
Return to Programming and Technical Discussions
Who is online
Users browsing this forum: No registered users and 12 guests