3a9af3f54d
- Split active strategies, reusable engine code, core classes, and legacy snakes. - Replace implicit snake imports with explicit module registrations. - Extract Prism duel, spatial, and survival behavior into focused mixins. - Improve duel scoring with food races, pressure, caches, and depth metrics. - Add deterministic arena scenarios and paired seeded engine tournaments. - Expand benchmark telemetry and bump Prism to version 1.3.0. - Update documentation and tests for the new package layout and tooling.
19 lines
590 B
Python
19 lines
590 B
Python
"""Reusable high-performance board and search engines for competitive snakes."""
|
|
|
|
from snakes.engine.bitboard import BitBoard
|
|
from snakes.engine.duel import BitboardDuelMixin
|
|
from snakes.engine.duel_search import BitboardDuelSearch, DuelState
|
|
from snakes.engine.spatial import BitboardSpatialMixin
|
|
from snakes.engine.survival import BitboardSurvivalMixin
|
|
from snakes.engine.survival_search import CompactSurvivalSearch
|
|
|
|
__all__ = (
|
|
"BitBoard",
|
|
"BitboardDuelMixin",
|
|
"BitboardDuelSearch",
|
|
"BitboardSpatialMixin",
|
|
"BitboardSurvivalMixin",
|
|
"CompactSurvivalSearch",
|
|
"DuelState",
|
|
)
|