1 2 3 4 5 6 7 8 9 10 11 12 13
mod game; mod graphics; fn main() { game::start(); let graphics_thread = std::thread::spawn(move || { graphics::start(); }); graphics_thread.join().unwrap(); }