Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.11 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.11 KB

Kamui

Get the shortest path between two metro stations!

Complete list of supported stations here

🤔 How It Works?

You can add Kamui to your discord server using this link

kamui

Kamui is based on Dijkstra's algorithm.

The logic for this is in MetroGraph class inside models.py. The time between stations is used as the weight as between nodes(stations)

💻 Installing Locally

# Clone this repository.
git clone https://github.com/parzuko/kamui.git
cd kamui

# Setup Your Personal Tokens
echo >> "BOT_TOKEN=<YOUR_TOKEN>" >> .env

# Install pipenv
pip install pipenv

# Install dependencies
pipenv install pipfile

# Run it locally
pipenv shell
python3 main.py

Made for Intro to Computer Programming Spring 2022 (And For Fun!) ✌️ Say Hi!