An experiment building a Roguelike with libtcod and Python
Find a file
Eryn Wells 003aedf30e Restructure event handling
Events start in the Interface. The interface gets first crack at any incoming
events. If the interface doesn't handle the event, it is given to the
engine. The engine has an EngineEventHandler that yields actions just
like the event handler prior to this change.

The interface's event handler passes events to each window in the
interface. Windows can choose to handle events however they like, and
they return a bool indicating whether the event was fully handled.
2023-03-07 21:29:28 -08:00
.vscode Add pytest unit tests 2023-02-18 10:49:35 -08:00
erynrl Restructure event handling 2023-03-07 21:29:28 -08:00
first_steps Move first steps scripts to their own directory 2022-05-12 09:02:53 -07:00
fonts Some messing around with fonts and BDF files from long ago 2023-02-08 08:36:44 -08:00
test Add a test for RectangularRoom.wall_points 2023-02-19 18:18:40 -08:00
.gitignore
.pep8 Add a pep8 code style configuration file 2023-02-08 08:34:46 -08:00
.pylintrc Tell the linter to allow pt as a variable name 2023-02-09 16:07:45 -08:00
bsp_visualizer.py A little script to visualize how BSP works; emits a DOT graph 2022-05-03 19:05:53 -07:00
ca.py Add cellular atomata to the map generator finally! 2023-03-05 18:40:02 -08:00
going_rogue.code-workspace Ignore .venv directory in the VSCode workspace 2023-02-18 10:40:55 -08:00
logging_config.json Enable UI debug logging 2023-03-05 13:35:35 -08:00
Makefile Update the Makefile to use .venv as the virtual env directory 2022-05-08 08:54:54 -07:00
README.md Merge remote-tracking branch 'origin/main' 2022-05-03 07:17:39 -07:00
requirements.txt Add pytest unit tests 2023-02-18 10:49:35 -08:00

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.