[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: legal move options
From: |
Simon Waters |
Subject: |
Re: legal move options |
Date: |
Mon, 02 Aug 2004 23:16:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 |
-----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-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: legal move options,
Simon Waters <=