Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chhopsky/foldysheet
an outcome calculator for professional league of legends. probably works for any round robin based esport league.
https://github.com/chhopsky/foldysheet
esports league-of-legends
Last synced: 27 days ago
JSON representation
an outcome calculator for professional league of legends. probably works for any round robin based esport league.
- Host: GitHub
- URL: https://github.com/chhopsky/foldysheet
- Owner: chhopsky
- Created: 2021-03-10T03:28:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T17:29:49.000Z (over 1 year ago)
- Last Synced: 2024-08-03T03:04:22.639Z (4 months ago)
- Topics: esports, league-of-legends
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-esports - Foldy Sheet - A Python script to determine whether teams can make playoffs or not. (Applications & Tools / Tournaments management)
README
### THE FOLDY SHEET
The foldy sheet is a physical implementation of a binary tree representing the full set of every possibility of the outcome of a regular LCS season, and is used to determine who's made playoffs, who hasn't, and how many scenarios in which team X makes it.
This program works for all riot leagues supported by Panda, which is most of them.
Requirements: Python 3.8, pipenv
HOW TO USE:
1. You'll need to get a key from PandaScore so you can get the league data: https://app.pandascore.co/signup
2. Put it in config.py, and set the slug for the league you want to evaluate.
3. pipenv shell
4. Run python foldysheet.py to generate every possible result.
5. Run can_they_make_it.py, then either 'locked', 'eliminated', or 'maybe'.Locked and eliminated are self explanatory. Maybe will tell you the number of scenarios in which a team *can* make it. Since every region has its own tiebreaker rules, this does *not* tell you how ties are solved. A scenario in which a team is tied will count both as a possibility and tell you who's tied. You can then apply your region's head to head rules to fix it.
NA tiebreaker rules are included - comment out the lines that call `tiebreaker(possibility)` to not apply them.
Configure the playoff lock position in `config.py`, by default it is set to 6th place, because I wrote this primarily for LCS. Technically it can work on any esport that deals with BO1s and is on pandascore, it also works for BO3s, but playoff elimination rules may be different based on win-scores (2-0 vs 2-1) so YMMV.
Any questions, hit me up @chhopsky on twitter.
### LICENSING INFORMATION
This program comes with absolutely no warranties or guarantees of any kind. It is for personal, non-commercial use only. If you use this program for commercial purposes, including but not limited to broadcast, written articles, social media, or videos, you require a license. Unlicensed commercial use will result in legal remedies being aggressively pursued.
Pricing varies depending on company and use. Contact me on twitter or via email to obtain a commercial license.