whin zones patch
This commit is contained in:
1 parent
b895eaa265
commit
651c4713c2
2 files changed
+6
-2
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
pub const WHITE_WON_ZONE: u64 = 0xff;
|
pub const WHITE_WON_ZONE: u64 = 0xff << 56;
|
||||||
pub const BLACK_WON_ZONE: u64 = 0xff << 56;
|
pub const BLACK_WON_ZONE: u64 = 0xff;
|
||||||
|
|
||||||
struct Breakthrough{
|
struct Breakthrough{
|
||||||
board: Board<1>,
|
board: Board<1>,
|
||||||
|
|||||||
@@ -25,4 +25,8 @@ fn main() {
|
|||||||
print!("\n");
|
print!("\n");
|
||||||
|
|
||||||
render_board(BoardColor::Solid('`'), vec![(!mov_mask(3), 'a'), (!mov_mask(-2), 'c')]);
|
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')]);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user