-
Finds the move of the piece on tile
.
void
Moves the piece on the given source tile, and updates the state of the game.
-
Creates a new tile representing the tile at the
indices (ix
, iy
), 0-based.
Converts text representations of the tile of the format "[letter][number]".
Gets the destination tile of this move.
Gets the destination tile of this move, including off the board tiles when scoring a piece.
Gets the destination tile of this move, or else returns null if there
is no destination piece, in the case where a piece is moved off the board.
Gets the source tile of this move.
Gets the source tile of this move, including off the board tiles when introducing a piece.
Gets the source tile of this move, or else returns null if there
is no source piece, in the case where a new piece is moved onto the board.
Takes a unit length step towards the other tile.
Constructs a list of tiles from the tile coordinates.
Constructs a path from waypoints on the board.
Calculates the union of all given tile lists.
boolean
Determines whether tile
falls within the bounds of this board.
Sets the piece on tile
to piece
.
Takes a unit length step towards the other tile.
Creates a new move with origin source
and destination dest
.
-
The path of the dark player's pieces.
The path of the dark player's pieces.
The path of the dark player's pieces.
The path of the dark player's pieces.
The path of the dark player's pieces.
The path of the light player's pieces.
The path of the light player's pieces.
The path of the light player's pieces.
The path of the light player's pieces.
The path of the light player's pieces.
Gets the end tile for the dark player that exists off the board.
Gets the start tile for the dark player that exists off the board.
Gets the end tile of player
that exists off the board.
Gets the end tile for the light player that exists off the board.
Gets the start tile for the light player that exists off the board.
Gets the start tile of player
, which exists off the board.
Gets the path of player
, excluding the start and
end tiles that exist off the board.
Gets the path that the dark player's pieces must take, excluding
the start and end tiles that exist off the board.
Gets the path that the dark player's pieces must take, including
the start and end tiles that exist off the board.
Gets the path that the light player's pieces must take, excluding
the start and end tiles that exist off the board.
Gets the path that the light player's pieces must take, including
the start and end tiles that exist off the board.
Gets the path of player
, including the start and
end tiles that exist off the board.
Instantiates a pair of paths.
-
The set of all tiles that exist on the board.
The set of all tiles that exist on the standard board.
The set of rosette tiles that exist on the board.
The set of rosette tiles that exist on the standard board.
Gets the set of tiles that represent rosette tiles in this board shape.
Gets the set of tiles that fall within the bounds of this board shape.
The tiles that fall within the bounds of this board shape,
ordered by ascending column number, and then ascending row number.
Returns the tiles that fall within the bounds of this board shape,
ordered by ascending row number, and then ascending column number.
boolean
Determines whether tile
falls within this board shape.
boolean
boolean
Determines whether tile
is a rosette tile in this board shape.
boolean
boolean
Determines whether all tiles in tiles
are included
in this board shape.
Instantiates a board shape with tiles
representing the tiles
on the board.