[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 9x9 and 13x13 download - NEW URL



>http://www.daimi.aau.dk/~tusk/go/

I've reduced these to just the strong games (defined as both players being 6
kyu or higher):
  http://www.netschool.co.jp/darren/strong9.zip  (40KB)

There are two sgf files split into even (357) and handicap (2) games.

-----------------

While sorting them out I started getting some strange results. I eventually
tracked it to square brackets being used inside comments, which meant my
program missed the bracket that closed the comment and about 300 games went
missing (a rather big comment!).

The demon smiley:   :-[

I think [ and ] should be preceded by a \ character in a comment.

I also had to allow for people writing "[something]" in their comments,
though that is relatively easy by incrementing a counter if a [, and
decrementing if a ], and not leaving the comment until the counter is back at 0.

BTW, the way I eventually tracked down the problem was by looking for (; in
a [] pair, which strongly suggests the comment did not get closed and has
run into the next game. I then had it print out the next 400 characters so I
could identify that game, then I edited the file by hand to remove the
offending [.

Was there an easier way?

Darren