diff --git a/src/ai/__init__.py b/src/ai/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/ai/heuristics/__init__.py b/src/ai/heuristics/__init__.py new file mode 100644 index 0000000..31cbfc3 --- /dev/null +++ b/src/ai/heuristics/__init__.py @@ -0,0 +1,6 @@ +from .bumpiness import bumpiness +from .height import aggregate_height +from .holes import holes +from .lines import complete_lines + +__all__ = ["aggregate_height", "bumpiness", "complete_lines", "holes"] diff --git a/src/ai/heuristics/bumpiness.py b/src/ai/heuristics/bumpiness.py new file mode 100644 index 0000000..03b4828 --- /dev/null +++ b/src/ai/heuristics/bumpiness.py @@ -0,0 +1,7 @@ +import numpy as np + + +def bumpiness( + field: np.ndarray[int, np.dtype[np.uint8]], +) -> int: + pass diff --git a/src/ai/heuristics/height.py b/src/ai/heuristics/height.py new file mode 100644 index 0000000..9ee8550 --- /dev/null +++ b/src/ai/heuristics/height.py @@ -0,0 +1,5 @@ +import numpy as np + + +def aggregate_height(field: np.ndarray[int, np.dtype[np.uint8]]) -> int: + return 0 diff --git a/src/ai/heuristics/holes.py b/src/ai/heuristics/holes.py new file mode 100644 index 0000000..0aa01b3 --- /dev/null +++ b/src/ai/heuristics/holes.py @@ -0,0 +1,7 @@ +import numpy as np + + +def holes( + field: np.ndarray[int, np.dtype[np.uint8]], +) -> int: + return 0 diff --git a/src/ai/heuristics/lines.py b/src/ai/heuristics/lines.py new file mode 100644 index 0000000..d1285e7 --- /dev/null +++ b/src/ai/heuristics/lines.py @@ -0,0 +1,5 @@ +import numpy as np + + +def complete_lines(field: np.ndarray[int, np.dtype[np.uint8]]) -> int: + return 0