Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Short Algebraic notation

Author: Mark Ryan

Date: 20:45:44 08/23/00

Go up one level in this thread


On August 23, 2000 at 16:44:37, Bruce Moreland wrote:

>On August 23, 2000 at 13:43:12, Larry Griffiths wrote:
>
>>My old principle continuation printouts used to be:
>>
>>e2-e4  a1xd1  etc.
>>
>>I converted them to short algebraic notation since this seems to be very popular
>>and the test suites seem to use this for best move.
>>
>>If I remember correctly, pawn moves are e4 g7 etc and captures are bxe4 hxg7
>>etc.
>>
>>Other moves are Rf4 Qb6 etc and captures Rxf4 Qxb6...
>>
>>I cant remember what the notation looks like when the same type of pieces can
>>move or capture to the same square and the notation shows which piece to move.
>>Something like ra4-b4?
>>How should these look?
>>
>>
>>I would also have to make/unmake all the moves at the root ply and look for the
>>cases when 2 or more like pieces can capture or move to the same square.
>>
>>Any comments?
>>
>>Larry.
>
>Piece moves:
>
>The short case is Ne4.
>If there is a capture it is Nxe4.
>A check is Ne4+.
>A mate is Ne4#.
>If two knights can get to e4, but only one of them can get there legally (the
>other one is pinned) it is Ne4.  This is an important rule to remember, and it
>can be difficult to implement.
>If two knights can get there, and they are on a different file, it's Nce4.
>If they are on the same file, it's N3e4.  (You always use Nce4 if you can, N3e4
>is a last resort.)
>If you are talking about queens, and there are a bunch that can reach the same
>square, you might have to say Qd3e4, if there is more than one queen on the
>d-file, and more than one queen on the 3rd rank, each of which can legally reach
>e4.
>
>An interesting question is whether if two knights can go to e4, and one move is
>mate and the other one isn't, do you have to disambiguate?  I believe that you
>do.
>
>Castling:
>
>O-O
>O-O-O
>
>These are "oh's", not "zero's".  You can also have O-O+ and O-O#, of course.
>
>Pawns:
>
>P-K4 is e4.
>If it checks or checkmates it's e4+ or e4#, respectively.
>A capture is exd6.
>En-passant capture is also exd6, no need to say "e.p." or anything.
>Queening is e8=Q.
>Capturing and queening is as you'd expect: exd8=Q.
>
>If a move results in a draw, there is nothing that indicates this, in the move
>itself.
>
>bruce

Great post.  About draws, in FIDE notation, I believe that a player is obligated
to indicate the offer of a draw (whether accepted or declined) with an equal
sign.  I don't know if this matters.
Cheers,
Mark




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.