aaronfi
aaronfi
Hi @coffeeDev98. It was an old project of mine. Definitely could use a rewrite into TypeScript (which I imagine would allow for far cleaner code). https://github.com/aaronfi/chess-es6-demo is the demo site...
Hi @coffeeDev98, yes it should be possible. It's just JavaScript. You can ignore the Ruby. The chess.js library is here: https://github.com/aaronfi/chess-es6-demo/tree/master/chess-es6 The constructor is here: https://github.com/aaronfi/chess-es6-demo/blob/d784f9a31118eb94bde5f2223b62d13c99ad013a/chess-es6/src/chess.js#L11 Here's the line in...
I wrote the same feature -- full variations support, with some additional custom logic for my purposes. I majorly refactored all of chess.js to accommodate this -- with little perf...
@JimmyMow : Here's my PGN variation support: https://github.com/aaronfi/chess-es6.js