module 7 ex1 + 0

This commit is contained in:
2026-02-17 15:27:05 +01:00
parent 222b212162
commit ddb56264ae
9 changed files with 117 additions and 0 deletions

16
07/ex1/ArtifactCard.py Normal file
View File

@@ -0,0 +1,16 @@
from ex0.Card import Card
class ArtifactCard(Card):
def __init__(
self, name: str, cost: int, rarity: str, durability: int, effect: str
) -> None:
super().__init__(name, cost, rarity)
self.durability = durability
self.effect = effect
def play(self, game_state: dict) -> dict:
return super().play(game_state)
def activate_ability(self) -> dict:
pass