trying to create an app which help to optimize the teamwork challenges in league of legends by finding compositions that contain the most challenges.
still wip, you can pr if you want.
- allow to remove champions (right click), idea from BlackDizzle
- multi-language, adapt the code for this
- (bugfix) show points for harmony and globetrotter
- responsiveness for mobile
- update table sorting and add visual clue of the current sort
- create a batch file for windows install
- User eXperience (help needed)
- show challenges for each champions when
hoveringselecting them (act like you added them) - have a multisearch feature like op.gg
- collect the data
- parse the data
- create a basic ui
- add functions to intersect the sets
- update the ui according to the challenge selections
- copy the selected champion into the clipboard
- update the ui according to the champion selections
- add a page to good composition found for each challenges that require 5 specifics champions
- add a filter for specifics champions in optimized compositions
- show challenges for each champions when selecting them
- find a way to implement Variety's Overrated
- fetch from Riot API current challenges
- in the compositions, update the filter to only show available champs
- search for champions when typing letters
- add tooltips for the challenges, idea from PureImplosion on Reddit
- filter out champions in compositions, idea from DOOGLAK on Reddit
- recompute the optimized composition for "Variety's Overrated", idea from Konstamonsta on Reddit
- replace the space in the name of the compositions by underscores or dashes
- use cdragon icon for the challenge
- add a Q&A
- add summoners icon and challenge progression when searching for summoner
- block api route when too many request from same client (look into the flask_limiter package)
- custom compositions (algo that find good comps depending on the masteries)
- use role identifications for ordering the champions in the optimized compositions
- move the "how to use" on the corresponding pages (modal dialog)
- add more filters for optimized compositions (for champions role for example) -> became the stupidity level metric
- select the 'correct' server by default depending on the ip address
you need python 3
make install
the makefile will download the current compositions.json
which can be obtained by running compositions.ipynb
with jupyter.
create config.json
from config_sample.json
and fill it in.
keys:
- app_secret_key :
python -c "import secrets; print(secrets.token_hex(24))"
- riot_api_key : mandatory, for the League profiles inspections, https://developer.riotgames.com/
- ipinfo_token : not mandatory, to select the default server, https://ipinfo.io/
- discord_bot_token : not mandatory, for the discord communities, https://discord.com/developers/applications
i'll try to make the riot api key not mandatory...
python app.py
people who directly helped the project (more than feedbacks):
- thanks to @celiendonze and @Etiouse for helping me populate the initial
challenges.json
- thanks to @Pomarine for reviewing and correcting the
challenges.json
file - thanks to @Naralas for fixing paths in
brute_force_compositions.ipynb
- thanks to @DarkIntaqt for fixing a few typos and adding better meta tags
- thanks to @DarkIntaqt for adding the share composition feature
people who gave feedback that were implemented/bug fixed:
- u/PureImplosion
- u/DOOGLAK
- u/Konstamonsta
- Scraf#2052
- Amy#5664
- NotDay#2927
- (NA) Carbunkle#0740
- DarkIntaqt#2858