This commit is contained in:
2025-11-10 11:35:21 -07:00
parent f0d9f41fea
commit d9886fdea1
10 changed files with 256 additions and 276 deletions

View File

@@ -28,7 +28,7 @@ const CELL_SIZE: usize = 8;
pub fn main() {
print!("Starting Snake app");
let mut display = Display;
let mut display = Display::take().unwrap();
let mut game = SnakeGame::<100, Rgb565, Rng>::new(
SCREEN_WIDTH as u16,