Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Where we've been and where we're going in the discussion on XML

Author: Russell Reagan

Date: 15:40:16 06/10/04

Go up one level in this thread


On June 10, 2004 at 16:46:02, Marek Strejczek wrote:

>I have only a little experience with XML, however realize that the new format
>should be also relatively readable for humans - many people can follow a chess
>game quite far just by looking at the SAN moves - however, only a few can do it
>having coordinate notation only. And they may prefer this kind of game browsing
>if they want to e.g. just have a glance at the openings.


The problem is that the moves won't be a normal list of moves like 1. e4 e5 2.
Nf3 Nf6, etc. It will look more like this:

<MoveList>
  <MoveElement>
    <Time format="seconds">6</Time>
    <Eval pov="white">0.60</Eval>
    <Ply>10</Ply>
    <PV>e2e4 e7e5 g1f3 b8c6</PV>
    <Move>e2e4</Move>
  </MoveElement>
  <MoveElement>
    <Time format="seconds">7</Time>
    <Eval pov="black">0.20</Eval>
    <Ply>9</Ply>
    <Move>e7e5</Move>
  </MoveElement>
</MoveList>

Now consider that there might be a dozen other possible tags for each move, in
addition to <Time>, <Eval>, <Ply>, <PV>, and <Move>. Following the game from the
XML file isn't going to be very easy regardless of the notation which is used.
Therefore, human readability shouldn't be a major factor.


>In most environments
>some kind of a lister application is always at hand, and very fast, while using
>specialized application to open the games files may take too much time, the
>application may be unavailable at the moment etc.
>
>Therefore, my 0.02$ is a suggestion to make the notation as readable for humans
>as possible, because computers don't get tired of move parsing anyway, and:
>1) programmers will soon have ready reusable components for parsing (so it is
>rather a one time effort to implement more complex parser)
>2) most of those programmers will be GUI programmers - so engine developers will
>not lose much time at implementing it, even without those components.
>
>Marek Strejczek



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.