This file documents the development of a command-line RPG created with the help of a large language model. It tracks the game's evolution through different versions, detailing the features added at each stage and the prompts used to generate them.
- Run the game: Open a terminal or command prompt and run the script using
python rpg.py
. - Create your party: Choose the number of heroes you want to control (1-3) and select a class for each one (e.g., Warrior 🤺, Mage 🧙, Archer 🏹).
- Explore the dungeon: Use the
w
,a
,s
, andd
keys to move your party through the procedurally generated dungeons. - Combat: When you encounter an enemy (e.g., Goblin 👺, Orc 👹), you'll enter turn-based combat. On each hero's turn, you can:
- (1) Attack 💥: Perform a basic attack on a random enemy.
- (2) Skill ✨: Use your class's unique skill (e.g., Power Strike, Fireball, Double Shot).
- (3) Inventory 🎒: Open your inventory to use a potion 🧪 or equip a different weapon ⚔️ or armor 🛡️.
- Descend: Find the stairs (🔽) to descend to the next dungeon level.
- Win: Defeat the final boss (🐉) on the last level to win the game.
- Prompt: "give me python code to replace the rpg game which adds the features enemy icons, room generation, loot and potions, multiple player or character at once (control multiple hero's and have a turn system for fights), having multiple enemies able to be in an encounter, Leaderboard/highscore for the longest run or the best loot or a specific thing to be ranked on, have characyer classes which have different stats and weapons and movement buffs or debuffs"
- Changes:
- Replaced the original
rpg.py
with a more advanced version. - Added core features like character classes, procedural dungeon generation, and a highscore system.
- Replaced the original
- Prompt: "there was the error on line 370, 237 and 71"
- Changes:
- Fixed several bugs that were causing the game to crash.
- Added input validation and error handling to improve stability.
- Prompt: "it runs great could you add armour pieces and different weapons that the player can find in the dungeon and add the mechanics for those"
- Changes:
- Introduced equippable armor and a wider variety of weapons.
- Updated the player and combat systems to handle the new items.
- Prompt: "could you make it so there are different levels of the dungeons and at the last level there is a boss and also can you have a better item chooser so that the armour and weapons are seperate and you can kinda do an equip type feature"
- Changes:
- Added multiple dungeon floors with a final boss on the last level.
- Created a dedicated inventory screen for easier item management.
- Prompt: "could you make the ui of the game look a bit better using emojis or could i possibly use gui"
- Changes:
- Replaced all text-based icons with emojis for a more visual experience.
- Updated the map and status display to use the new emoji set.
- Prompt: "Please continue."
- Changes:
- Added unique skills for each character class (Power Strike, Fireball, Double Shot).
- Introduced mana and cooldown systems to make combat more strategic.
- Character Classes: Choose from three distinct classes: Warrior 🤺, Mage 🧙, and Archer 🏹.
- Procedural Dungeons: Explore randomly generated dungeons with unique layouts every time.
- Loot and Equipment: Find and equip a variety of weapons ⚔️ and armor 🛡️.
- Turn-Based Combat: Engage in strategic turn-based combat with multiple enemies.
- Party System: Control a party of up to three heroes.
- Highscore Leaderboard: Compete for the highest score.
- Dungeon Levels: Descend through multiple dungeon floors, with a final boss 🐉 at the end.
- Emoji UI: A vibrant and visually appealing emoji-based user interface.
- Class-Specific Skills: Unleash powerful, unique abilities for each character class. could you make a new file