You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chesslib doesn't natively support Dice Chess, but you can implement it with some additional logic. You could create a new class and method (e.g., DiceMoveGenerator#generateLegalMoves(Board)) that calls MoveGenerator#generatePseudoLegalMoves(Board). Instead of using Board#isMoveLegal to filter out illegal moves, you can write a custom method that allows moves that would normally be considered illegal, such as the king moving into an attacked square.
In Dice Chess, the King can move to a square that is under attack.
I want to use the library for Dice Chess game. How I can configure it?
https://dicechess.com/rules
The text was updated successfully, but these errors were encountered: