Gnuchess book

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Re: Gnuchess book

Postby H.G.Muller » 02 May 2014, 13:41

The correct syntax is

Code: Select all
xboard -fcp ./gnuchess -fd ./gnuchess/gnuchess-6.1.1/src -zp -ics -icshost freechess.org


(I never understood why -ics is not implied by -icshost, or, alternatively, why -icshost does not have a default URL, but that is how it always has been. You have to give -ics to get XBoard in ICS mode, and then specify the ISC as well. Recommended is to get a timeseal somewhere and install it, and then also add -icshelper timeseal, to not have the network lag count against you.)
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Gnuchess book

Postby matrix101 » 02 May 2014, 15:42

Yes

It`s quite strage that if I type "xboard" in terminal window the board is green and light green and if I prepend "sudo" to the xboard command the board is white and orange.
matrix101
 
Posts: 53
Joined: 02 Feb 2014, 12:46

Re: Gnuchess book

Postby H.G.Muller » 02 May 2014, 16:00

That is not so strange: by 'sudo' you become another user, (namely 'root') and each user has its own settings.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Gnuchess book

Postby matrix101 » 02 May 2014, 20:49

Hello!

I have not studied C/C++ very deeply yet, but to get me on the right foot I need a good C++ guide (I haven`t got one in my hands yet!). It is worth mention though that I need to understand the Standard Library first.

First, C++ has some advantages compared to C.

1) Any time the computer can handle checking something instead of relying on the irrational mind it`s good. For example creating types that protect invariants and doing so in an automated way. In C++ the compiler can enforce this.

Back to the original topic I don`t know if there is much difference between the standard libraries of C and C++. Anyway, I found these: http://www.sgi.com/tech/stl/download.html

I download STL (v3.3) as a tar file and then compile?

I thought STL would be included in gcc++ obviously not http://gcc.gnu.org/onlinedocs/gcc/Standard-Libraries.html#Standard-Libraries

I have no experience on STL but I think they are related to #include stuff
matrix101
 
Posts: 53
Joined: 02 Feb 2014, 12:46

Re: Gnuchess book

Postby p3hzucn » 01 Nov 2017, 17:41

http://ftp.gnu.org/gnu/chess/
https://sourceforge.net/projects/gnuchesswin32/
https://www.gnu.org/software/chess/manu ... 02daddbook

gnuchess.exe
gnuchess.ini
book_1.02.pgn --> book.bin

1. Change the GNUChess.ini file. (Book = true; OwnBook = true; BookFile = book_1.02.pgn)

[Adapter]
...
Book = true
BookFile = book_1.02.pgn
...
[Engine]
...
OwnBook = true # false for no book (e.g. Nunn-like matches)
BookFile = book_1.02.pgn

2. Click the GNUChess.exe file.
The syntax to add a new book is: book add file.pgn
Enter command in rows: book add book_1.02.pgn

GNU Chess 6.2.4
Copyright (C) 2016 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 or later <http://gnu.org/licences/gpl.html>
This is free software: you are free to change and redistribute it
There is NO WARANTY, to the extent permitted by law.
White (1): book add book_1.02.pgn

3. If the book.bin file is complete, edit the GNUChess.ini file.
(Book = true; OwnBook = true; BookFile = book.bin)

[Adapter]
...
Book = true
BookFile = book.bin
...
[Engine]
...
OwnBook = true # false for no book (e.g. Nunn-like matches)
BookFile = book.bin
p3hzucn
 
Posts: 1
Joined: 01 Nov 2017, 02:45


Previous

Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 41 guests