need help with writing sgf

Jaden

Post by Jaden »

Hi.

I have added my first problem, no. 1755. And I've been trying to add some wrong paths but it just won't come out as it should. It doesn't show all the wrong paths and I don't get the reason why. I just can't figure it out.

Maybe somebody is willing to help me with it? Would be very nice.

I attached the file I used for the problem. Only the upper paths work as it seems.

I'd like to add some more wrong paths, too. So if you know some interesting wrong paths, please let me know.

Thanks
Jaden


{Posted by Jaden}
Hans Schnabel

Post by Hans Schnabel »

[quote]
Hi.

I have added my first problem, no. 1755. And I've been trying to add some wrong paths but it just won't come out as it should. It doesn't show all the wrong paths and I don't get the reason why. I just can't figure it out.

Maybe somebody is willing to help me with it? Would be very nice.

I attached the file I used for the problem. Only the upper paths work as it seems.

I'd like to add some more wrong paths, too. So if you know some interesting wrong paths, please let me know.

Thanks
Jaden

[/quote]
Hi Jaden,

figuring out by hand a working sgf file with several variations is very difficult. You should try to download a program with a graphic interface that automatically produces the sgf file. I use cgoban, but there are other clients.
In your sgf in at least one variation you have placed a stone where one has already been.

Hans


{Posted by Hans Schnabel}
Jaden

Post by Jaden »

[quote]
Hi Jaden,

figuring out by hand a working sgf file with several variations is very difficult. You should try to download a program with a graphic interface that automatically produces the sgf file. I use cgoban, but there are other clients.
In your sgf in at least one variation you have placed a stone where one has already been.

Hans

[/quote]

Hi Hans.

Thanks for looking at the file. ^^ I have tried to produce a sgf-file with cgoban but I couldn't make it work at all. It was okay and worked in Cgoban but not on the page. I have tried yago, too. But somehow I always mess something up.

Hmm, there are stones on places where there have been stones but I think it is because they have been captured. I'm not sure if this is the case with all of the stones. Have you tried out my problem maybe? There are only some of the wrong paths working (those with the comments, the choices of Yuuki and Mai) and the others. don't.

Thanks again.
Jaden

{Posted by Jaden}
Hans Schnabel

Post by Hans Schnabel »

Hi Jaden,

This is the main part of your sgf file. I've marked some of your mistakes.

(;B[hm];W[bm];B[fm];W[gm];B[fm];W[em];B[gm]C[RIGHT Now white has only one eye. The other is a false eye. White dies.])
#(;B[fj];W[fm]
(;B[gm];W[hl]C[Mai was wrong. White can form two eyes.])
(;B[il];W[bm]C[Yuuki's choice. He was wrong. White has two eyes and lives.])
(;B[fm];W[em];B[hm];W[fm])
*Something is wrong in the line above since this variation includes a move on fm and in line # you have already placed a white stone on fm.
(;B[hl];W[bm]
(;B[gm];W[fm])
(;B[fm];W[gm];B[hm]C[White F1 forms two eyes.])
**Here is B[hm] but a white stone is already there.
(;B[fm];W[gm];B[fm];W[em];B[hm];W[fm])
**Here is B[hm] but a white stone is already there.
)
)
)

May be this helps you just a little bit.

Hans

{Posted by Hans Schnabel}
Jaden

Post by Jaden »

Hi Hans.

Yes, this did indeed help a bit. ^^

The file looks like that now:

