jGoBoard 3 released!

BIG news: jGoBoard 3 is now released and available at GitHub:


It is a complete rewrite of jGoBoard using HTML5 canvas. This means greatly improved performance, as over 1000 divs are no longer needed. This should especially help tablet and smartphone users. A few other feature highlights:

  • New “large” size textures for board and stones (1k x 1k board and 48×48 stones), alternate walnut board texture, B&W “diagram” styles (i.e. no textures)
  • Dynamic rendering allows any board size (up to 19×19) & partial views (nice for tsumego and diagrams)
  • Fully parametrized board rendering allows vast amount of customization (background color, grid widths, margins, fonts, amount of star points rendered etc.) and custom boards
  • All methods encapsulated in single JGO namespace (JGO.Board, JGO.BLACK, JGO.util.loadSGF etc.) to minimize variable space pollution
  • Full auto-generated API docs with JSdoc
  • All js files pass checking with JSHint with strict settings enabled
  • Automatic build system using Grunt (including script concatenation and minimizing)
  • The minimized single .js version is mere 24 kB and only 7 kB gzipped
  • No external dependecies in the library (some of the demos use jQuery)
  • Automatic diagram generation for blog users
  • Project hosted at github for easy cloning and other nice features

I am still in progress of improving the SGF player subsystems so the jgoboard.com SGF viewer will for the moment run on 2.1, but for direct users of jGoBoard the current 3.1 is ready to use. Licensing is the same Creative Commons Non-commercial as for 2.1. Take a look at the demos:

More features to be added. Comments on the new versions are welcome!