====== Dungeon ====== The dungeon is the main environment where the game takes place in Remixed Dungeon. ==== Description ==== The dungeon is a procedurally generated underground complex where the hero's adventure takes place. It consists of multiple levels with increasing difficulty, filled with monsters, treasures, and hazards. ==== Dungeon Structure ==== * [[en:rpd:levels|Levels]] - The different floors of the dungeon * [[en:rpd:stairs|Stairs]] - Connecting passages between levels * **Areas** - Different themed sections within levels * **Rooms** - Distinct sections within dungeon levels ==== Dungeon Elements ==== * [[en:rpd:mobs|Mobs]] - Enemies and creatures that populate the dungeon * [[en:rpd:items|Items]] - Objects that can be found and collected * [[en:rpd:traps|Traps]] - Hidden hazards throughout the dungeon * [[en:rpd:level_objects|Level Objects]] - Interactive and decorative features * [[en:rpd:shops|Shops]] - Areas where items can be bought and sold ==== Dungeon Goals ==== * **Amulet of Yendor**: The primary objective is to reach the bottom and claim the legendary Amulet * **Survival**: Avoiding death while navigating through increasingly dangerous levels * **Exploration**: Discovering all secrets and areas within each level * **Progression**: Growing stronger to face greater challenges ==== Dungeon Mechanics ==== * **Procedural Generation**: Each game features a unique dungeon layout * **Increasing Difficulty**: Each level is more challenging than the previous * **Limited Resources**: Items left behind cannot be recovered once descended * **Permadeath**: Death ends the current game permanently ==== Code References ==== * Dungeon System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Dungeon.java|Dungeon.java]] - Core dungeon implementation * Generation System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Dungeon.java#L100-L200|Level generation code]] - How dungeon levels are created * Dungeon State: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Dungeon.java#L50-L90|Dungeon state management]] - How dungeon state is tracked * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All dungeon-related text ==== See Also ==== * [[en:rpd:levels|Levels]] * [[en:rpd:hero|Hero]] * [[en:rpd:amulet_item|Amulet of Yendor]] * [[en:rpd:stairs|Stairs]] {{tag> rpd dungeon environment game }}