Skip to main content

A magical roguelike game - Chronicles of Emberfall

Project description

Terminus Veil: Chronicles of Emberfall - A Magic Roguelike by Nullsec0x

banner

A magic-themed roguelike where you play as a wizard exploring ancient dungeons, casting spells, and uncovering arcane secrets.
Descend through procedurally generated labyrinths filled with magical creatures, powerful artifacts, and forgotten lore.
This entry in the Terminus Veil universe expands upon the series’ foundation with a deep spell system, mana mechanics, and arcane exploration.


Features

Core Gameplay

  • Turn-based exploration and combat — Move using WASD or arrow keys.
  • Procedural dungeon generation — Each descent creates a new labyrinth powered by BSP algorithms.
  • Magic system — Manage mana, cast spells, and harness ancient power.
  • Stat-based progression — Intelligence and Wisdom influence spell power and regeneration.
  • Resource management — Mana regenerates slowly, rewarding strategic thinking.
  • Turn-based combat — Engage enemies using physical attacks or spells.
  • Progressive difficulty — Enemies grow stronger as you descend deeper.

Visual Experience

  • Beautiful ASCII Art — Magical symbols, glowing sigils, and character designs.
  • Smart Wall Rendering — Uses proper line-drawing characters (╔╗╚╝║═╬) for dungeon realism.
  • Field of View system — Shadowcasting-based visibility with exploration memory.
  • Color-coded entities — Distinct hues for players, monsters, and items.
  • Magical atmosphere — Dynamic environments infused with ley lines and glowing runes.

Spell System

Master the four core spells of Emberfall and manipulate mana to survive.

Spell Mana Cost Effect
Fireball 20 MP Damages the closest visible enemy with fire damage.
Heal 15 MP Restores 20–35 HP based on Wisdom.
Teleport 25 MP Instantly move to a random safe location.
Lightning Bolt 30 MP Strikes a random enemy with high damage.

Mage Attributes

  • Intelligence — Increases spell damage and magical precision.
  • Wisdom — Improves healing efficiency and mana regeneration.
  • Mana Pool — Regenerates 1 MP per turn naturally.

Magical Entities & Items

Arcane Creatures

Symbol Creature Description
Goblin Basic enemy, low threat.
Orc Strong melee fighter with moderate HP.
Dragon Powerful boss enemy with fire breath.
Arcane Elemental Magical being that grants mana when defeated.
Fire Imp Fire-based creature resistant to burn damage.
§ Ice Wraith Ice-based spirit with freezing attacks.

Items & Equipment

Consumables

Item Symbol Effect
Health Potion Restores 25 HP.
Mana Potion Restores 30 MP.
Magic Scroll Triggers a random magical effect.

Equipment

Item Symbol Effect
Magic Wand +3 Attack, +1 Intelligence.
Staff +20 Max MP, +2 Wisdom.
Arcane Amulet +15 Max MP.

Controls

Key Action Description
WASD / Arrows Move / Attack Move character or attack with staff.
1 Cast Fireball (20 MP) Damages closest enemy.
2 Cast Heal (15 MP) Restores HP.
3 Cast Teleport (25 MP) Move to safe location.
4 Cast Lightning Bolt (30 MP) High damage to random enemy.
5 Use Mana Potion Restore 30 MP.
6 Use Magic Scroll Random magical effect.
R Restart Level Restart current level.
Q Quit Game Exit the game.

Strategy Guide

Basic Tips

  • Manage Mana Carefully — Regeneration is slow, use wisely.
  • Use Teleport — Great for escaping danger quickly.
  • Heal Proactively — Don't wait until it’s too late.
  • Collect Mana Potions — Essential for long runs.

Advanced Tactics

  • Defeating magical enemies restores mana.
  • Prioritize boosting Intelligence for spell power.
  • Wisdom improves mana efficiency and healing potency.
  • Use the environment — walls block line of sight for enemies.

Spell Combos

  • Fireball → Teleport — Hit and vanish tactic.
  • Heal often between fights to stay alive.
  • Lightning Bolt for dangerous targets.

Installation & Running

Requirements

  • Python 3.11+
  • Textualize library

Quick Start

# Install dependencies
pip install textual

# Run the game
python main.py

Building Executable

pip install pyinstaller
pyinstaller --onefile main.py

Project Structure

terminus-veil-emberfall/
├── main.py                  # Entry point
├── game/
│   ├── __init__.py
│   ├── player.py            # Mage character and stats
│   ├── game_map.py          # Map rendering and magical terrain
│   ├── dungeon_generator.py # Procedural generation
│   ├── monster.py           # Magical creature system
│   ├── combat.py            # Turn-based combat logic
│   ├── items.py             # Inventory and magical items
│   ├── fov.py               # Field of view
│   ├── ascii_art.py         # Visual rendering
│   ├── magic.py             # Spell system and mana
│   └── spell_effects.py     # Individual spell logic
└── README.md

Development & Architecture

  • Engine — Python + Textualize (TUI framework)
  • Architecture — Modular, object-oriented design
  • Algorithms — BSP dungeon generation, shadowcasting FOV
  • Compatibility — Cross-platform (Windows, macOS, Linux)

Development Time (Estimate)

Phase Duration Description
Core Systems 5 hrs Player, spells, and mana system
Content 4 hrs Enemies, items, combat
Visual Polish 3 hrs ASCII art and UI

Lore

In the world of Emberfall, magic has reawakened after centuries of silence.
Deep within forgotten dungeons, ancient energies stir once more. As a mage of the Arcane Order,
you descend into the heart of the world, mastering spells and seeking the truth behind the resurgence of magic itself.


Contributing

Want to expand Emberfall? You can:

  • Add new spells and schools of magic
  • Implement new character classes (Sorcerer, Necromancer, etc.)
  • Enhance magic items with enchantments
  • Add bosses with unique mechanics

License

Open source — Feel free to use and modify.


Credits

Created by Nullsec0x as part of the Terminus Veil universe.
Built with Python and Textualize, focusing on arcane adventure and magical exploration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

emberfall-0.1.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

emberfall-0.1.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file emberfall-0.1.0.tar.gz.

File metadata

  • Download URL: emberfall-0.1.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for emberfall-0.1.0.tar.gz
Algorithm Hash digest
SHA256 770e47f9f045eaaef9f812ca1ccde9ac8dea26cb077f92408edf1328ad5be68e
MD5 d3ec37113600c6900a834348d869a7c5
BLAKE2b-256 d4ce4ded9b506aff84ffac0d09d66253b909d01d483b900df3059ae5ff13629e

See more details on using hashes here.

File details

Details for the file emberfall-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: emberfall-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for emberfall-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a92f68f0dadffc6d30c910fe2e31dc9083c7cd92371441faca23972dd25a10b
MD5 034ef0e8847b792433f7b30f93a46a1a
BLAKE2b-256 8fb43ee38cd0927202ccf125b978411f2c8f0d54933ea4b838f8d60ece50c7be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page