1mod content;
7pub mod model;
8mod view;
9use ferravex_arcade::{Color, Conf, Meta, window};
10pub use model::Game;
11pub const META: Meta = Meta {
13 id: "prism-foundry",
14 title: "Prism Foundry",
15 subtitle: "Laser puzzles",
16 controls: "Arrows Select | Act Rotate | X Undo | C Reset | 4 Hint | 5 Seal",
17 help: &[
18 "Turn mirrors, splitters and filters to light each lock.",
19 "Locks want exact colors: R+G=Y, R+B=M, G+B=C, RGB=W.",
20 "Splitters fork beams. Filters pass R, then G, then B.",
21 "Three stars: at par, no hint, reset or failed seal.",
22 ],
23 accent: Color::new(0.91, 0.73, 0.39, 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);