Article View: gnu.chess
Article #5090p67 & genmoves
From: Mike McGann
Date: Tue, 08 Feb 1994 06:46
Date: Tue, 08 Feb 1994 06:46
16 lines
1473 bytes
1473 bytes
As Kong Sian has noted the new genmoves is considerably slower than the old, and it may represent a bad solution to the problem but there is a real problem. genmoves is used for 2 things in gnuchess. It is used to generate moves and it is also used to verify oponents moves. The old genmoves worked fine for generating moves but it generates illegal moves. So when it is being used to verify moves it will allow illegal moves. When gnuchess demanded that input moves be in full algebraic format (i.e. e2e4) that wasn`t a problem because they could never be ambiguous. But allowing moves like Nd2, often both knights could have made the move and it wasn't clear which move was correct. But one of the knights was pinned so it could only have been the second to move. This showed up when the ICS move format was changed to shortened algebraic. So the new genmove. Perhaps teh correct solution is 2 genmoves. 1 for generating and 1 for verification. mike
Technical Details
Message-ID:
<1994Feb8.064611.11458@hasler.ascom.ch>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!EU.net!chsun!hslrswi!mwmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,b6ed7719ca9875d5,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-02-07 22:46:11 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!EU.net!chsun!hslrswi!mwm From: mwm@hasler.ascom.ch (Mike McGann) Subject: p67 & genmoves Message-ID: <1994Feb8.064611.11458@hasler.ascom.ch> Organization: Ascom Hasler AG, Berne, Switzerland Date: Tue, 8 Feb 1994 06:46:11 GMT Lines: 16