Closed xeyownt closed 6 years ago
That looks very interesting. I will of course look at it, and perhaps adopt it. At least it will be a good (the best) candidate for my reimplementation of PgnViewerJS named PgnViewerTS (rewrite based on Typescript).
Gosh, I know this is off-topic, but I just saw the intro video on TypeScript, and this looks really amazing. I'm switching from hating JavaScript to falling in love ;-)
I did a first spike (1 hour), and it is really promising. Copying some files to new locations, adjusting the API a little bit, and I had pgnBoard
and (to my astonishment) pgnView
as well.
I will continue with my experiment, and see, if I can fix most of the configuration, but if that goes well, I will switch sooner than later to chessground :-)
Great news and impressive result! I will then think more in depth how we could exploit the highlighting/arrows possibilities in the wiki text. I guess the best would be to agree on some formatting in the PGN annotation field. Arrows could also be displayed automatically in case there are several variations.
Cleaned up a lot of things, checked unit tests, updated to newest version (again). All other small things will come later then.
I'm also a big fan of the lichess lean interface. Their chess board UI, called Chessground, is open-source, so maybe we could use it as UI back-end. It supports arrows and highlighting, is very fast...
Likely not an easy task though.