BoardWidget_puzzle

Board widget puzzles

The board widget provides for optimized support for chess puzzles: when a new game is loaded the game text and the result are hidden, only an indication of the side to move is visible either as 1. ? (White to move) or 1... ? (Black to move). Once the user moves forward one move, for instance clicking the side to move indicator, the game text and the result are shown.

The puzzle mode works best with a collection of chess puzzles as game fragments starting from the puzzle position, with a PGN FEN header tag to setup the position and a PGN Result header tag.

The puzzle mode is enabled with the movesDisplay=puzzle URL parameter. It is required to explicitely disable autoplay mode with autoplayMode=none, and it is recommended to set headerDisplay=variations.

example

Click here for an example.


Related

Wiki: BoardWidget_summary
Wiki: Index
Wiki: User_Notes_phpBB
Wiki: User_Notes_simplemachines
Wiki: User_Notes_vbulletin

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.