This commit is contained in:
Crispy 2024-12-24 23:18:41 +01:00
parent 2c522c1fe0
commit 987643f334
6 changed files with 19 additions and 23 deletions

View file

@ -48,7 +48,7 @@ impl Board {
}
}
pub fn to_string(&self) -> String {
pub fn serialize(&self) -> String {
let mut out = String::new();
for y in 0..self.height {
for x in 0..self.width {