diff --git a/src/chess_api/engines/breakthrough.rs b/src/chess_api/engines/breakthrough.rs index 235b349..c314ccd 100644 --- a/src/chess_api/engines/breakthrough.rs +++ b/src/chess_api/engines/breakthrough.rs @@ -1,8 +1,8 @@ use std::collections::HashMap; use super::*; -pub const WHITE_WON_ZONE: u64 = 0xff; -pub const BLACK_WON_ZONE: u64 = 0xff << 56; +pub const WHITE_WON_ZONE: u64 = 0xff << 56; +pub const BLACK_WON_ZONE: u64 = 0xff; struct Breakthrough{ board: Board<1>, diff --git a/src/main.rs b/src/main.rs index 8b99fad..f3e7724 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,4 +25,8 @@ fn main() { print!("\n"); render_board(BoardColor::Solid('`'), vec![(!mov_mask(3), 'a'), (!mov_mask(-2), 'c')]); + + print!("\n"); + + render_board(BoardColor::Solid('`'), vec![(0xffff, 'W'), (0xff << 56, 'B')]); }