display stats

This commit is contained in:
2026-05-17 09:37:52 -07:00
parent 2f2910dce2
commit 97cc81987f
3 changed files with 42 additions and 11 deletions
+6
View File
@@ -46,6 +46,12 @@ impl KlondikeStats {
moves: 0,
}
}
pub const fn recycle_count(&self) -> usize {
self.recycle_count
}
pub const fn moves(&self) -> usize {
self.moves
}
const fn increment_recycle_count(&mut self) {
self.recycle_count += 1;
}