libscid 0.1.0
Chess applications made easy.
Loading...
Searching...
No Matches
move.h
Go to the documentation of this file.
1
4#pragma once
5
6#include "scid/core/board.h"
7
8#include <string>
9
10namespace scid::core {
11
12struct MoveSpec {
13 scid::core::squareT from = scid::core::NULL_SQUARE;
14 scid::core::squareT to = scid::core::NULL_SQUARE;
15 scid::core::pieceT promotion = scid::core::EMPTY;
16 bool castling = false;
17
18 bool isNull() const;
19 std::string longNotation() const;
20};
21
22} // namespace scid::core
Chess board constants, piece helpers, square geometry, and directions.
Definition move.h:12