22 lines
474 B
C++
22 lines
474 B
C++
#include <iostream>
|
|
#include "BasicEngine.hpp"
|
|
#include "Search.hpp"
|
|
|
|
std::string BasicEngine::name() const {
|
|
return mName;
|
|
}
|
|
std::string BasicEngine::version() const {
|
|
return mVersion;
|
|
}
|
|
std::string BasicEngine::author() const {
|
|
return mAuthor;
|
|
}
|
|
void BasicEngine::newGame() {
|
|
|
|
}
|
|
PrincipalVariation BasicEngine::pv(const Board &board, const TimeInfo::Optional &timeInfo) {
|
|
(void)board;
|
|
(void)timeInfo;
|
|
auto pv =Search::start(board);
|
|
return pv;
|
|
} |