16 for(
int i = 1; i < abs(diff_x); i++){
27 to_calculate->push_back(
coordinates(coord_x,coord_y));
34 std::cout <<
"\u2657";
36 std::cout <<
"\u265D";
void canonical_print_piece() override
print the piece to the standard output in canonical form
void print_piece() override
print the piece to the standard output
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...
a class representing coordinates
int get_x()
a function to get the x-axis attribute
int get_y()
a function to get the y-axis attribute