30 operator std::string()
const;
33 void setFEN(std::string
const& fenstr);
66 std::string movesinpgnformat()
const;
75 std::string m_expecting;
allow custom methods to be attached to game
simple coordmove, with 4 characters, or 5 characters in case of promotion mostly used for interface
game representation, singleton
std::string const & getExpecting() const
bScore EvalForPlayer(bBoard const &b)
bool playGameMove(bCoordMove const &coordmove)
void revertGameMove()
required for Winboard protocol, not supported in UCI (except debug)
void setPlayerName(std::string const &n)
bEpdResult evalPerftResult(bFen const &fen, bEpdOpCodes &opcodes)
check perft result for different depths D[1-99] # perft test - nodes
void WaitForSearchEnd()
Called in separate thread, sure to terminate normally.
void setExpecting(std::string const &s)
Following command should return value as expected.
bGame & operator=(bGame const &)=delete
positions_t & getPositions()
void DoSearch()
Start search thread and exit in case of batch mode, will wait until end of search.
gameResult_t EvalFinalScore(bBoard const &b)
bool playGameMoveSeries(std::string const &coordmoves)
all moves in a single string
void setResult(gameResult_t rs)
bGame & operator=(bGame &&)=delete
void setFEN(std::string const &fenstr)
gameResult_t getResult() const
bGame(bGame const &)=delete
bEpdResult evalEpdPosition(bFen const &fen, bEpdOpCodes &opcodes)
do actual epd position test
int64_t DoPerft(bSearchAlgorithm &sa, int const d)
do perft search at depth
bBoard & getCurrentPosition()
bool isExpecting(std::string const &s) const
void setLevel(bLevel const &l)
PgnMove is for user-interface only.
std::map< std::string, std::string > bEpdOpCodes
enum gameResult gameResult_t
std::vector< bBoard > positions_t
std::map< std::string, std::string > gameAttributes_t