An interactive role-playing game for Discord where players can battle enemies ⚔️, trade resources 💰, upgrade equipment 🛠️, and much more. Experience a turn-based, single-player or cooperative adventure through interactive commands. This bot was developed as the final project for Harvard's CS50 Python course. 🎓
- Three Unique Classes: 🛡️⚔️ Each class comes with special attacks and stats, allowing for diverse combat strategies.
- Over 20 Unique Enemies: 👹🐉 Face a wide variety of enemies, each with their own abilities, styles and challenges.
- Cooperative Battle System: 🤜🤛 Team up with friends to take down enemies together.
- PvP Support: 🗡️🔥 Challenge other players in player-versus-player combat.
- Raid Battles: ⚡🐲 Participate in epic raids against powerful enemies.
- Customizable Builds: 🛠️⚙️ Equip your heroes with different gear to tailor their abilities and strengths.
- Multi-Hero System: 🦸♂️🦸♀️ Control multiple heroes, each with their own unique skills and equipment.
- Advancement System: 📈🌟 Progress through the game with a comprehensive advancement system.
- Dex Tracker: 📖 Track your progress and the enemies you’ve encountered with the Dex tracker.
- Five Unique Zones: 🌍🌌 Explore five different zones, each with distinct enemies and loot.
-
Clone the repository:
git clone https://github.com/JuanNovas/Final-project.git
-
Navigate to the project directory:
cd Final-project
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Create a Discord bot and get the token:
- Go to the Discord Developer Portal.
- Click on "New Application" and give it a name.
- Under the "Bot" tab, click "Add Bot" and confirm.
- Copy the bot token from the "TOKEN" section and save it for later.
-
Invite the bot to your server:
- Go to the "OAuth2" tab in the Discord Developer Portal.
- Under "OAuth2 URL Generator," select "bot" in the scopes section.
- Under "Bot Permissions," select the permissions your bot needs (e.g., "Administrator").
- Copy the generated URL and open it in your browser to invite the bot to your server.
-
Configure the
.env
file with the necessary variables:Create a
.env
file in the root directory of the project with the following content:DISCORD_TOKEN=your_discord_bot_token
Replace
your_discord_bot_token
with your actual Token. -
Run the bot:
python bot.py