Add placeholder engine and search

This commit is contained in:
2022-12-23 09:44:57 +01:00
parent a4d5dbbc84
commit bcf4d66c49
6 changed files with 60 additions and 2 deletions

23
BasicEngine.hpp Normal file
View File

@@ -0,0 +1,23 @@
#ifndef CHESS_ENGINE_BASICENGINE_HPP
#define CHESS_ENGINE_BASICENGINE_HPP
#include "Engine.hpp"
class BasicEngine final : public Engine {
public:
std::string name() const override;
std::string version() const override;
std::string author() const override;
void newGame() override;
PrincipalVariation pv(const Board &board, const TimeInfo::Optional &timeInfo) override;
private:
std::string mName = "Egon++";
std::string mVersion = "1.0~Egon+C";
std::string mAuthor = "Bols";
};
#endif //CHESS_ENGINE_BASICENGINE_HPP