[ggo-discussion] Re: Stone marks

  • From: Peter Strempel <pstrempel@xxxxxx>
  • To: ggo-discussion@xxxxxxxxxxxxx
  • Date: Mon, 24 Jan 2005 04:55:02 +0100

Jarkko Lindblad wrote:

> A suggestion: I hate to mark every stone in a large group of stones 
> manually, so I think there should be a way to mark whole groups with one 
> click of the mouse

That's a nice idea. Shouldn't be too difficult, as I already have the 
code which finds the group of a given stone - used by capture algorithm.

Right-click already is used to remove a mark. I think double-click makes 
  most sense. Single-click adds mark on single stone (as it already 
works), double-click adds marks on whole group. Same with right 
single/double-click, remove mark from single stone or from whole group.


>    Also would be nice if one could "paint" areas with territory markers 
> or 'X''s or whatever by either drawing a rectagle or even  (preferrably) 
> by drawing   free hand boundaries of an area to be filled. Also would be 
> nice to draw free hand overlay figures on the board (like thay do in 
> many sports broadcasts on TV), but somehow I doubt the current sgf 
> supports it, but maybe a private little extension (inside comments or so 
> to not break other software) could?

There are a couple of markup figures in standard SGF which come close to 
your suggestion:

AR - Viewers should draw an arrow pointing FROM the first point
      TO the second point.

LN - Applications should draw a simple line form one point
      to the other.

Some more, see http://www.red-bean.com/sgf/properties.html

None of those are supported by gGo nor glGo. I think RubyGo and SmartGo 
support these. I'm not sure if I should support those properties. Many 
SGF editors don't display them, which reduces compatibility. On the 
other hand, the fact that glGo doesn't display them also reduces 
compatibility...
I need to look at some other editors to get an idea what can be done 
with these figures. I must admit, it sounds a bit useless to me now. 
Maybe if I see it in action it becomes clearer.

Free-hand drawing sounds like fun. I suppose it's a major pain to fill a 
larger area with the same mark in glGo, as you'd need to click on each 
point. Actually, if you keep the left mousebutton pressed down and move 
the cursor over the board, it could just keep drawing marks. So instead 
of click - move_mouse - click ..... just click & keep pressed - 
move_mouse. I wonder if this would also work in online reviews, but I 
guess that would be too much mess as you'd keep sending lots of "set 
mark here" commands to IGS.
I think this could be done without too much hassle, but I wouldn't 
consider it top-priority now.


> A very small bug: the other day the game I was playing finnished, the 
> prisoner count was reset. However moving in the game tree immediately 
> corrected this.

Will check this, thanks.

Other related posts:

  • » [ggo-discussion] Re: Stone marks