paper_alibi/
lib.rs

1//! Paper Alibi: six linked mysteries and a newspaper's duty to verify its claims.
2//!
3//! The pure [`Game`] rules work without a renderer. See [`model`] for a runnable
4//! example; the native and browser entry points use the same campaign.
5mod content;
6pub mod model;
7mod view;
8use ferravex_arcade::{Color, Conf, Meta, window};
9pub use model::Game;
10
11/// Identity, default controls and the complete in-game field guide.
12pub const META: Meta = Meta {
13    id: "paper-alibi",
14    title: "Paper Alibi",
15    subtitle: "Detective deduction",
16    controls: "1-4 Tabs | Arrows Select | Act Inspect | C Connect | X Notebook",
17    help: &[
18        "Examine places and interview every witness.",
19        "Pin a claim beside the fact it breaks; connect.",
20        "Confront the liar, then accuse: who, how and why.",
21        "Wrong accusations cost hearts; four end the run.",
22    ],
23    accent: Color::new(0.87, 0.66, 0.36, 1.),
24};
25fn conf() -> Conf {
26    window(META.title)
27}
28async fn game() {
29    ferravex_arcade::run::<Game>(META).await;
30}
31ferravex_render::game!(conf, game);