disabled sleep. smaller box size

This commit is contained in:
2026-01-02 06:08:11 -06:00
parent cd605b9b4b
commit 3f16a00b0d

View File

@@ -89,7 +89,7 @@ fn main() {
let mut canvas = window.into_canvas().build().unwrap(); let mut canvas = window.into_canvas().build().unwrap();
let boxsize:i32=15; let boxsize:i32=8;
let cols:i32=width as i32/boxsize; let cols:i32=width as i32/boxsize;
let rows:i32=height as i32/boxsize; let rows:i32=height as i32/boxsize;
@@ -123,6 +123,6 @@ fn main() {
} }
// The rest of the game loop goes here... // The rest of the game loop goes here...
::std::thread::sleep(Duration::new(0, 1_000_000_000u32 / 60)); //::std::thread::sleep(Duration::new(0, 1_000_000_000u32 / 60));
} }
} }