a class representing coordinates
void needed_space(coordinates dest, std::vector< coordinates > *to_calculate) override
calculate a list of empty space coordinates needed for the move to be legal, assuming the move is pos...
king(bool _white, coordinates _coord)
void print_piece() override
print the piece to the standard output
void canonical_print_piece() override
print the piece to the standard output in canonical form
a generic piece class. white is a boolean indicating the piece's color. legals is a vector indicating...
std::vector< coordinates > legals