make board scale better
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user