Article View: gnu.chess
Article #1308Using GNU Chess to generate a PGN book
From: Alex Holland
Date: Sun, 09 Nov 2003 20:10
Date: Sun, 09 Nov 2003 20:10
24 lines
2238 bytes
2238 bytes
I'm doing a Third Year Computer Science degree project on Behaviour Cloning for Chess - using Inductive Logic Programming (Aleph in particular) to copy the chess playing behaviour of an existing person or machine. One of the sources I'm considering cloning is GNU Chess, as I can easily have a look at it and see how it works, and it's fairly well documented. To this end, I'd like to set it up to play against itself for a few days, keeping all the game moves saved in a big text file. I can then use this file as positive examples for the ILP algorithms. However, I can't find any way to do this. I know I can save games into PGN format, but I can't find any way to make it play against itself, short of typing "go" over and over again :) Ideally what I want is for GNU chess to play against itself until endgame, then save a PGN, then repeat. Is there any facility for this, or am I going to have to exert my shaky C++ skills on the sourcecode? For reference, I'm running GNU Chess 5.06 on Gentoo GNU/Linux. Thanks in advance. Alex Holland
Technical Details
Message-ID:
<3fae9f0c$0$465$cc9e4d1f@news.dial.pipex.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,54be49931df8aa33,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 2003-11-09 12:09:49 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!not-for-mail Date: Sun, 09 Nov 2003 20:10:27 +0000 From: Alex Holland <ah160@cs.york.ac.uk> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.5) Gecko/20031102 X-Accept-Language: en-gb, en-us, en MIME-Version: 1.0 Newsgroups: gnu.chess Subject: Using GNU Chess to generate a PGN book X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 25 Message-ID: <3fae9f0c$0$465$cc9e4d1f@news.dial.pipex.com> NNTP-Posting-Date: 09 Nov 2003 20:09:49 GMT NNTP-Posting-Host: 81-86-246-53.dsl.pipex.com X-Trace: 1068408589 news.dial.pipex.com 465 81.86.246.53:33204 X-Complaints-To: abuse@uk.uu.net