stickfosh/cpp/src/move.hpp
Karma Riuk 472f9e4c7c
Some checks failed
tagged-release / Tagged Release (push) Has been cancelled
made CastleSide a normal enum again to use &
2025-02-02 21:30:37 +01:00

16 lines
275 B
C++

#pragma once
#include "castle_side.hpp"
#include <cstdint>
struct Move {
int8_t source_square;
int8_t target_square;
bool is_capturing = false;
CastleSide castle_side = CastleSide::NeitherSide;
bool en_passant = false;
int8_t promoting_to = 0;
};