rules/move_validator library

Functions

computeLegalMoves(LudoGameState state, LudoDiceRules diceRules, int diceValue, {List<LudoTeam>? teams}) List<LudoLegalMove>
Computes all legal moves for the current player given diceValue.