Skip to main content

pinch_points/
lib.rs

1//! Pinch Points: a real-time grid routing puzzler.
2//!
3//! [`sim`] is the headless simulation core and [`app`] the Bevy shell around
4//! it. The simulation is deliberately free of any engine types: plain Rust,
5//! integer-only, and deterministic, so it can be unit-tested, replayed, and
6//! driven over the wire. See `docs/pinch-points-spec.md`.
7//!
8//! There is no `unsafe` here and there is not going to be: the game is a
9//! grid of integers, and the one thing it does with bytes a stranger wrote,
10//! decoding them, is the last place to want manual memory handling.
11//! Forbidden rather than merely denied, so it cannot be turned back on
12//! locally without saying so here.
13#![forbid(unsafe_code)]
14
15pub mod app;
16pub mod gif;
17pub mod highlight;
18pub mod lzw;
19pub mod share;
20pub mod sim;
21pub mod transport;