2025-02-02 18:17:37 +01:00
|
|
|
#pragma once
|
|
|
|
|
2025-02-02 17:13:55 +01:00
|
|
|
#include "castle_side.hpp"
|
|
|
|
|
2025-02-02 16:49:24 +01:00
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
struct Move {
|
2025-02-02 18:17:37 +01:00
|
|
|
int8_t source_square;
|
2025-02-02 16:49:24 +01:00
|
|
|
int8_t target_square;
|
2025-02-02 17:13:55 +01:00
|
|
|
|
|
|
|
bool is_capturing = false;
|
|
|
|
CastleSide castle_side = CastleSide::Neither;
|
2025-02-02 18:17:37 +01:00
|
|
|
bool en_passant = false;
|
|
|
|
int8_t promoting_to = 0;
|
2025-02-02 16:49:24 +01:00
|
|
|
};
|