Bonobo wrote:Forgive the n00b question (I’ve never created diagrams, only enjoyed them)—how does this handle passing?HermanHiddema wrote:[..] The way the diagram format works, the colors have to alternate. You cannot haveand
on the same board. If 1 is black, 2 is white. The top right color choice only changes whether odd move are black, and even moves white, or vice-versa, and therefore all the moves already on the board switch color too.
A pass is not visible on the board, so if you want to indicate a pass, you would do so in the caption, e.g:
Now additionally, both SL and L19 have ways of generating single stone images in text. L19 has them easily accessible in the smiley list. So you could do something like:
In the future, if I add a feature to generate diagrams from SGF, I may have to add an option to automatically generate captions like this when a move cannot be represented on the board (because it is a pass or is placed where a stone already was). In that case, I'll add an option to choose SL or L19 output format.
Now the underlying question, perhaps, is why colors should alternate. Why not just allow
and
in the same diagram?The answer is that the idea behind the diagram format is: One character per intersection. To indicate the moves, the characters 1, 2, 3, etc are used. This is also why you cannot go beyond 10 moves in the diagram (0 is used for 10). Since there is only the one character, there is no way to indicate its color (you would need e.g. B1, W2, B3 for that). SL solves this by specifying, on the first line, the color of the odd moves. That's why the diagrams start with e.g. "$$B" on the first line, the B there indicates: odd moves are black.
If you want other options, like more moves per diagram, black for both odd and even moves, letter labels on stones, etcetera, you could make such diagrams in a plethora of go software (e.g. MultiGo, Drago, etc). Those have an image export option, which you could then host somewhere (e.g. imgur.com or min.us) and include on the forum via img tags. The main downside to doing that is that it is hard for others to respond to your diagrams. With the current diagrams, you can click the "show diagram code" link, copy and paste, make some additions/adjustments and post your answer. With embedded images, you would have to start from scratch.
pass,
defends ko