gravity_post/
lib.rs

1//! Gravity Post: eight planetary deliveries and a complete courier career.
2mod cards;
3mod content;
4mod feedback;
5pub mod model;
6mod panel;
7mod view;
8use ferravex_arcade::{Color, Conf, Meta, window};
9pub use model::{Game, Phase};
10
11/// Identity, controls and the short field guide for the shared campaign host.
12pub const META: Meta = Meta {
13    id: "gravity-post",
14    title: "Gravity Post",
15    subtitle: "Lander deliveries",
16    controls: "Left/Right Tilt | Up/Act Thrust | Down Brake | X Service | C Retry",
17    help: &[
18        "Load at the gold pad, then deliver to the green pad.",
19        "Land slowly and upright: keep the marker in the green box.",
20        "X on a landed pad loads, delivers, refuels or repairs.",
21        "Beat the storm clock; wrecks spend recovery permits.",
22    ],
23    accent: Color::new(0.96, 0.72, 0.33, 1.),
24};
25fn conf() -> Conf {
26    window(META.title)
27}
28async fn game() {
29    ferravex_arcade::run::<Game>(META).await;
30}
31ferravex_render::game!(conf, game);