BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
Algebraic.hpp File Reference
#include <expected>
#include <libchess/moves/Move.hpp>
#include <string>
#include <string_view>
Include dependency graph for Algebraic.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  chess::notation::Move
struct  chess::notation::Position

Namespaces

namespace  chess
namespace  chess::game
namespace  chess::notation

Functions

auto chess::notation::from_alg (const Position &position, std::string_view text) -> std::expected< Move, std::string >
auto chess::notation::to_alg (const Position &position, Move move) -> std::string

Detailed Description

This file provides functions for converting Move objects to/from algebraic notation.

Definition in file Algebraic.hpp.