An experiment building a Roguelike with libtcod and Python
Move all the event handling code from Engine to EventHandler. EventHandler has a reference to Engine and can deal with entities from its methods. Refactor Action to take an optional Entity in its initializer. Some actions don't require an Entity, but many do/will. |
||
---|---|---|
.vscode | ||
fonts | ||
roguebasin | ||
.gitignore | ||
.pylintrc | ||
01_fixed_size_console.py | ||
02_dynamically_sized_console.py | ||
bsp_visualizer.py | ||
Makefile | ||
README.md | ||
requirements.txt | ||
tcod.code-workspace |
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.