Draughts Documentation

This extension helps to displaying International Draughts game: position and replay.

Author
Galaa
Home Page
Extension Home Page
JED Page
Page on The JED
Live Demo
demo.jextbox.com
Compatibility
Joomla 3.5
Extension
component, module, plugin
Version
2.1.0 on 5 Apr 2016

This extension helps to displaying International Draughts game: position and replay. I have developed this extension for Joomla's 10th anniversary.

PHP version is available on the GitHub

  • Built with jQuery and CSS
  • No image used
  • JSON for data transfer
  • Font Icons
  • Multiple-instance
  • Clean Code
  • Lightweight
  • Easy to Use
  • Input Validation
  • Game Rule Checking: Position & Movement
  • Error Handling
  • Movement Speed

Next Milestone: AJAX Comment for component, Quiz as module

2.1.0. 2016-04-05. Integration between plugin, module and component. Insert games into articles with editor button. Show random games with module. Configurable and powerful module. Other visible differences.

2.0.0. 2015-02-07. Built with jQuery and much more advantages.

1.1. 2011-05-04. Initial release, based on Java applet.

Syntax
WP:#,#,WK:#,BP:#,#,#,#,BK:#

  • WP: The following numbers are squares with a white man (piece)
  • WK: The following numbers are squares with a white king
  • BP: The following numbers are squares with a black man (piece)
  • BK: The following numbers are squares with a black king
  • Square number range is 1 to 50.

Example
WP:15,37,WK:36,BP:11,21,33,39,BK:50

Syntax
#start-#end,#start-#end

Example
21-27,36-6,33-38,6-44,50-46

It helps to embed a game board into an article.

Syntax
[draughts]WP:#,#,WK:#,BP:#,BK:#;M:#-#,#-#[/draughts]

Example
[draughts]WP:15,37,WK:36,BP:11,21,33,39,BK:50;M:21-27,36-6,33-38,6-44,50-46[/draughts]

Bad Syntax Prevent bad syntax such as [draughts]WP:15,37,WK:36,BP:11,21,33,39,BK:50[/<span style="line-height: 15.8079996109009px;">draughts</span>]. So please check HTML source after typing especially copy/paste.