13template <
typename ConcretePieceValueProv
ider>
21 return static_cast<ConcretePieceValueProvider *
>(
this)
22 ->ImplementGetValueOfPieceAtPosition(color, piece_type, space);
Constants, typedefs, and simple structs used by gameboard::GameBoard.
CRTP interface with method to retrieve points value for a specific gameboard::GamePiece at a specific...
Points_t GetValueOfPieceAtPosition(PieceColor color, PieceType piece_type, BoardSpace space)
Tracking piece positions and determining legal moves.
A pair of coordinate (rank, and file) with properties determined by comparison with values of gameboa...