Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Re: Re: Parsing Chess Algebra Notation

by dragonchild (Archbishop)
on May 04, 2004 at 17:28 UTC ( [id://350448]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Parsing Chess Algebra Notation
in thread Parsing Chess Algebra Notation

I said what I meant and meant what I said. I even gave an example.
+---+---+---+---+---+---+---+---+ 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

    You said

    Remember, Qa2b3 means that there are three queens, potentially at a2, a4, and b4

    Now in your reply you are showing a queen at a2, a3, and c2, and in this case there's no argument that Qa2b3 is unambiguous and necessary.

    Please understand, I wasn't disputing the occasional need to use both rank and file, just querying how you could deduce the existence of three queens from Qa2b3

    So forgive me if I misunderstood you, but perhaps you can see how my confusion arose.

     

      My bad. In my first example, Qa4b3 would have been the move that required the full notation. :-)

      ------
      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://350448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-20 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found