Skip to content
B

Bracket Lib

The Roguelike Toolkit (RLTK), implemented for Rust

by amethystFree

#1323in Utilities
0In stores

Description

bracket-lib is the Roguelike Toolkit, known as RLTK, implemented for Rust. It is the primary support library for the author's book Hands-on…

Highlights

  • Roguelike toolkit for Rust, split into crates
  • A-star pathing and Dijkstra maps
  • Dice roller that parses strings like 3d6+12
  • OpenGL, WebGL, WebGPU and crossterm backends
  • Noise, colour and geometry helpers

Ratings & Reviews

No ratings yet

Be the first to rate Bracket Lib.

People also visit

R

Ratzilla

Build terminal-themed web applications with Rust and WebAssembly

Utilities
Launch
R

Rattles

Minimal terminal spinners/throbbers for Rust

Utilities
Launch
C

Create Rust App

Set up a modern rust+react web app by running one command

Utilities
Launch
Z

Zzhack

Blazing fast terminal-style personal site built with Rust WASM

Utilities
Launch
T

Truck

Truck is a Rust CAD Kernel

Utilities
Launch
R

Rust Kanban

A kanban board for the terminal built with in Rust

Utilities
Launch

Bracket Lib FAQ

What is bracket-lib?

A Rust toolkit for roguelikes and other games, known as RLTK, with terminal rendering, pathfinding, noise and random number helpers.

Is it free?

Yes. It is an open-source project on GitHub.

Which rendering backends can I use?

OpenGL by default, WebGL in the browser, WebGPU through wgpu, and crossterm for a text terminal.

How do I use it in a project?

Add the bracket-lib dependency to your Cargo.toml file. For WebGPU, the README says to add resolver = 2 to Cargo.toml.

Can I use only part of it?

Yes. The crates are split so you can use just the pathfinding, noise, colour or geometry parts.

Is there a tutorial?

The README links to an online tutorial series on writing a roguelike with the library, and the author's book.

What are the best Bracket Lib alternatives?

Popular alternatives to Bracket Lib include Ratzilla, Rattles and Create Rust App. See all Bracket Lib alternatives

Developer Stuff

Badges