Chess By Blog is a plugin for WordPress 2.0 that adds graphical chess
functionality to your WordPress blog. It lets you do several things:
- PGN (Portable Game Notation) inserted into your post body will be
displayed as a graphical board, inline in the browser. The client side
code was written using the Google Web Toolkit (GWT), resulting in
Explorer 6-9, Mozilla/Firefox, and Safari. The graphical look of
the chessboard is controlled by themes, and can be easily controlled
in the management panel for the plugin.
- The board supports interactive play directly in the browser, in a
mode which does not update the post body. All rules of chess are
supported, include en passant, castling, and pawn promotion. This can
be used to present chess problems for readers to work through.
- Chess By Blog also supports a persistent game played between two
players, hence the name of the plugin. Readers that have edit
permissions on a post can take turns moving pieces, with the state of
the board saving to the WordPress database between moves. The plugin
uses WordPress and PHP security features to ensure that only moves
that come from the client chessboard code can update the database.
Chess By Blog is free software, distributed under the Expat license (a
copy of which is in chess-by-blog.php).