Represents a piece on the board with its location and type.
The location of the piece on the board.
Indicates if this is a ghost piece (typically used for UI highlighting).
The type of piece (BLACK or WHITE).
Returns a new Piece with the opposite color at the same coordinate.