From 2763381eefa80623af41e7f799dc17f0e38dfcae Mon Sep 17 00:00:00 2001 From: Micha White Date: Tue, 3 Oct 2023 22:09:03 -0400 Subject: Fix bug with move generation jumps --- model/src/board.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'model/src/board.rs') diff --git a/model/src/board.rs b/model/src/board.rs index 1cc8d1c..7d61779 100644 --- a/model/src/board.rs +++ b/model/src/board.rs @@ -23,13 +23,13 @@ mod tests; #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct CheckersBitBoard { /// If the space contains a piece, it's a 1 - pieces: u32, + pub pieces: u32, /// If the piece is black, 1, otherwise 0 - color: u32, + pub color: u32, /// 1 if the piece is a king - kings: u32, + pub kings: u32, /// The player who has the next turn - turn: PieceColor, + pub turn: PieceColor, } impl Default for CheckersBitBoard { -- cgit v1.2.3