Get the shortest path between two metro stations!
Complete list of supported stations here
You can add Kamui
to your discord server using this link
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)
# 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!