An experiment building a Roguelike with libtcod and Python
A RoomGenerator is now made up of two "method" classes that do separate things: 1. A RectMethod takes the size of the area to generate and creates an iterable stream of Rects to fill that area. 2. A RoomMethod takes a Rect and creates a room inside of it. These two components are composable in interesting ways, and allow a more data-driven approach to map generation, though I don't yet have the ability to make this mechansim entirely data-driven. |
||
---|---|---|
.vscode | ||
erynrl | ||
first_steps | ||
fonts | ||
test | ||
.gitignore | ||
.pep8 | ||
.pylintrc | ||
bsp_visualizer.py | ||
ca.py | ||
going_rogue.code-workspace | ||
logging_config.json | ||
Makefile | ||
README.md | ||
requirements.txt |
Going Rogue
An experiment building a Roguelike with libtcod and Python
libtcod
is a library that provides a bunch of useful routines for building
Roguelikes. There are C++ and Python interfaces.
There are Python docs.
I also found a "make a Roguelike with libtcod
" tutorial on Rogue Basin.