ironclad_tactics/
lib.rs

1//! Ironclad Tactics: six authored operations to liberate the Copper Coast.
2//!
3//! The renderer-independent [`Game`] accepts the same commands from a person,
4//! a browser host, or the deterministic headless campaign controller.
5mod content;
6mod fx;
7pub mod model;
8mod view;
9
10use ferravex_arcade::{Color, Conf, Meta, window};
11pub use model::Game;
12
13/// Game identity, controls and the campaign field manual.
14pub const META: Meta = Meta {
15    id: "ironclad-tactics",
16    title: "Ironclad Tactics",
17    subtitle: "Squad tactics",
18    controls: "1-3 Unit | Arrows Target | Act Move/Attack | X Skill | C End Turn",
19    help: &[
20        "Click a machine, then a tile to move or an enemy to fire.",
21        "Moving costs 1 AP per tile; firing costs 2 AP.",
22        "Red lines mark enemy shots: dodge, take cover or strike first.",
23        "X: Brass braces, Kestrel focuses, Mica repairs. C ends the turn.",
24    ],
25    accent: Color::new(0.94, 0.69, 0.28, 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);