deep_pressure/
lib.rs

1//! Deep Pressure is a complete six-sortie submarine rescue campaign.
2//! See [`model`] for renderer-independent fixed-tick rules and an executable example.
3mod art;
4mod content;
5mod feedback;
6pub mod model;
7mod overlay;
8mod panel;
9mod view;
10
11use ferravex_arcade::{Color, Conf, Meta, window};
12pub use model::Game;
13/// Game identity and player-facing rules consumed by the common arcade host.
14pub const META: Meta = Meta {
15    id: "deep-pressure",
16    title: "Deep Pressure",
17    subtitle: "Submarine rescue",
18    controls: "Arrows Thrust | Act Rescue/Dock | X Ballast | C Sonar | 1-3 Refit",
19    help: &[
20        "Slow down by a glowing air bell; tap Space to winch.",
21        "Hold Space to brake. Dock in the gold ring to land.",
22        "The dock refills air and repairs the hull.",
23        "Head home before the air ring reaches its white mark.",
24    ],
25    accent: Color::new(0.27, 0.87, 0.88, 1.),
26};
27fn conf() -> Conf {
28    window(META.title)
29}
30async fn game() {
31    ferravex_arcade::run::<Game>(META).await;
32}
33ferravex_render::game!(conf, game);