Article View: gnu.chess
Article #1467Re: move string format
From: Andy Georges
Date: Thu, 27 Mar 2003 08:02
Date: Thu, 27 Mar 2003 08:02
41 lines
2620 bytes
2620 bytes
Hello, > GNU Chess produces moves in standard algebraic notation (SAN). > > This is the most widely used format for representation of chess moves, > it may not be the most easily machineable format, but that isn't the > only criteria for selecting a format, otherwise it would probably be in > binary. > > I'd strongly suggest you consider working with SAN, if you need to > handle chess moves in software. > > SAN is documented in the PGN specification. There is a rather dated SAN > toolkit for parsing SAN in C, many major programming and scripting > languages now have SAN parsing modules (Perl, Python etc). Thanks. > I'm not sure what alternative you are suggesting, but "from square, and > to square" doesn't handle (under)promotions very well. LAN is very > bulky, and I don't think we'll be implementing obselete standards for > output. I never suggested I'd put anything back into gnuchess, so no worries. I understand the output quite well, it's just that I was wondering if any option was available to force the output to contain all the information at all times, eg. Nb1c3X, where the X (or any other character), represents the fact no promotion was made. Thanks for the info! Regards, Andy -- -- ========================================================================== Parallel Information Systems Group - Dept. ELIS - Ghent University St. Pietersnieuwstraat 41, 9000 Ghent, Belgium Phone: +32-9-264.33.67, Fax: +32-9-264.35.94 E-mail: andy.georges@elis.rug.ac.be ==========================================================================
Technical Details
Message-ID:
<b5ub69$2e32di$1@ID-141095.news.dfncis.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!escher.elis.rug.ac.BE!not-for-mailReferences:
<b5shon$2ce94s$1@ID-141095.news.dfncis.de> <b5slue$soq$1$8300dec7@news.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,a5953c1d8d5db47c X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 2003-03-27 00:02:19 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!escher.elis.rug.ac.BE!not-for-mail From: Andy Georges <andy.georges@elis.rug.ac.be> Newsgroups: gnu.chess Subject: Re: move string format Date: Thu, 27 Mar 2003 09:02:17 +0100 Organization: RUG - ELIS Lines: 41 Message-ID: <b5ub69$2e32di$1@ID-141095.news.dfncis.de> References: <b5shon$2ce94s$1@ID-141095.news.dfncis.de> <b5slue$soq$1$8300dec7@news.demon.co.uk> NNTP-Posting-Host: escher.elis.rug.ac.be (157.193.67.99) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1048752138 81889714 157.193.67.99 (16 [141095]) User-Agent: KNode/0.7.1