下面是这场战斗的代码: from project.player.player import Player
def fight(attacker: Player, enemy: Player): if x.is_dead:card.health_points for card in x.card_repository.cards)
x.health +=
#this is how many resources the attacker can get, def's resources#this is howdefender hasdefender.iron = 25defender.gold = 50000attacker.wood += 75
<em