Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Harder than I thought...

Author: h.g.muller

Date: 14:18:52 02/11/06

Go up one level in this thread


On February 11, 2006 at 12:09:48, David Dahlem wrote:

>
>How do you enter mate-in-1 positions to this program?
>
>Regards
>Dave

Through the standard input, white pieces as upper case, black as lower case, and
empty squares as a period. Like:

RNBQKBNR
PPPP.PPP
........
....P...
......p.
.....p..
ppppp..p
rnbqkbnr

So the ranks have to be entered in ascending numrical order (which seemed
logical when I did it, but makes the board appear upside-down if you prepare the
input in a file and interpret it as a picture...)

As specified in the directions, there is no double move for the pawn, castling
or promotion, o this is not really FIDE chess! Keep that in mind when composing
your problems. And as an extra, if it can't find a mate in 1, it goes on looking
for a mate in 2!



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.