finds.dev← search

// the find

amethyst/rustrogueliketutorial

★ 964 · Rust · MIT · updated Mar 2024

Roguelike Tutorial in Rust - using RLTK

A 75-chapter book-length tutorial that walks you through building a complete roguelike in Rust using the bracket-lib terminal library. Each chapter is its own compilable crate, so you can run the exact state of the game at any point in the tutorial. Aimed at developers who know some Rust and want a serious project to learn ECS patterns and game architecture on.

The chapter-per-crate structure is genuinely useful — you can diff any two chapters to see exactly what changed, and you're never debugging a half-written step. The tutorial doesn't stop at 'hello dungeon': it covers map generation algorithms, AI, inventory, save/load, procedural content, and gets into late-game systems most tutorials abandon. The writing is direct and explains the why behind ECS decisions, not just the what. 75 chapters of working, compilable code is a serious commitment that most tutorial authors don't follow through on.

bracket-lib (formerly RLTK) is a niche library with one primary maintainer; if you're learning Rust game dev with an eye toward shipping something, you'd probably want to evaluate Bevy or Macroquad instead. The repo hasn't been touched since March 2024 and the underlying library has had some churn, so there's a real chance compilation fails on current Rust without pinning old toolchains. The ECS used is a hand-rolled minimal implementation — fine for learning, but you'll need to unlearn habits if you move to Bevy's ECS later. No tests anywhere in the tutorial code, which is a missed teaching opportunity given how testable pure ECS systems are.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →