index : snake-rs
An implementation of the classic Snake game in Rust using SDL2
about summary refs log tree commit diff
snake-rs / src / main.rs
-rw-r--r-- blob 5f288e0a211020c9139dd9c9d2cfea0a7444a172 202 bytes (plain)
1
use crate::app::App;
2
3
mod app;
4
mod game_context;
5
mod renderer;
6
mod ui;
7
8
fn main() -> Result<(), String> {
9
    let mut app: App = App::new()?;
10
11
    app.run();
12
    println!("Hello, world!");
13
    Ok(())
14
}