# amethyst/bracket-lib

The Roguelike Toolkit (RLTK), implemented for Rust.

Repository: https://github.com/amethyst/bracket-lib
Canonical: https://ross.abutalabs.com/products/bracket-lib
Language: Rust
License: MIT
License Family: permissive
Topics: roguelike, cp437, rust-crate, retrogaming, rust-crates, crates, amethyst-support, rltk
Last push: 2025-12-05T17:00:27+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 2619, "days_push": 271, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1688, forks 126 (observed 2026-08-28T04:05:22.321495+00:00)

## What it is
bracket-lib (formerly RLTK) is a Rust toolkit for building roguelike and retro-style games, providing terminal-style CP437 rendering, color, geometry, noise, pathfinding, and dice-based random number generation. It is split into modular crates and supports OpenGL, WebGPU, and crossterm backends including WebAssembly targets.

## Use cases
- build a roguelike game in Rust
- render CP437 ASCII/terminal-style graphics
- add A* pathfinding and Dijkstra maps to a game
- generate procedural terrain with fast noise
- parse RPG dice strings like 3d6+12 for random rolls
- make a retro game that runs in the browser via WebAssembly

## When to choose
- you are writing a roguelike or retro grid-based game in Rust
- you need an all-in-one toolkit with rendering, pathfinding, noise, and RNG
- you want to target desktop and WebAssembly from the same codebase
- you are following the Hands-on Rust book or the Rust roguelike tutorial

## When to avoid
- you need a full-featured general-purpose game engine with asset pipelines and editors
- you are building high-resolution sprite or 3D games
- your project is not in Rust
- you need long-term commercial support guarantees

## Facets
- artifact type: library
- maturity: active
- function: game-engine, graphics, simulation, math
- domain: graphics, gaming-tools
- platform: cross-platform, wasm, rust
- tags: roguelike, cp437, retrogaming, pathfinding, procedural-generation, terminal-rendering, rltk, game-development

## Member repositories
- amethyst/bracket-lib (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.321495+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:42.997200+00:00, confidence not recorded.
  - readme: https://github.com/amethyst/bracket-lib (fetched 2026-08-28T04:05:22.321495+00:00, sha b1b7798aca84)
- Data as of 2026-08-30T08:39:29.467469+00:00.
