make board scale better

This commit is contained in:
2025-02-07 21:39:17 -05:00
parent cc3d1b3d95
commit 41bc93276e
4 changed files with 24 additions and 24 deletions

View File

@@ -12,12 +12,19 @@ impl Piece {
}
}
pub const fn text(&self) -> &'static str {
pub const fn symbol(&self) -> &'static str {
match self {
Piece::White => "",
Piece::Black => "",
}
}
pub const fn text(&self) -> &'static str {
match self {
Piece::Black => "Black",
Piece::White => "White",
}
}
}
impl std::ops::Not for Piece {