🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1169

Re: legal move options

#1169
From: Simon Waters
Date: Mon, 02 Aug 2004 22:16
34 lines
2415 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Banerjee wrote:
|
| We are trying to figure out a way to simulate the
| functionalities of these functions, but we need to
| figure out a way to get around the second function.
| Also, the game will allow moves that are not legal,
| but giving the "xncp" option should enable regular
| chess game. Is there any other way to restrict moves
| to legal only and let the games reject illegal moves?

Assuming this is Xboard you are referring to...

Not as far as I know, I don't believe Xboard/Winboard "knows" enough
state about the current state of the chess game to establish if a move
is legal (I believe it misses certain castling restrictions, and certain
draws). It does a pretty good job, but I don't think it aims to be
complete, as it doesn't need to be.

If you input an illegal move to a compatible engine it will reject it,
and I believe Xboard handles this nicely.

Using GNU Chess be sure to have a version after 5.04 for the correct
errors on illegal moves.

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBDr0mGFXfHI9FVgYRAk6zAJ9Abtrp3c9UvHqcra27bl0rhK0I6QCgk/0g
wIDt6MaTNgm1dtzDOpFwddk=
=cGmc
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <cemelq$4u$1$830fa7b3@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
References: <mailman.2295.1091307166.1960.info-gnu-chess@gnu.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d71d,461c0866413b8df2
X-Google-Attributes: gid10d71d,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
From: Simon Waters <simon@wretched.demon.co.uk>
Newsgroups: gnu.chess
Subject: Re: legal move options
Date: Mon, 02 Aug 2004 23:16:07 +0100
Lines: 34
Message-ID: <cemelq$4u$1$830fa7b3@news.demon.co.uk>
References: <mailman.2295.1091307166.1960.info-gnu-chess@gnu.org>
NNTP-Posting-Host: wretched.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1091485179 158 193.237.109.203 (2 Aug 2004 22:19:39 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Mon, 2 Aug 2004 22:19:39 +0000 (UTC)
In-Reply-To: <mailman.2295.1091307166.1960.info-gnu-chess@gnu.org>
X-Enigmail-Supports: pgp-inline, pgp-mime
X-Enigmail-Version: 0.83.6.0
X-Accept-Language: en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5