Does anyone know if it is possible to make Crafty resign quite late, or not at all, i.e. let the game go all the way ?
All I see is this from craftychess.com
"resign 9 which will make Crafty resign roughly five moves after the score drops below -9.000"
I wonder if "resign 20" say is valid, and that would translate roughly to five moves after the score drops below -20.000 ?
Crafty Resign threshold
Moderators: hgm, Rebel, chrisw
Re: Crafty Resign threshold
Thanks, I'll try resign 0SzG wrote:
Yes, resign 20 is valid. And resign 0 tells Crafty never to resign.
Edit: I wonder if that works for Frenzee..
Re: Crafty Resign threshold
Hmm... "resign 0" doesn't stop Crafty resigning hereSzG wrote:And resign 0 tells Crafty never to resign.
Re: Crafty Resign threshold
Did you try resign=0? That works for me. Maybe the equal sign makes a difference?Spock wrote:Hmm... "resign 0" doesn't stop Crafty resigning hereSzG wrote:And resign 0 tells Crafty never to resign.
Edit:
I was having the same problem and Dr. Hyatt replied in this post (Maybe the link will work).
http://www.talkchess.com/forum/viewtopi ... 310#247310
Re: Crafty Resign threshold
Yes that works !!Charles B. wrote: Did you try resign=0? That works for me. Maybe the equal sign makes a difference?
Edit:
I was having the same problem and Dr. Hyatt replied in this post (Maybe the link will work).
http://www.talkchess.com/forum/viewtopi ... 310#247310
I do recall that some parameters use the = sign and some don't. You have to be careful...
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty Resign threshold
Any number is legal. To turn resignations off, just use "resign=0" and it will never resign and will play the game out to the bitter end. Probably a waste of time if you are playing tournaments or testing. I'd think that even resign=9 is pretty safe.
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty Resign threshold
It should make no difference:Spock wrote:Yes that works !!Charles B. wrote: Did you try resign=0? That works for me. Maybe the equal sign makes a difference?
Edit:
I was having the same problem and Dr. Hyatt replied in this post (Maybe the link will work).
http://www.talkchess.com/forum/viewtopi ... 310#247310
I do recall that some parameters use the = sign and some don't. You have to be careful...
Crafty v23.0 (1 cpus)
White(1): resign=9
resign after 5 consecutive moves with score < -9.
White(1): resign 9
resign after 5 consecutive moves with score < -9.
White(1):
Either works fine. sd=8 and sd n are parsed the same way using strtok() which allows either an = or a space (or even a slash) as a delimiter...
Re: Crafty Resign threshold
Well it did herebob wrote: It should make no difference:
Crafty v23.0 (1 cpus)
White(1): resign=9
resign after 5 consecutive moves with score < -9.
White(1): resign 9
resign after 5 consecutive moves with score < -9.
White(1):
Either works fine. sd=8 and sd n are parsed the same way using strtok() which allows either an = or a space (or even a slash) as a delimiter...
Double clicking the exe and reading the text that comes up when Crafty starts, with "resign 0" there was no mention of resign being disabled, with "resign=0" it DID say that resgnation was disabled,
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty Resign threshold
Crafty v23.0 (1 cpus)Spock wrote:Well it did herebob wrote: It should make no difference:
Crafty v23.0 (1 cpus)
White(1): resign=9
resign after 5 consecutive moves with score < -9.
White(1): resign 9
resign after 5 consecutive moves with score < -9.
White(1):
Either works fine. sd=8 and sd n are parsed the same way using strtok() which allows either an = or a space (or even a slash) as a delimiter...
Double clicking the exe and reading the text that comes up when Crafty starts, with "resign 0" there was no mention of resign being disabled, with "resign=0" it DID say that resgnation was disabled,
White(1): resign 0
disabled resignations.
White(1): resign=0
disabled resignations.
White(1):
Should make no difference at all, and does not here either. Always make sure the last line in your crafty.rc file is blank, as wordpad will fail to put a CR/LF on the last line and that will cause it to not get parsed.
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty Resign threshold
Nope. All are parsed by the same code. Here is a run with both "resign=0" and "resign 0" in my .craftyrc:SzG wrote:However, either works if you issue the resign command AFTER you started Crafty from the command line (that is, no resign command in the rc file).Spock wrote:Well it did herebob wrote: It should make no difference:
Crafty v23.0 (1 cpus)
White(1): resign=9
resign after 5 consecutive moves with score < -9.
White(1): resign 9
resign after 5 consecutive moves with score < -9.
White(1):
Either works fine. sd=8 and sd n are parsed the same way using strtok() which allows either an = or a space (or even a slash) as a delimiter...
Double clicking the exe and reading the text that comes up when Crafty starts, with "resign 0" there was no mention of resign being disabled, with "resign=0" it DID say that resgnation was disabled,
Two different ways of parsing, it seems.
crafty% crafty
found computer opening book file [./bookc.bin].
pondering disabled.
noise level set to 0.
book learning disabled
disabled resignations.
disabled resignations.
Crafty v23.0 (1 cpus)
Notice it picked up both.