This is a clone of the original Rogue game which I have made in tcod and python.
You can play as "@" the player, explore dungeon, level up and have fun.
@PlayeroOrcTTroll!Potion>gt;Stairs
Python 3.8+ tcod libraryy
Install dependencies:
pip install tcod
Clone the repository:
git clone https://github.com/pritam-987/rouge.git
cd rouge
Run the game:
Dowonload the main.exe file from release page and run the file.
From the main menu:
- Press "N" to start a new game
Combat is automatic when you move into an enemy.
Enemies attack you during their turn.
Use scrolls and potions strategically to survive.
Killing enemies grants XP and XP unlocks new levels. You can select powerups after leveling up.
rouge/
βββ main.py # Entry point, game loop, save/load
βββ engine.py # Core game engine class
βββ event_handlers.py # Input handling and UI
βββ action.py # Player actions (move, attack, etc.)
βββ entity_factories.py # Predefined actors and items
βββ setup_game.py # New game setup and menu
βββ procgen.py # Dungeon generation
βββ game_map.py # GameMap and GameWorld classes
βββ entity.py # Entity, Actor, Item classes
βββ color.py # Color definitions
βββ tile_types.py # Tile definitions
βββ equipment_types.py # Equipment slot enum
βββ equippable.py # Equippable item logic
βββ exceptions.py # Custom exceptions
βββ message_log.py # Message logging system
βββ render_functions.py # Rendering helpers
βββ render_order.py # Rendering order enum
βββ utils.py # Utility functions
β
βββ components/
β βββ ai.py # Enemy AI
β βββ equipment.py # Equipment management
β βββ fighter.py # HP / attack / defense
β βββ inventory.py # Player inventory
β βββ level.py # XP and leveling system
β βββ consumable.py # Usable items
β βββ base_components.py
οΏ½ββ base_components.py
>
t;
Press Shift + . to acess the stairs.