Examples

Embdded sgf file in the applet tag
Single sgf game
Games collection
Go problems collection
Go problems collection
Kogo's Joseki Dictionary

How to use it

Somewhere in the html page add the following code:

<applet code="ZGoMain.class" archive="ZGo.jar" width="300" height="30">
<param name="fileName" value="game.sgf">
<param name="fileDesc" value="Game description">
<param name="fileType" value="game">
<param name="appletBackground" value="128,128,128">
<param name="appletWindow" value="true">
<param name="coordinates" value="true">
<param name="fileEmbedded" value="open sgf file with an text editor, select all and paste here ">
</applet>


Note: If the applet values for fileName and fileEmbedded are both set, the fileEmbedded parameter value is used. The fileEmbedded can be used for blogs or other site were the sgf files can not be uploded. Also, this is my case, the Yahoo policy do not allow me to upload files with .sgf extension.

Parameters description

<param name=" fileName" value="game.sgf">
- mandatory (please look at fileEmbeddedd parameter) , In this case the jar archive and the sgf file must be in the same folder. If you have a different location were the sgf file are stored, for example sgfGames/MyGames/game1.sgf and assume that the ZGo.jar is in current directory the second line will be:
<param name="filename" value="sgfGames/MyGames/game1.sgf">
<param name=" fileDesc" value="Game description">
- optional, game description for applet winndow
<param name="fileType" value="game">
- optional, "value" for "filleType" can be "game" OR "problem". By default is problem
When the fileType is game and a move is guessing the program don't add the next move.
<param name="appletBackground" value="128,128,128">
- optional, background for applet window
<param name="appletWindow" value="true">
-optional, value for appletWindow can be &qquot;true" OR "false". By default is false
<param name="coordinates" value="false">
-optional, value for "coordinattes" can be "true" OR "false". By default is false
<param name="fileEmbbeded" value="(;KM[6.5]FF[3]SZ[19]GM[1];B[pd];W[dd];B[qp];W[dq];B[oq];W[qj];B[co];W[ck];B[ep];W[eq];B[fp]C[other SGF tags here...])" -mandatory (please look at fileName paraameter), Open sgf file with an text editor, select all and paste here. By default is null
Hosted by www.Geocities.ws

1