Yes, it's a pun :D the jungle camp "Blue Buff" and Team Liquid's "Blue" getting Buff(ed)!

Creators

Kevin Sophomore @ Purdue University majoring in Data Science and Statistics

James Sophomore @ Columbia University majoring in Computer/Electrical Engineering

Joseph Sophomore @ Purdue University majoring in Computer Science

Ahmed Sophomore @ Purdue University majoring in Computer Engineering

What it does

This bot will create a personalized workout routine based on your previous game performance in League of Legends. If you perform well in your game, the bot will give you a easier workout. If you don't, well then....you might think twice about feeding your laner next time!

You can create your workout with:

 !bbcreate <region> <summoner name>

*Try it out here: Click Me *

How we built it

We created this bot in Python, and it utilized the discord, pandas, and riotwatcher libraries for data retrieval and data representation. We used the Riot API to pull match statistics from the user's account, and built our weights for exercise intensity off of that.

Calculations

Number of times to do the workout (n) was calculated by random assignment of these formulas:

n = enemy team kills

n = userDeaths*(1.5) - userKills*(0.2) - userAssists*(0.1)

n = 10 - userCSperMin 

n = 0 if userWon == True, n = 10 otherwise

n = 0 if userGotFirstBaron == True, n = 15 otherwise

n = 0 if userGotFirstDragon == True, n = 5 otherwise

n = 11 - numUserDestroyedTurrets

Accomplishments that we're proud of

We are proud that we were able to create a product in this short time with our busy schedules and with tools that we're not familiar with.

What we learned

We learned about data retrieval from API's, programming in python, and how to create a Discord bot.

What's next for Blue Buff League Workout

We intend on adding additional features in the future, like a website portal to track workout history or the ability for users to specify what stats to keep track of.

Built With

+ 5 more
Share this project:

Updates