1mod content;
4pub mod model;
5mod view;
6use ferravex_arcade::{Color, Conf, Meta, window};
7pub use model::Game;
8pub const META: Meta = Meta {
10 id: "pantry-panic",
11 title: "Pantry Panic",
12 subtitle: "Cooking game",
13 controls: "Arrows Move | Act Use/Hold to Chop | X Discard | C Recipe | 1-3 Upgrade",
14 help: &[
15 "Buy, chop, mix, cook, plate and serve each guest's order.",
16 "Hold Space at the board to chop; tap Space at other stations.",
17 "Click a station to walk there, then click it again to use it.",
18 "Grab pots before they burn. X bins food, empties the bowl or cleans pots.",
19 ],
20 accent: Color::new(1., 0.62, 0.3, 1.),
21};
22fn conf() -> Conf {
23 window(META.title)
24}
25async fn game() {
26 ferravex_arcade::run::<Game>(META).await;
27}
28ferravex_render::game!(conf, game);