mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-03-14 05:06:55 +01:00
13 lines
311 B
Python
13 lines
311 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class GameStrategy(ABC):
|
|
@abstractmethod
|
|
def execute_turn(self, hand: list, battlefield: list) -> dict: ...
|
|
|
|
@abstractmethod
|
|
def get_strategy_name(self) -> str: ...
|
|
|
|
@abstractmethod
|
|
def prioritize_targets(self, available_targets: list) -> list: ...
|