mliebelt / pgn-viewer

Simple PGN viewer with the necessary features to display chess games
GNU General Public License v3.0
163 stars 44 forks source link

Great but a suggestion #94

Closed kingvagabond closed 6 years ago

kingvagabond commented 6 years ago

This is a great tool but - I am not a beginner, so let me give a better advice:

Forget about chess.js. This library belongs to 10 years ago, because it does not support touch screen. You need to improve its code to make it work on mobile browsers.

Switch to chessground: https://github.com/ornicar/chessground. Use its js distribution code would be much better than chess.js.

mliebelt commented 6 years ago

As you may have noticed, there is a branch named Chessground, and I have begun to prepare a new release where the chessboard (not chess.js) will be replaced by Chessground. So stay tuned, I hope I will have it ready in a few days.

kingvagabond commented 6 years ago

That would be cool. I believe chessground is actually the so far best for GUI/board view. What chessground misses is PGN parser. chess.js has the ability for parsing PGN, but it's better to make view and parser as separate modules.

mliebelt commented 6 years ago

Have a look at the release 0.9.7, that now uses Chessground as the chessboard.