English Nederlands
Home Hobby Work spam Code WWW
HPV bloem Go Geo caching Choir NS

ASCII to SGF

 
Enter you ASCII go diagram in the editbox and press submit. If you are using this page to generate diagrams, check the boxes on the sides you want to appear as edges.
First move:
Black
White
     Output:
Gif size:
     Force square

I hope you've got a browser that uses a non proportional font in textarea's and doesn't do wordwrap.

Source code

The source code for ascii2sgf is licenced under the GNU Public Licence and can be found here:

go-utils.pl is also being used for the implementation of the<goban>tag.

Example

The text below will demonstrate the functions of ascii2sgf. Cut and paste the board in the text area above to see the results.
Text arround the board will be ignored.
You can cut and paste your board directely form newsnet.

> > > . . . . . . . . . . . . . . . . . . .
> > > . . . . o . O . 0 . . . . . . . . . .   o O or 0 represents white stones 
> > > . . . . . . . . . . x . X . # . . . .   x X or # represents black stones
> > > . . . , . . . . . + . . . . . * . . .   , + or * can be used as hoshi
> > > . . . . . . . . . . . . . . . . . . .
> > > . . . . . 1 . . . . . . . 2 . . . . .   moves are entered 
> > > . . 4 . . . . . . 5 . . . . . . 3 . .   with digits
> > > . . . . . . . . . . . . . . . . . . .   
> > > . L . a . b . e . l . s . . N o . X .   characters can be used as markers
> > > . . . , . . . . . + . . . . . * . . .
> > > . . .>O<. . .[O]. . .(O). . ./O\. . .   Four types of marking are supported
> > > . . .>.<. . .[.]. . .(.). . ./.\. . .   attention, your render program
> > > . . .>#<. . .[#]. . .(#). . ./#\. . .   may not support them all
> > > . . .>6<. . .[7]. . .(8). . ./9\. . .
> > > . . . #<.].)O\. . . . . . . . . . . .   The left side of marings can be left out
> > > . . . , . . . . . + . . . . . * . . .
> > > . . . 10. . . . . . . . . . . 11. . .   Upto 99 moves can be displayed in one diagram
> > > . . . 12. . . . . . . . . . . 13. . .
> > > . . . 14. . . . . . . . . . . 15. . .

Share and Enjoy: del.icio.us Reddit digg Furl Spurl NewsVine Smarking Ma.gnolia Wists Simpy TailRank co.mments YahooMyWeb blinkbits BlinkList blogmarks connotea De.lirio.us Fark feedmelinks LinkaGoGo Netvouz RawSugar scuttle Shadows

HPV bloem Go Geo caching Choir NS
Home Hobby Work spam Code WWW

Toni Cornelissen
7 June 2007
toni@dse.nl
Lid van de Technetium groep
Jefferson College Daily horoscope StatCounter NetStat W3C Validator