1mod content;
3pub mod model;
4mod view;
5use ferravex_arcade::{Color, Conf, Meta, window};
6pub use model::{Game, Phase};
7pub const META: Meta = Meta {
9 id: "mooncourt",
10 title: "Mooncourt",
11 subtitle: "Racket sports",
12 controls: "Arrows Move | 1-3 Aim | Act Drive | X Lob | C Smash",
13 accent: Color::new(0.58, 0.83, 0.98, 1.),
14 help: &[
15 "Win two games per match; beat all six rivals for the cup.",
16 "Stand on the landing ring; swing when your reach ring turns gold.",
17 "A smash needs a high ball and 26 stamina. Lobs buy time.",
18 "Wins earn training. A lost match spends a heart; the fourth ends the tour.",
19 ],
20};
21fn conf() -> Conf {
22 window(META.title)
23}
24async fn game() {
25 ferravex_arcade::run::<Game>(META).await;
26}
27ferravex_render::game!(conf, game);