shaack / cm-chessboard

A JavaScript chessboard without dependencies. Rendered in SVG, coded in ES6. Views FEN, handles move input, animated, responsive, expandable
MIT License
209 stars 63 forks source link

Implementation of premoves #127

Closed unixfall closed 5 months ago

unixfall commented 10 months ago

Can i enable square select after i moved? If i use async input handler, then it works, but there is an issue with animations. On default it disables square select so i wonder can i somehow enable it.

shaack commented 10 months ago

What do you want to achieve with it? Maybe coding an "extension" would be more appropriate. I need a bit more detail.

unixfall commented 10 months ago

i want to implement premoves

shaack commented 10 months ago

More in the lichess oder chess.com style? They have a different approach. I already implemented both with cm-chessboard. The lichess approach however is in a more topical component.