AI használat annotálása

This commit is contained in:
markojozsef
2026-10-07 12:01:27 +02:00
parent b30a7c291b
commit 4de57827b0
3 changed files with 20 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ def anim_default(action, text, timer, dt):
return False
# !!! CHATGPT !!!
def move_attack(user, target):
return Action("Attack", user, target, Damage(user.attack, 0, 0, 0), StatusChange(0, 0, 0), anim_default)
@@ -79,6 +80,8 @@ def enemy_turn_test(e,ep, ap,d):
print(f" ({e.name} chooses {act} -> {target.name})")
return builder(e, target)
# !!! CHATGPT VÉGE !!!
battles = [
{ "enemies": [
Combatant("Six-Seven kid", 120, 30, 80, 20, 0, 50, False, False),

View File

@@ -8,6 +8,7 @@ import text
SCREEN_WIDTH = 256
SCREEN_HEIGHT = 224
# !!! CHATGPT !!!
class Game(arcade.Window):
def __init__(self):
super().__init__(