Hacker News new | past | comments | ask | show | jobs | submit login

This doesn't seem to actually play chess.



I don't think it's meant to play chess, it's just to show chess positions (see the example page: http://chessboardjs.com/examples).

It is in a similar vein to this: http://andrewphoy.github.io/chess-replayer/. (Which is more full-featured.)


ChessBoard is designed to be "just a board" and integrate easily with chess engines, etc.

https://github.com/oakmac/chessboardjs/blob/master/README.md

I have an issue to build an example that demonstrates integration with chess.js and only allows legal moves (https://github.com/oakmac/chessboardjs/issues/19)


Not much to see here. Why is this JS? Usually JS requires some interaction. Even lightbox flew around and did something. This would be even easier as a chessboard PNG rendering REST service.


ChessBoard supports drag-and-drop pieces: http://chessboardjs.com/examples#2006


Drag and drop pieces and the pieces can take each other, so you could use this to animate/play-back a full game, or as the basis for a chess game.


Touche, tried dragging all the pieces I saw on the demos. Perhaps it's too late on a Friday for them to move.


Because PNG-rendering REST services wouldn't make it to the front page of HN




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: