Article View: gnu.chess
Article #1877Need List of Legal Moves for Given Position
From: Ed Suominen
Date: Tue, 15 Jan 2002 06:46
Date: Tue, 15 Jan 2002 06:46
11 lines
1629 bytes
1629 bytes
I would like to use GNUchess (or something else) to generate a list of legal moves for a given position. I plan to use TCL to interface with the program via STDIN and STDOUT. The GNUchess command "test movelist" looks promising, but I don't see how I can call GNUchess from the command line to execute that one command, send the result to STDOUT, and return to TCL. Is there a simple change to the source I could make to have GNUchess do this? Does anyone have any suggestions? Thanks, Ed Suominen ed at eepatents dot com
Technical Details
Message-ID:
<a20j69$n43$1@news.chatlink.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!news.earthlink.net!feed1.onemain.com!news.atl.earthlink.net!uunet!dca.uu.net!ash.uu.net!dfw.uu.net!sea.uu.net!news.chatlink.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,9700b52d8020e3de,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 2002-01-14 22:45:36 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!news.earthlink.net!feed1.onemain.com!news.atl.earthlink.net!uunet!dca.uu.net!ash.uu.net!dfw.uu.net!sea.uu.net!news.chatlink.com!not-for-mail From: "Ed Suominen" <ed-no@spam-eepatents.com> Newsgroups: gnu.chess Subject: Need List of Legal Moves for Given Position Date: Mon, 14 Jan 2002 22:46:03 -0800 Organization: OWDS Inc. Lines: 13 Message-ID: <a20j69$n43$1@news.chatlink.com> NNTP-Posting-Host: pppoe-64-91-102-110.rb.gh.centurytel.net X-Trace: news.chatlink.com 1011077129 23683 64.91.102.110 (15 Jan 2002 06:45:29 GMT) X-Complaints-To: abuse@chatlink.com NNTP-Posting-Date: Tue, 15 Jan 2002 06:45:29 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200