Skip to main content

pinch_points/sim/
mod.rs

1//! Headless game simulation. No engine types allowed in this module tree.
2
3mod board;
4mod bot;
5mod campaign;
6mod crab;
7mod direction;
8mod gull;
9mod hash;
10mod level;
11mod map_gen;
12mod net;
13mod replay;
14mod rng;
15mod solve;
16
17pub use board::{
18    Board, CapPolicy, EVENT_TICKS, LURE_TICKS, MAX_PLAYERS, MAX_SIGNPOSTS_PER_PLAYER, PlayerAction,
19    PlayerId, SIGNPOST_LIFETIME, SPILL_CAP, SUBUNITS_PER_TILE, SURGE_TICKS, Signpost,
20    SignpostHealth, Spawner, TICKS_PER_SECOND, TIER_FLOORS, TideEvent, TileKind, castle_tier,
21};
22pub use bot::{BotLevel, bot_action};
23pub use campaign::{campaign_levels, challenge_levels};
24pub use crab::{Crab, CrabKind, Handedness};
25pub use direction::Direction;
26pub use gull::{Gull, GullState};
27pub use level::{Goal, Level, LevelKind, PUZZLE_TICK_LIMIT, PuzzleOutcome};
28pub use map_gen::{castle_spots, classic_arena, classic_arena_seeded, generate_arena};
29pub use net::{
30    DEFAULT_DELAY, HASH_INTERVAL, INPUT_BYTES, InputMsg, Lockstep, decode_action, encode_action,
31};
32pub use replay::Replay;
33pub use rng::Pcg32;
34pub use solve::{
35    DEFAULT_NODE_BUDGET, Effort, Placement, SolveOutcome, solve, solve_with, validate,
36};