mtg/main.py

18 lines
398 B
Python
Raw Permalink Normal View History

import logging
from mtg import *
import cards
logging.basicConfig(level=logging.DEBUG)
game = Game()
test_deck = Deck()
test_deck.extend(cards.Forest() * 20)
test_deck.extend(cards.Elvish_Archdruid() * 40)
opponent = Player('Opponent', game, test_deck)
you = Player('You', game, test_deck)
you.draw(7)
# Place a land
you.cast(you.hand[0])
#Tap the land
you.battlefield[0].abilities[0].activate()