27 if (
isEPMove()) str += (str !=
"") ?
" e.p." :
"e.p.";
28 else if (
isCapture()) str += (str !=
"") ?
" x" :
"x";
30 if (str !=
"") str +=
" ";
33 if (str !=
"")
return " {" + str +
"}";
This is the main include file, needs to be included before any other include.
constexpr bool isCapture() const
constexpr bool isEPMove() const
constexpr bool getGameEnd() const
constexpr bool isCheck() const
constexpr bool isUndefinedScore() const
constexpr bool isDrawScore() const
std::string getMoveEvalStr() const
bool isMateMove() const
Check if end of game flag is set, and not forced draw.
constexpr bScore getAbsScore() const
implementation of user interface
static std::string scoreAsString(bScore const score)
constexpr bScore SCORE_MATE
constexpr bScore SCORE_CONVERGE_BYDEPTH