Here’s the first demo of the chess engine. It should work, but it might wreak havoc and devour your JavaScript engine.

So, you have been warned. Here’s the demo:


  • Click on a piece to see its possible moves.
  • Click again to unselect.
  • Click a possible move to move.


  • Selected piece has a yellow background
  • Possible moves have a green background
  • Invalid moves have a red background