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§
- algorithm_
traits - bracket-algorithm-traits provides traits for use in the bracket-pathfinding and bracket-geometry
- color
- bracket-color provides a color system for use in the bracket-terminal
- geometry
- 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.
- noise
- bracket-noise covers all the commonly used types of noise,
- pathfinding
- bracket-pathfinding (in conjunction with bracket-algorithm-traits) provides pathfinding functionality. A-Star (A*) and Dijkstra are supported. It also
- prelude
- prelude
- random
- bracket-random provides a dice-oriented random number generation
- terminal
- bracket-terminal provides a virtual ASCII/Codepage-437 terminal (with optional tile graphic support and layers), and a game loop