|
BenBot 1.7.5
A chess engine
|
#include <cstdint>#include <expected>#include <libchess/moves/Move.hpp>#include <string>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | chess |
| namespace | chess::game |
| namespace | chess::notation |
Enumerations | |
| enum class | chess::notation::MoveFormat : std::uint_least8_t { chess::notation::MoveFormat::Algebraic , chess::notation::MoveFormat::ICCF , chess::notation::MoveFormat::UCI } |
Functions | |
| auto | chess::notation::format_move (MoveFormat format, const Position &position, Move move, bool algPieceTypeAsUTF8=false) -> std::string |
| auto | chess::notation::parse_move (MoveFormat format, const Position &position, std::string_view string) -> std::expected< Move, std::string > |
This file provides an abstraction for formatting moves using any of the available notation types.
Definition in file MoveFormats.hpp.