From 81f997e2768b7be4f2414b7b4e7261011ee460ca Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 25 Mar 2024 18:36:58 +0000 Subject: [PATCH] Add Archetype class --- pauper_metagame_analysis/mtggoldfish.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pauper_metagame_analysis/mtggoldfish.py b/pauper_metagame_analysis/mtggoldfish.py index b596835..47ae819 100755 --- a/pauper_metagame_analysis/mtggoldfish.py +++ b/pauper_metagame_analysis/mtggoldfish.py @@ -1,6 +1,7 @@ #!/usr/bin/python3 from enum import Enum +from dataclasses import dataclass class Format(Enum): STANDARD = "standard" @@ -23,3 +24,12 @@ class Color(Enum): 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