Skip to main content

Crate ascii_agents_core

Crate ascii_agents_core 

Source
Expand description

ascii-agents-core: headless logic for the ascii-agents TUI.

Re-exports§

pub use id::AgentId;
pub use render::Renderer;
pub use source::Activity;
pub use source::AgentEvent;
pub use source::Source;
pub use source::TaggedReceiver;
pub use source::TaggedSender;
pub use source::ToolDetail;
pub use source::Transport;
pub use sprite::Frame;
pub use sprite::Palette;
pub use sprite::Pixel;
pub use sprite::Rgb;
pub use sprite::RgbBuffer;
pub use sprite::Sprite;
pub use state::reducer::Reducer;
pub use state::ActivityState;
pub use state::AgentSlot;
pub use state::SceneState;
pub use walkable::OccupancyOverlay;
pub use walkable::WalkableMask;

Modules§

id
layout
Zone-based scene layout for the top-down office — primitive geometry only, no terminal deps. Computed once per (buf_w, buf_h, num_agents) triple; serializable / wire-shippable for the future v2 daemon split.
pose
Pure state → pose derivation. Lives in core so non-TUI renderers (snapshot tooling, future PNG/GIF capture, web canvas) get identical pose semantics without depending on the binary crate.
render
source
sprite
state
walkable
Walkability primitives — pure data, no terminal deps.