The Art of 9 × 9 Go

Superhuman Edition

The Conversion of SGF to WGo Object

This chapter provides a tool for converting an SGF code into the object input of the "board.addObject([...])" command in the wgo.js file, to make it easier for coding the WGo board in the <div id='board'> tag.

WARNING: An error will occur if the same marks appear on two or more points on the board. In that case, you need a proper data cleansing at the outset. For example, MA[ee][dd] should be changed into MA[ee]MA[dd] before entering as the SGF input. Besides, in all cases, all else in the original SGF code (e.g., game information and comments) must be deleted.