Author: Robert Hyatt
Date: 07:23:20 11/25/03
Go up one level in this thread
On November 25, 2003 at 09:44:29, Peter Berger wrote:
>On November 25, 2003 at 09:26:20, Robert Hyatt wrote:
>
>>On November 25, 2003 at 09:16:45, Peter Berger wrote:
>>
>>>For information about setup and rules:
>>>http://www.talkchess.com/forums/1/message.html?329237
>>
>>What book are you using? 1. f4 is hardly an ideal opening for a computer
>>to play, and it is something Crafty would _never_ play against another
>>computer. Do you have a bookc.bin or books.bin file???
>
>I have both. I use the book.bin, bookc.bin and books.bin file offered for
>download at ftp://ftp.cis.uab.edu/pub/hyatt/common/.
>
>It was something Crafty played against another computer in this case.
You have a problem. What GUI are you using? IE probably not winboard or
xboard, which would send "computer" to crafty. If you start Crafty, and
type the following:
crafty
computer
show book
ponder=off
go
you should see this:
Crafty v19.6 (1 cpus)
White(1): computer
playing a computer!
White(1): show book
show book statistics
White(1): ponder=off
pondering disabled.
White(1): move
clearing hash tables
after screening, the following moves can be played
move played % score learn CAP sortv P% P
d4! 503991 33 0.25 0.00 -655.36 13402.8 50 Y
e4! 712147 47 0.25 -0.05 -0.07 13401.0 50 Y
Nf3 121355 8 0.11 0.11 -655.36 5372.6 0 Y
c4 113930 7 -0.15 0.12 -655.36 5161.0 0 Y
h3? 166 0 -0.18 0.47 -655.36 3030.1 0 N
d3? 809 0 0.22 0.28 -655.36 2313.3 0 N
g3? 11758 0 -0.17 0.20 -655.36 1468.1 0 N
b3? 5794 0 -0.17 0.12 -655.36 989.1 0 N
b4? 8778 0 -0.14 0.08 -655.36 788.0 0 N
e3? 1651 0 0.22 0.00 -655.36 667.4 0 N
Nc3? 4144 0 0.11 0.00 -655.36 560.9 0 N
Nh3? 110 0 0.01 0.00 -655.36 455.3 0 N
Na3? 74 0 0.01 0.00 -655.36 455.2 0 N
f4? 8908 0 -0.03 0.00 -655.36 427.6 0 N
f3? 162 0 -0.06 0.00 -655.36 385.3 0 N
g4? 1237 0 -0.14 0.00 -655.36 306.9 0 N
a3? 599 0 -0.18 0.00 -655.36 266.0 0 N
c3? 391 0 -0.18 0.00 -655.36 265.7 0 N
h4? 161 0 -0.15 -0.02 -655.36 177.7 0 N
a4? 167 0 -0.15 -0.07 -655.36 -116.4 0 N
book moves {d4, e4}
Notice _no_ f4. That is using the book.bin, books.bin and bookc.bin
from my ftp machine. You could look at the crafty log.nnn file to see
if you see the "playing a computer!" message from Crafty. If not, there
is a problem...
I just tried this under xboard on linux and it works perfectly... IE
xboard sends a "computer" command to crafty at the start of any game
played against a -scp (or -fcp) opponent...
>
>In the logfiles it says: "playing a computer!" in all games. When I start it in
>text mode it also points out that it finds a bookc.bin file (this is not logged
>in general in either text or WinBoard mode).
>
>The game logfile suggests that it will play 1. e4, 1. d4 and 1. f4 as white.
>If I start crafty in text mode, say "show book", and "move" the output suggests
>it will only play 1. e4 and 1. d4.
>
That almost seems like the two book files are reversed. IE if you start
crafty in console mode, and type "show book" and "move" you should see
three playable moves including f4. After also typing "computer" and
then "move" you should only see e4 and d4...
if you see e4, d4 and f4, one of two things is happening. Either the
computer command is missing, or you don't have a good bookc.bin. You might
diff your bookc.bin and books.bin. If they are the same, that is the problem.
Just re-download the bookc.bin from my ftp site (dated 2002 in the v19
directory) and that should fix it...
>So maybe there is some bug in Crafty 19.4 in XBoard mode - I use it with
>WinBoard 4.2.6. If there is additional information I can provide, please tell
>me.
>
>Anyway - the opening didn't seem to be the problem in any game so far.
No, but f4 is not a particularly good opening to play against computers which
is why it is not part of Crafty's normal opening choices when playing against
a program.
>
>Peter
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.