Created
December 9, 2019 11:46
-
-
Save andersx/ebeed6fa1be5ac91054fd626da12e5f4 to your computer and use it in GitHub Desktop.
Determine matchups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
RACES = ["T", "Z", "P"] | |
MAPS = ["Ephemeron LE", | |
"Eternal Empire LE", | |
"Nightshade LE", | |
"Simulacrum LE", | |
"Triton LE", | |
"World of Sleepers LE", | |
"Zen LE",] | |
if __name__ == "__main__": | |
matchups = [] | |
for casper in RACES: | |
for anders in RACES: | |
for mmap in MAPS: | |
match = "%sv%s %s" % (casper, anders, mmap) | |
matchups.append(match) | |
np.random.shuffle(matchups) | |
for i, matchup in enumerate(matchups): | |
print(i+1, matchup) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment