Spaces:
Sleeping
Sleeping
File size: 461 Bytes
2113a6a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import json
def search_cards():
cards_path = "engine/data/cards.json"
with open(cards_path, "r", encoding="utf-8") as f:
cards = json.load(f)
print("Searching for Life Lead patterns...")
for cid, card in cards.items():
text = card.get("ability", "")
if "ライフ" in text or "Life" in text:
print(f"[{card.get('card_no')}] {text[:50]}...")
if __name__ == "__main__":
search_cards()
|