Board
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Changes the piece at the specified linear index by swapping its color.
Changes the piece at the specified coordinate by swapping its color from 'B' to 'W' or vice versa.
Link copied to clipboard
Checks if the specified row and column are within the bounds of the board.
Link copied to clipboard
Starts the board with the initial pieces in the center.
Link copied to clipboard
Converts a linear index to a Coordinate on the board.