From 687b21afbe6bcbe8bf3091981ea9fc05ccae067a Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 1 Apr 2024 20:18:15 +0100 Subject: [PATCH] Remove MTGGoldfish file --- pauper_metagame_analysis/mtggoldfish.py | 46 ------------------------- 1 file changed, 46 deletions(-) delete mode 100755 pauper_metagame_analysis/mtggoldfish.py diff --git a/pauper_metagame_analysis/mtggoldfish.py b/pauper_metagame_analysis/mtggoldfish.py deleted file mode 100755 index 49cdd6f..0000000 --- a/pauper_metagame_analysis/mtggoldfish.py +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/python3 - -from enum import Enum, StrEnum -from dataclasses import dataclass - -class Format(StrEnum): - STANDARD = "standard" - MODERN = "modern" - PIONEER = "pioneer" - HISTORIC = "historic" - EXPLORER = "explorer" - TIMELESS = "timeless" - ALCHEMY = "alchemy" - PAUPER = "pauper" - LEGACY = "legacy" - VINTAGE = "vintage" - PENNY_DREADFUL = "penny_dreadful" - COMMANDER_1V1 = "commander_1v1" - COMMANDER = "commander" - -class Color(Enum): - WHITE = 0 - BLUE = 1 - BLACK = 2 - RED = 3 - GREEN = 4 - -@dataclass(frozen=True) -class Archetype(): - name: str - colors: list[Color] - featuredCardNames: list[str] - metagamePercentage: int - numberOfDecks: int - tabletopCost: int - -def get_archetypes_for_format(mformat: Format) -> list[Archetype]: - url = "https://www.mtggoldfish.com/metagame/" + mformat + "/full#paper" - print(url) - -def main(): - archetypes = get_archetypes_for_format(Format.PAUPER) - print(archetypes) - -if __name__ == "__main__": - main()