sgo

Written by Super User on . Posted in Uncategorised

SGoban - javascript viewer and editor for GO games stored in SGF, it can be easily embedded into any webpage

Features:

  • Easy to use
  • Full SGF support
  • Quick navigation using mouse
  • Autoplay mode, the time between moves can be changed
  • Multiple types of diagrams, game, position and problem

Source code is available at https://code.google.com/p/sgoban/

Demo game

<div class="SGoDia">
    <pre>    
    {"filetype": "game"} 
    (;FF[4]GM[1]SZ[19]AP[SGFC:1.16]EV[38th Gosei title match 1] PB[Kono Rin] BR[9d] PW[Iyama Yuta] WR[Gosei] KM[6.5] DT[2013-07-06] RE[B+R] ;B[pd];W[dc];B[dq];W[qp];B[ce];W[ed];B[oq];W[do];B[dl];W[eq] ;B[dp];W[ep];B[eo];W[er];B[bp];W[co];B[dr];W[dm];B[fo];W[cl] ;B[gq];W[dk];B[po];W[qo];B[pn];W[qm];B[iq];W[pm];B[om];W[ol] ;B[nm];W[nl];B[mm];W[ml];B[lm];W[qf];B[nc];W[pq];B[pp];W[qq] ;B[or];W[of];B[ll];W[qc];B[qd];W[rd];B[pc];W[rb];B[qb];W[rc] ;B[kc];W[cd];B[oh])
    </pre>
</div>
{"dummy":"dummy"}

(;FF[4]GM[1]SZ[19]AP[SGFC:1.16] EV[38th Gosei title match 1] PB[Kono Rin] BR[9d] PW[Iyama Yuta] WR[Gosei] KM[6.5] DT[2013-07-06] RE[B+R] ;B[pd];W[dc];B[dq];W[qp];B[ce];W[ed];B[oq];W[do];B[dl];W[eq] ;B[dp];W[ep];B[eo];W[er];B[bp];W[co];B[dr];W[dm];B[fo];W[cl] ;B[gq];W[dk];B[po];W[qo];B[pn];W[qm];B[iq];W[pm];B[om];W[ol] ;B[nm];W[nl];B[mm];W[ml];B[lm];W[qf];B[nc];W[pq];B[pp];W[qq] ;B[or];W[of];B[ll];W[qc];B[qd];W[rd];B[pc];W[rb];B[qb];W[rc] ;B[kc];W[cd];B[oh])
 

Demo problem

<div class="SGoDia">
    <pre>    
    {"filetype": "problem", "autocrop": true}
(;FF[4]GM[1]SZ[19]AP[SGFC:1.16]AW[bq][br][cr][er][eq][fr][gs]
AB[ap][bp][cp][cq][dp][ep][fq][gp][gr][hr]
(;B[dr];W[dq];B[ds];W[aq]
(;B[ar];W[as];B[cs])
(;B[bs];W[as])
(;B[fs];W[cs];B[es];W[as]))
(;B[ar];W[aq];B[dr];W[cs])
(;B[aq];W[ar];B[dr];W[dq])
(;B[fs];W[es];B[aq];W[ar];B[dq];W[dr])
(;B[ds];W[dr]))
    </pre>
</div>    
{"filetype": "problem", "autocrop": true}
(;FF[4]GM[1]SZ[19]AP[SGFC:1.16]AW[bq][br][cr][er][eq][fr][gs]
AB[ap][bp][cp][cq][dp][ep][fq][gp][gr][hr]
(;B[dr];W[dq];B[ds];W[aq]
(;B[ar];W[as];B[cs])
(;B[bs];W[as])
(;B[fs];W[cs];B[es];W[as]))
(;B[ar];W[aq];B[dr];W[cs])
(;B[aq];W[ar];B[dr];W[dq])
(;B[fs];W[es];B[aq];W[ar];B[dq];W[dr])
(;B[ds];W[dr]))