🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1473

Determine whether user is in check?

#1473
From: Yeremein
Date: Wed, 02 Apr 2003 04:17
6 lines
1270 bytes
I'm using GNU Chess 5.06 as a backend for a graphical chess program I'm 
writing.  Is there a way I can ask GNU Chess whether the human player is 
in check?

Also--can I ask GNU Chess whether a move is legal without actually 
making the move?
Technical Details
Message-ID: <b6do5g$ktf$1@terabinaries.xmission.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,4e33921e445802d2,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 2003-04-01 20:15:45 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!not-for-mail
From: Yeremein <yeremein@nonexistent.net>
Newsgroups: gnu.chess
Subject: Determine whether user is in check?
Date: Tue, 01 Apr 2003 21:17:25 -0700
Organization: XMission http://www.xmission.com/
Lines: 7
Message-ID: <b6do5g$ktf$1@terabinaries.xmission.com>
NNTP-Posting-Host: slc533.modem.xmission.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: terabinaries.xmission.com 1049256945 21423 166.70.7.25 (2 Apr 2003 04:15:45 GMT)
X-Complaints-To: abuse@xmission.com
NNTP-Posting-Date: Wed, 2 Apr 2003 04:15:45 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en