Skip to content

Instantly share code, notes, and snippets.

@bvandenbon
Created May 17, 2019 12:13
Show Gist options
  • Save bvandenbon/56e3811d279c5c6a7a1a91d7d902d6dc to your computer and use it in GitHub Desktop.
Save bvandenbon/56e3811d279c5c6a7a1a91d7d902d6dc to your computer and use it in GitHub Desktop.
An example file for a JSON based file format for SGF.
{
"rootProperties": {
"st": 4,
"gm": 1,
"sz": 19
},
"next": [{
"moveProperties": {
"b": { "c": "pp"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "dd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dp"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "pd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "cf"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "cn"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "qf"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "qn"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "nc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "md"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ne"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "pc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "mc"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "oc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ld"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "qd"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "me"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "cc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "cd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ed"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "fb"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dn"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "dm"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "en"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "cp"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "cq"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "co"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dq"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dk"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "em"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gp"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fp"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gn"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "cl"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "er"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ck"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fl"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dh"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "go"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "np"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "mp"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "no"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "oq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "pq"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fn"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "df"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "dg"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "bf"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ef"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ce"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "cg"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "gd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gf"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "qk"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "op"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "po"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "oo"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "pn"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nn"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "pl"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "bg"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "bh"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ej"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ek"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "gj"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "fj"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "om"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "pm"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nk"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jk"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "jm"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gi"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fk"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "fi"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hj"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mj"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nj"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mk"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ni"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mi"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hi"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mm"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ln"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "lm"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "km"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "il"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nh"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ji"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "kj"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "kk"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "jj"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ki"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ij"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mh"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ig"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "im"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "in"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "hn"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "jn"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ho"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fo"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "kg"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nl"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "lj"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "jf"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gm"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hl"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gl"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hk"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "hm"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hh"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jp"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "iq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mn"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "mo"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ng"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "og"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "of"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "mg"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "lo"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "kp"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "nf"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "mf"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jo"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ko"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "kn"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ml"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ll"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ln"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jg"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "lh"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "lg"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "pf"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "oe"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "od"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "hp"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "lp"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "if"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hf"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ie"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "he"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ke"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "je"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "id"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "jd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "ic"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hc"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "hb"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fm"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gk"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "fd"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jq"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "jr"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "kr"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ir"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "kq"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "gq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "mr"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "nr"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "gg"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "hg"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "bd"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "be"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "bc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ik"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jl"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ip"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "io"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "kf"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "jc"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "lq"
}
},
"next": [{
"moveProperties": {
"b": {
"c": "lr"
}
},
"next": [{
"moveProperties": {
"w": {
"c": "ms"
}
}
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment