libtcod
« Back to VersTracker
Description:
API for roguelike developers
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: gamedev roguelike library c-plus-plus algorithms
Install: brew install libtcod
About:
Libtcod is a comprehensive open-source library designed specifically for roguelike game development. It provides a robust set of tools for handling field-of-view, pathfinding, and procedural noise generation. Its main value proposition is to simplify complex game mechanics, allowing developers to focus on gameplay and content rather than low-level implementation details.
Key Features:
  • Field of View (FOV) and Line of Sight algorithms
  • A* and Dijkstra pathfinding
  • Procedural noise and map generation tools
  • Cross-platform terminal and graphics rendering
Use Cases:
  • Developing traditional ASCII or tile-based roguelike games
  • Implementing efficient grid-based pathfinding for AI agents
  • Generating procedural maps and terrain for game levels
Alternatives:
  • BearLibTerminal – Focuses more on modern grid-based terminal emulation, whereas Libtcod offers a broader suite of game-specific algorithms.
  • ncurses – A general-purpose terminal library lacking the specialized game development features like pathfinding and noise generation found in Libtcod.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 10:14pm 0 VERSION_BUMP e499ee78
Sep 16, 2025 10:26am 0 VERSION_BUMP 55c1bde6
Oct 27, 2024 12:49pm 0 VERSION_BUMP 9868fa69
Sep 13, 2024 2:32pm 0 VERSION_BUMP dc0e99db