minor change
This commit is contained in:
parent
b7ad7b3111
commit
8a3a92f80f
@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "coords.hpp"
|
||||||
|
#include "move.hpp"
|
||||||
#include "pieces/piece.hpp"
|
#include "pieces/piece.hpp"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -11,8 +13,8 @@ struct Board {
|
|||||||
public:
|
public:
|
||||||
int8_t squares[64] = {Piece::None};
|
int8_t squares[64] = {Piece::None};
|
||||||
bool white_to_play;
|
bool white_to_play;
|
||||||
int8_t w_castle_rights;
|
CastleSide w_castle_rights;
|
||||||
int8_t b_castle_rights;
|
CastleSide b_castle_rights;
|
||||||
|
|
||||||
static Board setup_fen_position(std::string fen);
|
static Board setup_fen_position(std::string fen);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user