1mod content;
3mod layout;
4pub mod model;
5mod view;
6use ferravex_arcade::{Color, Conf, Meta, window};
7pub use model::Game;
8pub const META: Meta = Meta {
10 id: "gilded-deck",
11 title: "Gilded Deck",
12 subtitle: "Deck builder",
13 controls: "Arrows/1-5 Select | Act Play | X End Turn/Back | C Deck",
14 help: &[
15 "Click a card to lift it; click it again to play it.",
16 "The enemy's next move floats above its head.",
17 "Block fades at your next turn; poison ticks every turn.",
18 "Flame cards burn away until the next battle.",
19 ],
20 accent: Color::new(0.91, 0.73, 0.38, 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);