Crate bracket_lib
source · [−]Expand description
bracket-lib is a wrapper of the bracket- set of crates designed initally for roguelike development (as RLTK) and later transitioned into a general use crate.
Modules
bracket-algorithm-traits provides traits for use in the bracket-pathfinding
and bracket-geometry
bracket-color provides a color system for use in the bracket-terminal
bracket-geometry provides some geometric primitives (Point, Point3D, Rect),
support functions and distance calculations. It also includes Bresenham’s
line algorithm, a vector line algorithm, and Bresenham’s Circle algorithm.
bracket-noise covers all the commonly used types of noise,
bracket-pathfinding (in conjunction with bracket-algorithm-traits) provides
pathfinding functionality. A-Star (A*) and Dijkstra are supported. It also
prelude
bracket-random provides a dice-oriented random number generation
bracket-terminal provides a virtual ASCII/Codepage-437 terminal (with
optional tile graphic support and layers), and a game loop