Belofte
version 2.1.5
A promising chess program using the UCI or Winboard interface
|
This is the main include file, needs to be included before any other include. More...
Go to the source code of this file.
Classes | |
class | noCommandException |
class | quitCommandException |
class | commandReader |
class | engineInterface |
implementation of user interface More... | |
class | UCIMode |
implementation of specific implementation More... | |
class | XboardMode |
class | appInstance |
Singleton implementation of application. More... | |
Macros | |
#define | MYNAME "Belofte" |
#define | MYLCNAME "belofte" |
#define | MYVERSION "2.1.6" |
#define | MYAUTHOR "Yves De Billoëz" |
#define | DEVDATES "2004-2021" |
#define | MYLICENSE "Released under the GNU GPL v2 license" |
#define | MYRELEASEDATE "after 26/12/2021" |
#define | MYFULLNAME MYNAME " " MYVERSION |
Typedefs | |
typedef int_fast8_t | rank_t |
typedef int_fast8_t | column_t |
typedef uint8_t | case_t |
typedef uint16_t | basicmove_t |
0-63 or 0xFF: representation 0b00111111 -> case bits More... | |
typedef uint16_t | moveflags_t |
casefrom & caseto or 0 More... | |
typedef uint32_t | move_t |
moveflags: bitfield More... | |
typedef uint_fast16_t | movenum_t |
moveflags (high order word) & basicmove (low order word) More... | |
typedef int_fast16_t | bScore |
used to return id of move in movelist More... | |
typedef int_fast8_t | depth_t |
typedef uint_fast8_t | boarddistance_t |
typedef std::vector< move_t > | movesequence_t |
typedef std::map< std::string, bool > | commandList_t |
typedef std::map< std::string, engineUserCommand * > | engineCommands_t |
typedef std::map< std::string, engineInterface * > | engineInterfaces_t |
Functions | |
appInstance & | App () |
engineInterface * | AppEI () |
bGameWithTest * | Game () |
This is the main include file, needs to be included before any other include.
Definition in file belofte.h.
typedef uint16_t basicmove_t |
typedef uint16_t moveflags_t |
typedef uint_fast16_t movenum_t |
typedef int_fast16_t bScore |
typedef uint_fast8_t boarddistance_t |
typedef std::vector<move_t> movesequence_t |
typedef std::map<std::string, bool> commandList_t |
typedef std::map<std::string, engineUserCommand*> engineCommands_t |
typedef std::map<std::string, engineInterface*> engineInterfaces_t |
appInstance& App | ( | ) |
Definition at line 494 of file belofte.cpp.
Referenced by AppEI(), bGameWithTest::DoPerft(), bGame::DoSearch(), bGameWithTest::evalEpdPosition(), bGameWithTest::evalPerftResult(), bel_debug::execute(), cmd_quit::execute(), cmd_about::execute(), cmd_usage::execute(), engineInterface::execute(), Game(), commandReader::getCommand(), bSearchAlgorithm::handleInfoCurrMove(), bel_debug::info(), main(), bEpdFile::parse(), bGame::playUIsuppliedMove(), bGame::revertGameMove(), bel_debug::run_bench(), commandReader::runner(), bSearchAlgorithm::SearchBestMove(), engineInterface::sendDebug(), UCIMode::sendDebug(), engineInterface::sendError(), engineInterface::sendHelp(), UCIMode::sendInfoCurrMove(), UCIMode::sendInfoDepth(), bSearchAlgorithm::sendInfoScore(), UCIMode::sendInfoScore(), bSearchAlgorithm::sendInfoSearching(), UCIMode::sendInfoSearching(), XboardMode::sendInfoSearching(), XboardMode::sendInvalidMove(), engineInterface::sendMove(), UCIMode::sendMove(), engineInterface::sendPrompt(), engineInterface::sendResponse(), and engineInterface::sendResult().
engineInterface* AppEI | ( | ) |
Definition at line 500 of file belofte.cpp.
Referenced by bSearchAlgorithm::dumpMoveList(), bel_debug::execute(), engineUserCommand::execute(), cmd_help::execute(), bSearchAlgorithm::handleInfoCurrMove(), bel_debug::info(), main(), bGame::playUIsuppliedMove(), commandReader::runner(), bSearchAlgorithm::SearchBestMove(), bSearchAlgorithm::sendInfoScore(), bSearchAlgorithm::sendInfoSearching(), engineInterface::sendResult(), and bGame::WaitForSearchEnd().
bGameWithTest* Game | ( | ) |
Definition at line 505 of file belofte.cpp.
Referenced by bGameWithTest::evalEpdPosition(), bel_debug::execute(), engineInterface::execute(), belofte::getRandomInt(), belofte::getRandomRange(), bel_debug::info(), main(), bEpd::parse(), bGame::playGameMove(), bSearchAlgorithm::RetrieveBoardEvaluation(), bel_debug::run_bench(), and engineInterface::sendResult().