in reply to Re: Re: Re: Re: Parsing Chess Algebra Notation
in thread Parsing Chess Algebra Notation
+---+---+---+---+---+---+---+---+ 8 | | | | | | | | | +---+---+---+---+---+---+---+---+ 7 | | | | | | | | | +---+---+---+---+---+---+---+---+ 6 | | | | | | | | | +---+---+---+---+---+---+---+---+ 5 | | | | | | | | | +---+---+---+---+---+---+---+---+ 4 | | | | | | | | | +---+---+---+---+---+---+---+---+ 3 | Q | x | | | | | | | +---+---+---+---+---+---+---+---+ 2 | Q | | Q | | | | | | +---+---+---+---+---+---+---+---+ 1 | | | | | | | | | +---+---+---+---+---+---+---+---+ a b c d e f g h
How would you indicate that the queen at a2 moves to b3? Q2b3 doesn't work, and Qab3 doesn't work. You have to say Qa2b3. And, before you say this is far-fetched, the notation isn't for normal games. It has to describe every single possible game.
Update: It seems that your link to wikipedia even describes this situation, and I quote:
It may be necessary to identify a departing piece with both its file and its rank in unusual configurations (e.g. the player has 3 queens or 3 knights on the board).
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Re: Parsing Chess Algebra Notation
by EdwardG (Vicar) on May 04, 2004 at 17:41 UTC | |
by dragonchild (Archbishop) on May 04, 2004 at 18:10 UTC |