From 3c7b1ba3a1292084a92d709014b371019f58f003 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Sun, 22 Mar 2026 23:57:22 +0100 Subject: [PATCH] :goat: --- backend/ai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/ai.py b/backend/ai.py index 9931964..ef5c03f 100644 --- a/backend/ai.py +++ b/backend/ai.py @@ -4,7 +4,7 @@ import logging from dataclasses import dataclass from enum import Enum from itertools import combinations, permutations -import numpy as np, permutations +import numpy as np from card import Card from game import action_play_card, action_sacrifice, action_end_turn, BOARD_SIZE, STARTING_LIFE, PlayerState @@ -391,7 +391,7 @@ async def run_ai_turn(game_id: str): best_plan = await choose_plan(player, opponent, personality, difficulty) logger.info( - f"AI turn: d={difficulty} p={personality.value} plan={best_plan.label} plans={len(plans)} " + + f"AI turn: d={difficulty} p={personality.value} plan={best_plan.label} " + f"sac={best_plan.sacrifice_slots} plays={[c.name for c, _ in best_plan.plays]}" )