Skip to content

AlmartDev/terminal_dungeon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Dungeon

A Doom-like game engine that renders to ascii and outputs to terminal! From /terminal_dungeon/ root directory type python -m terminal_dungeon to play.

Terminal Dungeon Preview

This engine was used to power a maze solving robot during Advent of Code 2019:

Maze Solver

(see code here: AoC Raycaster)

  • 'esc' to exit

  • 't' to turn off textures

  • 'wasdqe' or arrow-keys to move

  • 'space' to jump

  • 'f' to Shoot

  • 'g' take 14 hp

  • 'h' heal 25 hp


Depending on your terminal font, Renderer.ascii_map may need to be adjusted.

Values stored in wall textures should range from 0-9. 6 is the default wall shade; values below 6 will darken the wall and above 6 will lighten it.


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

Lode's Computer Graphics Tutorial

PyRay - Python Raycasting Engine

pygame-raycasting-experiment

About

Doom-like raycasting engine that renders to ascii for playing in terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%