diff --git a/AI.py b/AI.py index 1dd840e..1b80206 100644 --- a/AI.py +++ b/AI.py @@ -2,14 +2,7 @@ class AI: def pick(self, world): #self.path_to_friend_check(world) - for path in world.map.paths: - print(path) - print("----------") - - print("====================") - for path in world.get_me().paths_from_player: - print(path) - print("***") + world.choose_deck([1, 2, 3, 4]) def path_to_friend_check(self, world): # path check: @@ -29,3 +22,5 @@ def path_to_friend_check(self, world): def turn(self, world): print("turn") + for item in world.get_me().hand: + print(item) diff --git a/model.py b/model.py index 16c8fb7..8f47b9e 100644 --- a/model.py +++ b/model.py @@ -208,6 +208,10 @@ def __init__(self, type_id, max_hp, base_attack, base_range, target_type, is_fly self.is_multiple = is_multiple self.ap = ap + def __str__(self): + return "