cm-chessboard: Enable Premove Allow user to drag his own pieces even if it is not his turn

So I am trying to figure out how to allow the user to drag his own pieces when is not his turn i am already doing board.enableMoveInput(inputHandler, orientation);

But I want to allow the user to drag his own pieces so I can add premove.

Anyone tried adding premove before?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

@shaack I was able to do it! I just didnt understand some parts of the inputHandler. Now is working like a charm! I didnt rely on playfield just plain inputHandler.