Apps

Bevy programs are referred to as Apps . The simplest Bevy app looks like this:

use bevy::prelude::*;

fn main() {
    App::build().run();
}

Nice and simple right? Copy the code above into your main.rs file, then run:

cargo run

in your project folder. You will notice that ... nothing happens. This is because we haven't told our app to do anything yet! Apps are just empty shells capable of running our application logic. Lets add some logic to our App using Bevy ECS.