Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
belofte.cpp File Reference

main entry point, user interface More...

Go to the source code of this file.

Functions

static void platform_ctor ()
 The main program.
 
static void platform_dtor ()
 
int main (int argc, char *argv[])
 Main entry point.
 
appInstanceApp ()
 
engineInterfaceAppEI ()
 
bGameGame ()
 

Detailed Description

main entry point, user interface

Author
Yves De Billoez
Date
01/10/2004 initial version: 0.1
12/05/2020 start of version 2.0
19/10/2024 latest released version: 2.1.8.1
05/05/2025 work in progress on 2.1.9

Definition in file belofte.cpp.

Function Documentation

◆ platform_ctor()

static void platform_ctor ( )
static

The main program.

Todo
remove following line ASAP, this violates all C++ standards

Definition at line 243 of file belofte.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ platform_dtor()

static void platform_dtor ( )
static

Definition at line 258 of file belofte.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ main()

int main ( int argc,
char * argv[] )

Main entry point.

Parameters
argcThe number of parameters
argvThe strings pointing to each parameter
Todo
allow aliases on commands
Todo
allow aliases on commands
Todo
parse all next argument(s) before those preceded by –
Deprecated
no – or @, so filename expected

Definition at line 32 of file belofte.cpp.

+ Here is the call graph for this function:

◆ App()

appInstance & App ( )

Definition at line 225 of file belofte.cpp.

Referenced by AppEI(), bGame::DoPerft(), bGame::DoSearch(), bel_debug::execute(), cmd_about::execute(), cmd_bd::execute(), cmd_belofte::execute(), cmd_computer::execute(), cmd_debug::execute(), cmd_eval::execute(), cmd_exec::execute(), cmd_execat::execute(), cmd_game::execute(), cmd_info::execute(), cmd_ls::execute(), cmd_name::execute(), cmd_nopost::execute(), cmd_perft::execute(), cmd_post::execute(), cmd_protover::execute(), cmd_quit::execute(), cmd_random::execute(), cmd_save::execute(), cmd_uci::execute(), cmd_UCI_Opponent::execute(), cmd_ucinewgame::execute(), cmd_usage::execute(), cmd_usermove::execute(), cmd_xboard::execute(), Game(), bGame::getEpdMoveInPosition(), appInstance::getName(), belofte::getRandomInt(), belofte::getRandomRange(), bel_debug::info(), main(), bEpdFile::parse(), bEpd::parsePerftPosition(), bel_debug::run_bench(), commandReader::runner(), UCIMode::sendDebug(), XboardMode::sendDebug(), engineInterface::sendError(), engineInterface::sendHelp(), UCIMode::sendInfo(), XboardMode::sendInfo(), UCIMode::sendInfoCurrMove(), UCIMode::sendInfoDepth(), UCIMode::sendInfoSearching(), UCIMode::sendInfoSearching(), XboardMode::sendInfoSearching(), XboardMode::sendInvalidMove(), engineInterface::sendMove(), UCIMode::sendMove(), BelofteMode::sendPrompt(), engineInterface::sendResponse(), engineInterface::sendResult(), XboardMode::sendResult(), bConfigurableGame::setAlgorithm(), appInstance::setName(), bSearchAlgorithm::StartSearch(), and bEpd::translateEpdResult().

+ Here is the caller graph for this function:

◆ AppEI()

◆ Game()