square_bishop library
Classes
- SquaresState
-
A state representation containing the common values that are needed to manage a Squares
BoardController
.
Extensions
- GameExtensions on Game
- ToBishopSize on BoardSize
- ToSquaresSize on BoardSize
Functions
-
buildSquaresState(
{Variant? variant, String? fen, FenBuilder? fenBuilder, int player = Squares.white, List< String> moves = const [], InvalidMoveBehaviour invalidMoveBehaviour = InvalidMoveBehaviour.returnNull, int? zobristSeed, int? startPosSeed}) → SquaresState? -
Builds a one-off
SquaresState
without having to handle a Bishop game.