Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
PieceValueProviderConcept Concept Reference

#include <piece_value_provider.hpp>

Concept definition

template<typename T>
concept PieceValueProviderConcept = requires(
T t,
std::string json_file
) {
{ t.GetValueOfPieceAtPosition(color, piece_type, space) } -> std::same_as<Points_t>;
{ t.Create(json_file) } -> std::same_as<std::shared_ptr<T>>;
}
A pair of coordinate (rank, and file) with properties determined by comparison with values of gameboa...

Detailed Description

Definition at line 10 of file piece_value_provider.hpp.