module 7 ex 0 to 2

This commit is contained in:
2026-03-02 15:49:13 +01:00
parent 2cb7f24a8e
commit 164445bb42
12 changed files with 189 additions and 10 deletions

View File

@@ -21,10 +21,12 @@ class Deck:
shuffle(self.cards)
def draw_card(self) -> Card:
pass
self.shuffle()
return self.cards.pop()
def get_deck_stats(self) -> dict:
from . import ArtifactCard, SpellCard
from .ArtifactCard import ArtifactCard
from .SpellCard import SpellCard
creatures = 0
spells = 0