/terminal_dungeon

Doom-like dungeon crawler that renders to ascii for playing in terminal

Primary LanguagePythonMIT LicenseMIT

Terminal Dungeon Preview 3

Now with Sprites!:

Terminal Dungeon Sprite Preview

Terminal Dungeon

A Doom-like game that renders to ascii and outputs to terminal!

'esc' to exit

't' to turn off textures

IMPORTANT: Make sure the pygame window is focused for input events to be received.

Depending on your terminal font, Renderer.ascii_map may need to be adjusted. If you'd like to make an ascii map more suitable to your terminal's font, check my Snippets repository for a script that grabs mean brightness of unicode characters.

Values stored in textures should range from 0-9. Values below 6 are subtractive and above 6 are additive.

This project wouldn't have been possible without the following valuable resources:

Lode's Computer Graphics Tutorial

PyRay - Python Raycasting Engine

pygame-raycasting-experiment