(;SZ[13]FF[3]AB[al][bk][bj][dk][dj][ej][fi][el][em][gl][gj][hj][hk][jk]
AW[bl][cl][dl][dm][ek][fk][gk][fl]
C[Black to play and kill white.]
(;B[hm];W[bm];B[fm];W[gm];B[fm];W[em];B[gm]C[RIGHT Now white has only one eye. The other is a false eye. White dies.])
(;B[fj];W[fm]
(;B[gm];W[hl]C[Mai was wrong. White can form two eyes.])
(;B[il];W[bm]C[Yuuki's choice. He was wrong. White has two eyes and lives.]))
(;B[hl];W[bm]
(;B[gm];W[fm])
(;B[fm];W[gm];B[fm];W[em];B[hm];W[fm])
(;B[fm];W[gm];B[hm];W[fm]C[White has two eyes.])
)
)
)

The last wrong path still doesn't work, though. And I need to insert other paths for B-J2.

Well, do you know what's still wrong? Why the last path doesn't work? It stops after B[hm]. But W[gm] captures B[fm] so the space is empty. After B[fm];W[gm] is a variation. But how can I write that? A variation in a variation?

Thanks for helping me, that's really nice. ^^

Jaden

{Posted by Jaden}
Hans Schnabel

Post by Hans Schnabel »

Hi Jaden,

I've repaired the sgf-file. The structure of an sgf-file is very simple:
If there is a branching you simply start with a bracket "(" and after the end of this branch you close it with an bracket ")".
Example:
... B[aa]
(
;W[bb]
) "first branch"
(
;W[cc]
(;B[dd])
(;B[ee])
) "second branch"
(;W[dd]) "third branch")

I strongly recommand to distinguish between different orders of branches by indenting them the more the higher the order of the branch is (see the example).

Here is your sgf file with my correction concerning the last two variations:

(;SZ[13]FF[3]AB[al][bk][bj][dk][dj][ej][fi][el][em][gl][gj][hj][hk][jk]
AW[bl][cl][dl][dm][ek][fk][gk][fl]
C[Black to play and kill white.]
(;B[hm];W[bm];B[fm];W[gm];B[fm];W[em];B[gm]C[RIGHT Now white has only one eye.
The other is a false eye. White
dies.])
(
;B[fj];W[fm]
(;B[gm];W[hl]C[Mai was wrong. White can form two eyes.])
(;B[il];W[bm]C[Yuuki's choice. He was wrong. White has two eyes and
lives.])
)
(
;B[hl];W[bm]
(;B[gm];W[fm])
(;B[fm];W[gm]
(;B[fm];W[em];B[hm];W[fm])
(;B[hm];W[fm]C[White has two eyes.])
)
)


{Posted by Hans Schnabel}
Hans Schnabel

Post by Hans Schnabel »

Sorry for the strange smilies. They seem to appear instead of a round closing bracket.

Hans

{Posted by Hans Schnabel}
Jaden

Post by Jaden »

Hi Hans.

Thanks so very much. ^^ I think I understand it now and will hopefully be able to add the paths that are still missing by myself.

I already updated using your file and it works well (though there was one bracket missing at the end... and at first I was wondering what was wrong...).

Thanks again. ^___^

Jaden

{Posted by Jaden}
Jaden

Post by Jaden »

Hi again, Hans. ^^

Okay, I updated it and it seems to work well now. Just in case you're interested, that's the way it looks like now.

(;SZ[13]FF[3]AB[al][bk][bj][dk][dj][ej][fi][el][em][gl][gj][hj][hk][jk]
AW[bl][cl][dl][dm][ek][fk][gk][fl]
C[Black to play and kill white.]
(;B[hm];W[bm];B[fm];W[gm];B[fm];W[em];B[gm]C[RIGHT Now white has only one eye.
The other is a false eye. White dies.])
(
;B[fj];W[fm]
(;B[gm];W[hl]C[Mai was wrong. White can form two eyes.])
(;B[hl];W[bm])
(;B[il];W[bm]C[Yuuki's choice. He was wrong. White has two eyes and lives.])
)
(
;B[gm]CR[gm];W[fm]CR[fm])
(
;B[hm]CR[hm];W[fm]CR[fm])
(
;B[bm]CR[bm];W[hl]CR[hl]C[White can form two eyes like that and you can't stop him.])
(
;B[hl];W[bm]
(;B[gm];W[fm])
(;B[fm];W[gm]
(;B[fm];W[em];B[hm];W[fm])
(;B[hm];W[fm]C[White has two eyes.]))
)
(
;B[il]CR[il];W[bm]CR[bm]
(
;B[gm]CR[bm];W[fm]CR[fm])
(;B[fm]CR[fm];W[gm]CR[gm]
(;B[hl]CR[hl];W[hm]CR[hm];B[im]CR[im];W[fm]CR[fm])
(;B[hm]CR[hm];W[hl]CR[hl];B[im]CR[im];W[gl]CR[gl])
(;B[fm]CR[fm];W[em]CR[em];B[hm]CR[hm];W[fm]CR[fm])
(;B[em]CR[em]
(;W[fm]CR[fm])
(;W[hl]CR[hl]
(;B[fm]CR[fm];W[el]CR[el];B[im]CR[im];W[hm]CR[hm])
(;B[im]CR[im];W[hm]CR[hm])
))))
)
(
;B[gm]CR[gm];W[fm]CR[fm])
(;B[hm]CR[hm];W[fm]CR[fm])
)
(
;B[bm]CR[bm];W[hl]CR[hl]C[White can form two eyes like that and you can't stop him.])
)


I tested it and it seems to be okay, so I updated my problem using that file. ^^

And thanks again.

Jaden

{Posted by Jaden}
Hans Schnabel

Post by Hans Schnabel »

Hi Jaden,
[quote]
Hi again, Hans. ^^

Okay, I updated it and it seems to work well now. Just in case you're interested, that's the way it looks like now.

(;SZ[13]FF[3]AB[al][bk][bj][dk][dj][ej][fi][el][em][gl][gj][hj][hk][jk]
AW[bl][cl][dl][dm][ek][fk][gk][fl]
C[Black to play and kill white.]
(;B[hm];W[bm];B[fm];W[gm];B[fm];W[em];B[gm]C[RIGHT Now white has only one eye.
The other is a false eye. White dies.])
(
;B[fj];W[fm]
(;B[gm];W[hl]C[Mai was wrong. White can form two eyes.])
(;B[hl];W[bm])
(;B[il];W[bm]C[Yuuki's choice. He was wrong. White has two eyes and lives.])
)
(
;B[gm]CR[gm];W[fm]CR[fm])
(
;B[hm]CR[hm];W[fm]CR[fm])
(
;B[bm]CR[bm];W[hl]CR[hl]C[White can form two eyes like that and you can't stop him.])
(
;B[hl];W[bm]
(;B[gm];W[fm])
(;B[fm];W[gm]
(;B[fm];W[em];B[hm];W[fm])
(;B[hm];W[fm]C[White has two eyes.]))
)
(
;B[il]CR[il];W[bm]CR[bm]
(
;B[gm]CR[bm];W[fm]CR[fm])
(;B[fm]CR[fm];W[gm]CR[gm]
(;B[hl]CR[hl];W[hm]CR[hm];B[im]CR[im];W[fm]CR[fm])
(;B[hm]CR[hm];W[hl]CR[hl];B[im]CR[im];W[gl]CR[gl])
(;B[fm]CR[fm];W[em]CR[em];B[hm]CR[hm];W[fm]CR[fm])
(;B[em]CR[em]
(;W[fm]CR[fm])
(;W[hl]CR[hl]
(;B[fm]CR[fm];W[el]CR[el];B[im]CR[im];W[hm]CR[hm])
(;B[im]CR[im];W[hm]CR[hm])
))))
)
[/quote]
The bracket above correspends to the very first bracket in the sgf-file. This must be a mistake
[quote]
(
;B[gm]CR[gm];W[fm]CR[fm])
(;B[hm]CR[hm];W[fm]CR[fm])
)
(
;B[bm]CR[bm];W[hl]CR[hl]C[White can form two eyes like that and you can't stop him.])
)


I tested it and it seems to be okay, so I updated my problem using that file. ^^

And thanks again.
[/quote]
You are welcome. :)

Hans


{Posted by Hans Schnabel}
Post Reply