Publishing WatchBot games
WatchBot games can be published on external websites. So you can embed your best game on your blog.
How to do it
Find the game you want to publish (using usual search form), then click the link named how to publish this game on your website (available on the bottom of the page, below the moves and comments), and follow the instructions.
Simple example
The following HTML code:
<iframe width="540" height="300" frameborder="1" scrolling="auto" src="/mk/watchbot/game_mini/1018421" style="margin: 0.5em 0"> <p><a href="/mk/watchbot/game/1018421">Click to view the game</a></p> </iframe>
results in:
Customization
Edit the HTML to fine-tune the frame size and margin, and possibly to disable a border.
Use parameter like ?pieces=Fantasy&background=Blue
to change the way the board is displayed.
For the list of available pieces see the
configuration screen (just use the
piece and background names as written there).
For example, the following HTML (note frameborder="0"
and extra parameters appended to src
):
<iframe width="540" height="300" frameborder="0" scrolling="auto" src="/mk/watchbot/game_mini/1035979?pieces=Fantasy&background=Blue" style="margin: 0.5em 0"> <p><a href="/mk/watchbot/game/1035979">Click to view the game</a></p> </iframe>
results in:
Questions, comments, remarks
Leave your questions and remarks as comments to the announcement on my blog.