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
10
namespace
scid::core {
11
12
struct
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
board.h
Chess board constants, piece helpers, square geometry, and directions.
scid::core::MoveSpec
Definition
move.h:12
libs
core
include
scid
core
move.h
Generated by
1.9.8