Your Cart
Loading
Only -1 left

PyDungeon Engine — Advanced Roguelike Dungeon Crawler Source Code

On Sale
$19.84
$19.84
Added to cart

PyDungeon Engine is a complete roguelike dungeon crawler built with Python and Pygame. No image assets required — everything renders from code primitives. Open main.py and start playing.


WHAT YOU GET:

• 4 Python modules (~2,000 lines of fully commented code)

• Procedural BSP dungeon generation — every run is different

• 3 character classes (Warrior, Mage, Rogue) with 4 unique abilities each

• Turn-based tactical combat with ATK/DEF/SPD stats

• 7 enemy types + 3 epic boss fights with distinct AI behaviors

• Full inventory system with rarity tiers (Common → Legendary)

• Field of view + fog of war (raycasting algorithm)

• 10 floors of escalating difficulty

• JSON save/load — resume anytime

• requirements.txt — just pip install pygame


PERFECT FOR:

• Learning game development with Python/Pygame

• Customizing into your own commercial game

• Studying procedural generation algorithms

• Building a roguelike portfolio project


INCLUDED:

• main.py (1,345 lines) — game loop, rendering, combat, AI

• data.py (322 lines) — all game data, easy to modify

• dungeon.py (220 lines) — BSP dungeon generation

• fov.py (99 lines) — raycasting visibility system

• README.md + DISCLAIMER.md


REQUIREMENTS: Python 3.8+ | Pygame 2.5+


Zero external dependencies beyond Pygame. Open source, modify freely.

You will get a ZIP (296KB) file