nullx002 / eidogo

Automatically exported from code.google.com/p/eidogo
0 stars 0 forks source link

"Export to ASCII" feature #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a feature request, not an 'issue', but I hope it belongs here.

I use EidoGo often to look at positions posted on GoDiscussions and
Sensei's Library. The chief way of communicating positions on those sites
is through ASCII diagrams that the site's software converts to images.
However, there is currently no way to get EidoGo to produce a compliant
ASCII diagram, requiring the user to instead perform the laborious process
of drawing it by hand, or using something like glGo to export to ASCII.

I propose a new button, perhaps under the "Save to Server" and "Download to
SGF" buttons, that says "Export to ASCII" which automatically saves an
ASCII diagram of the currently-displayed board position to the user's
clipboard, or (if that's not possible... does Javascript have clipboard
access?) at least to a text field that the user can manually copy+paste from.

I think this feature is useful in enough scenarios that it is worth the
extra little bit of UI clutter.

I would be willing to try to implement this feature myself (I've been
actually looking for a chance to help out with EidoGo if I can...) so if
Justin just confirms that such a patch would be accepted if written, I'd
get to work on it ASAP.

Original issue reported on code.google.com by apetresc on 24 Jun 2008 at 4:46

GoogleCodeExporter commented 8 years ago
I would gladly accept a patch for this. It's been on my "maybe to do" list for 
a while.

Just be sure you're using the latest codebase from
http://github.com/jkk/eidogo/tree/master (git and/or github recommended for
development -- you could fork the repo then have me pull changes)

Couple resources that may come in handy:
http://senseis.xmp.net/?HowDiagramsWork
http://senseis.xmp.net/tools/sgf2diagram.php.txt

Original comment by jkkra...@gmail.com on 24 Jun 2008 at 5:14