Embedded SGF Viewer
The EidoGo Player (SGF viewer and editor) is an independent piece and can be embedded into any webpage. The basic Player is entirely client-side (browser-based) and does not include the joseki tutor, pattern searching, GNU Go, or saving features. To use these features, you must set up code server-side (see site source code below).
All source code is licensed under the AGPLv3. In short, this means if you modify the source code, you must allow everyone to see and use those changes — share and share alike!
Quick Start
Download the Player from Google Code
download page and put the following into your webpage (replace the src
and
sgf
paths as appropriate):
<script type="text/javascript" src="player/js/all.compressed.js"></script>
<div class="eidogo-player-auto" sgf="path/to/sgf/file.sgf"></div>
Here is an example of this in action.
You can also use the problem-solving mode (example on right):
<div class="eidogo-player-problem" sgf="path/to/sgf/file.sgf"></div>
You can include multiple Players on a page. See the example HTML files in the Player download for more options.
If you use the EidoGo Player on your site, !
Site Source Code
The latest, cutting-edge source code for the entire EidoGo site, both client-side and server-side, is available from github.com. You can get at it in two ways:
Clone the repository with git:
git clone git://github.com/jkk/eidogo.git eidogo
Code contributions welcome!