Example #1
0
graveyardPos = Point(871,265)
deckPos = Point(871,419)
displayCardPos = Point(7,13)

playerDeck=[]
compDeck=[]
trashCards = []
counter = Counter()
playerHand = []
compHand = []
playerCard=""
compCard=""
goNextRound = True
onlyCoreCards = False
enlargedCard = Card("Attack(Core)", True, "Deal 1 basic attack damage.", 1, 0, 0, 0)
enlargedCard.showCardBack()
enlargedCardPos=Point(11,18)


pygame.init()
screen = pygame.display.set_mode((1024,576))

main_clock = pygame.time.Clock()

font = pygame.font.SysFont(None, 36)
background_image = pygame.image.load(r"images\field2.png")
pygame.display.set_caption("RoboTech")


draw_group = pygame.sprite.LayeredUpdates()
player_group = pygame.sprite.LayeredUpdates()