aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bitboard.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitboard.rs b/src/bitboard.rs
index 199e6c7..1d6d0bc 100644
--- a/src/bitboard.rs
+++ b/src/bitboard.rs
@@ -10,13 +10,13 @@ pub fn print(bb: Bitboard) {
print!("{}|", rank + 1);
for file in 0..8 {
let index = rank * 8 + file;
- print!("{}", if bb >> index & 1 == 1 { "1" } else { "." });
+ print!("{}", if bb >> index & 1 == 1 { "⚫" } else { ". " });
if file == 7 {
println!();
}
}
}
- return println!(" ABCDEFGH");
+ return println!(" a b c d e f g h");
}
/// Return bitboard cardinality, aka number of elements in the set