Author: Jeremiah Penery
Date: 09:27:47 12/25/02
Go up one level in this thread
On December 25, 2002 at 11:18:54, Uri Blass wrote: >I guess that releasing 2 exe file when one file is not supposed to be used for >playing is the most simple solution (using #define game c when c is from a text >file is better but I do not know if it is possible). > >Uri #define shouldn't work in that way, because it is only used in the compiler preprocessor I think the easiest way would be to just copy your functions (gen, makemove, undomove - whichever calculates the stuff that perft doesn't need) and remove the extra stuff. So you have gen(), perft_gen(), makemove(), perft_makemove(), etc. Then when you do perft, just call the appropriate one.
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.