Skip to content

This is a classic, text-based dungeon crawler, similar to the retro RPGs from the past. It's mostly a way for me to learn Python and get better at it, but also a fun game, too.

Notifications You must be signed in to change notification settings

AmnonSkladman/DungeonInterloper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dungeon Interloper hero banner

DungeonInterloper

This is a classic, text-based dungeon crawler, similar to the retro RPGs from the past. It's mostly a way for me to learn Python and get better at it, but also a fun game, too.

Story

You awake in a dungeon, no memory of how you got there. The last thing you do remember, though, was that you were on a flight going somewhere. Now, you're trying to piece everything together and make your way back home to your loved ones.

Mechanics

Random Number Generator

There are RNGs being used to determine outcomes, such as die rolls. These will ensure that the game will usually play out differently every time.

If Statements

These are to determine logic in the game and make the appropriate decisions and advancements. These are also in place to hopefully prevent any bugs or crashes.

ANSI Escape Codes

  • Black: \u001b[30m
  • Red: \u001b[31m
  • Green: \u001b[32m
  • Yellow: \u001b[33m
  • Blue: \u001b[34m
  • Magenta: \u001b[35m
  • Cyan: \u001b[36m
  • White: \u001b[37m
  • Reset: \u001b[0m

Future Goals

  • Make it modular
    • It will read "default settings" from a file
    • You can update the file and replace things as you please, e.g. locations, names, gear, etc.
    • This can potentially work as a system to allow people to add their own "mods"
  • Add a class system, with 2-3 skills and 1 ability for each
  • Become a dungeon-crawler building platform rather than remain one single game

How To Play

It's a classic-style, text-based dungeon crawler game. Just read the prompts and answer the questions as they come up. Please make sure to type the answers as accurately as possible. Sometimes, possible ones are offered, such as "y" or "n". Other times, you have to use your intuition and try different things. This game won't always hold your hand as you play it.

How To Install

  • Install Python 3 for Windows or MacOS
  • Open your favourite terminal
  • cd into a folder
  • git clone https://github.com/AmnonSkladman/DungeonInterloper.git
  • cd DungeonInterloper
  • python index.py
  • Enjoy!

Note: You may need to resize your window to accomodate the banners and other similar content based on your font size and screen resolution. I currently am not sure how to auto-resize content in Python. I am looking for a solution.

Credits

Source code

https://github.com/AmnonSkladman/DungeonInterloper

Banner

Unknown? Still trying to find out the original artist

Converting images to ASCII + ANSI

https://manytools.org/hacker-tools/convert-images-to-ascii-art/

About

This is a classic, text-based dungeon crawler, similar to the retro RPGs from the past. It's mostly a way for me to learn Python and get better at it, but also a fun game, too.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages