Page 2 of 2

Re: Gnuchess book

PostPosted: 02 May 2014, 13:41
by H.G.Muller
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.)

Re: Gnuchess book

PostPosted: 02 May 2014, 15:42
by matrix101
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.

Re: Gnuchess book

PostPosted: 02 May 2014, 16:00
by H.G.Muller
That is not so strange: by 'sudo' you become another user, (namely 'root') and each user has its own settings.

Re: Gnuchess book

PostPosted: 02 May 2014, 20:49
by matrix101
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

Re: Gnuchess book

PostPosted: 01 Nov 2017, 17:41
by p3hzucn
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

Re: Gnuchess book

PostPosted: 12 Feb 2018, 04:57
by kob95