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: "hearthharvest",
11 title: "Hearthharvest",
12 subtitle: "Village farming",
13 controls: "Arrows Select | Act Work/Buy | X Seed/Sell | C Sleep | 1-5 Pages",
14 help: &[
15 "Plant, water, then sleep: watered crops grow nightly.",
16 "Three dry nights wilt a crop; heat counts twice.",
17 "Deliver each order from your basket by its last day.",
18 "Finish day 14 with every table served and 80 coins.",
19 ],
20 accent: Color::new(0.94, 0.72, 0.36, 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);