Closed pouyaSamie closed 3 years ago
i found the solution
in aftermove function, i did something like this and that worked:
if (this.game.in_check())
this.board.set({
check: true,
});
by the way, I updated the chessground and it had some problems after the update I fixed that I can send pull request for these changes
Hi and thanks for your efforts. I want to show the red background on check. it seems it does not add check square. I tried to recreate the board with a highlight option for check but that did not work either.