|
UCILoader 1.1.2
Small C++ library that allows user to connect to a chess engines via UCI protocol.
|
Position formatter for the standard chess starting position. More...
#include <StandardChess.h>
Public Member Functions | |
| std::string | toFen () const override |
| Get the FEN string for the starting position. | |
| std::string | toPositionString () const override |
| Get the UCI position string for the starting position. | |
| virtual std::string | toFen () const =0 |
| virtual std::string | toPositionString () const =0 |
Position formatter for the standard chess starting position.
Implements PositionFormatter to represent the initial chess position (FEN: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1).
Useful as the root position for engine searches.
Usage:
|
inlineoverridevirtual |
Get the FEN string for the starting position.
Implements UCILoader::PositionFormatter.
|
inlineoverridevirtual |
Get the UCI position string for the starting position.
Implements UCILoader::PositionFormatter.