To run your game, you need an App instance.
Create one like this:
App::new()You can set the window title using .title():
App::new()
.title("My Cool Game".to_string())Call .run() with two closures — one for initialization, one for the game loop:
App::new()
.run(|app| {
// Called once at startup
}, |app| {
// Called every frame
});