Skip to content

DuoAlly/LoL-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DuoAlly AI LoL Chatbot

Overview

The DuoAlly AI Chatbot is an interactive rule-based chatbot assistant designed to help players in league of legends improve their gameplay by providing detailed information about champions, including:

  • Abilities and combos
  • Recommended item builds
  • Rune setups
  • Matchups and counters
  • Role-specific tips

With fuzzy matching for champion names and a contextual response system, this chatbot ensures a smooth user experience.


Features

  • Contextual Understanding: Remembers the last mentioned champion for fluid conversations.
  • Detailed Champion Insights: Provides specific advice for items, runes, abilities, and more.
  • Interactive User Experience: Simulates a "typing effect" for responses, making it feel more engaging.
  • Fuzzy Name Matching: Recognizes champion names even with slight typos.

Installation

  1. Clone the repository:

    git clone https://github.com/DuoAlly/LoL-Chatbot.git
    cd LoL-Chatbot
  2. Install dependencies (if required):

    pip install -r requirements.txt

    (No additional dependencies needed for the base code as it uses Python's standard library.)

  3. Run the chatbot:

    python chatbot.py

Usage

  1. Start the chatbot:

    python chatbot.py
  2. Use these commands for specific information:

    • Abilities: What are Ahri's abilities?
    • Items: Recommended items for Ahri
    • Runes: What runes should I take on Ahri?
    • Matchups: Who is Ahri strong against?
    • Tips: Tips for Ahri
  3. Exit the chatbot anytime by typing:

    exit
    

Example Interaction

╔══════════════════════════════════════════════╗
║       Enhanced LoL Expert Bot v2.0           ║
╚══════════════════════════════════════════════╝

Ask me about any champion's:
• Abilities and combos
• Item builds
• Rune setups
• Matchups and counters
• Role-specific tips

Type 'help' for commands or 'exit' to quit.

[12:30:45] You: Tell me about Ahri
[12:30:45] Bot: 
Champion Overview - Ahri:
Role: Mid-lane Mage/Assassin
Tips: Ahri excels at poking and kiting. Use your Orb of Deception to poke, and Charm to catch enemies off-guard.

You can ask about Ahri's abilities, items, runes, or matchups!

[12:31:15] You: What are her abilities?
[12:31:15] Bot: 
Abilities for Ahri:
Passive: Essence Theft - Gains stacks of Essence Theft when hitting enemy champions with abilities
Q: Orb of Deception - Sends out and pulls back an orb, dealing magic damage
W: Fox-Fire - Releases fox-fires that target nearby enemies
E: Charm - Blows a kiss that damages and charms an enemy
R: Spirit Rush - Dashes and fires essence bolts at nearby enemies

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -m "Add feature"
  4. Push to the branch: git push origin feature-name
  5. Open a Pull Request

License

This project is licensed under the MIT License.


Acknowledgments

  • Riot Games for creating League of Legends

About

An LoL Chatbot demo for DuoAlly AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages