|
My Project
|
xboard protocol. More...
#include "bit.h"#include "event.h"#include "options.h"#include "opening.h"#include "play.h"#include "search.h"#include "stats.h"#include "util.h"#include "ui.h"#include <stdarg.h>Classes | |
| struct | XBoardStats |
Functions | |
| static void | xboard_observer (Result *result) |
| Search oberver. More... | |
| void | ui_init_xboard (UI *ui) |
| initialize xboard protocol. More... | |
| void | ui_free_xboard (UI *ui) |
| free resources used by xboard protocol. More... | |
| static void | xboard_error (const char *format,...) |
| Print an error. More... | |
| static void | xboard_send (const char *format,...) |
| Send a command to xboard/winboard GUI. More... | |
| static void | xboard_setup (Play *play) |
| static void | xboard_move (const int x) |
| Send a move to xboard/winboard GUI. More... | |
| static void | xboard_hint (Play *play) |
| Send a hint. More... | |
| static void | xboard_book (Play *play) |
| Send a move from the book, if available. More... | |
| static void | xboard_check_game_over (Play *play) |
| Check if the game is over. More... | |
| static int | hash_size (int n) |
| static void | xboard_go (UI *ui, XBoardStats *stats) |
| void | xboard_stop_analyzing (Play *play) |
| Stop analyzing. More... | |
| static void | xboard_analyze (Play *play) |
| Analyze. More... | |
| static void | xboard_loop_analyze (UI *ui) |
| Analyze. More... | |
| void | ui_loop_xboard (UI *ui) |
| Loop event. More... | |
Variables | |
| Log | xboard_log [1] |
xboard protocol.
Of course, only the "reversi" variant is supported.
|
inlinestatic |
Compute the hash tables size in MB
| void ui_free_xboard | ( | UI * | ui | ) |
free resources used by xboard protocol.
| ui | user interface. |
| void ui_init_xboard | ( | UI * | ui | ) |
initialize xboard protocol.
| ui | user interface. |
| void ui_loop_xboard | ( | UI * | ui | ) |
Loop event.
| ui | user interface. |
|
static |
Analyze.
Analyze a position. Activate the thread suspended in xboard_loop_analyze.
| play | Play. |
|
static |
Send a move from the book, if available.
| play | Play engine. |
|
static |
Check if the game is over.
| play | Play engine. |
|
static |
Print an error.
| format | format string. |
|
static |
Search for a move.
| ui | User Interface. |
| stats | total nodes & time statistics. |
|
static |
Analyze.
Analyze loop.
| ui | User Interface. |
|
static |
Send a move to xboard/winboard GUI.
| x | Move coordinate. |
|
static |
|
static |
Send a command to xboard/winboard GUI.
| format | format string. |
|
static |
| void xboard_stop_analyzing | ( | Play * | play | ) |
Stop analyzing.
If edax is analyzing, stop the search, and wait that the analyzing thread is suspended.
| play | Play. |
| Log xboard_log[1] |