https://github.com/zedeus/dashleaguematchups
Randomized anti-rematch matchup generator for Dash League
https://github.com/zedeus/dashleaguematchups
Last synced: 10 months ago
JSON representation
Randomized anti-rematch matchup generator for Dash League
- Host: GitHub
- URL: https://github.com/zedeus/dashleaguematchups
- Owner: zedeus
- Created: 2021-08-17T08:24:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-06T19:26:27.000Z (about 4 years ago)
- Last Synced: 2025-03-26T08:47:39.336Z (about 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dash League Matchup Generator
This project provides a way to generate randomized matchups for Dash League,
while reducing the amount of rematches as much as possible. It's done through
bruteforce since it's a hard problem to solve, probably NP complete weighted
bucket sort or some stuff like that. Each tier gets randomized matchups with a
max amount of rematches for 5000 rounds, with the allowed rematch number
increasing if no valid matchups were found in those 5000 rounds.
The output is a prettified list, and a raw json dump of the tier matchups.
To run it you need node.js and the axios package.
```bash
npm i axios
node matchupsGenerator.js
```