Adding manual test file for reference
This commit is contained in:
parent
8668a0d824
commit
c3ab03c691
@ -39,49 +39,28 @@ if str(backend_dir) not in sys.path:
|
|||||||
# IMPORTS
|
# IMPORTS
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
|
# Register all built-in effect handlers
|
||||||
|
import app.core.effects.handlers # noqa: F401
|
||||||
|
from app.core.config import (
|
||||||
|
RulesConfig,
|
||||||
|
)
|
||||||
|
from app.core.effects.base import EffectContext
|
||||||
|
from app.core.effects.registry import list_effects
|
||||||
|
from app.core.models.card import (
|
||||||
|
Attack,
|
||||||
|
CardDefinition,
|
||||||
|
CardInstance,
|
||||||
|
WeaknessResistance,
|
||||||
|
)
|
||||||
from app.core.models.enums import (
|
from app.core.models.enums import (
|
||||||
CardType,
|
CardType,
|
||||||
EnergyType,
|
EnergyType,
|
||||||
ModifierMode,
|
|
||||||
PokemonStage,
|
PokemonStage,
|
||||||
PokemonVariant,
|
|
||||||
StatusCondition,
|
|
||||||
TrainerType,
|
TrainerType,
|
||||||
TurnPhase,
|
TurnPhase,
|
||||||
)
|
)
|
||||||
from app.core.config import (
|
from app.core.models.game_state import GameState, PlayerState
|
||||||
RulesConfig,
|
from app.core.rng import SeededRandom
|
||||||
CombatConfig,
|
|
||||||
DeckConfig,
|
|
||||||
BenchConfig,
|
|
||||||
EnergyConfig,
|
|
||||||
PrizeConfig,
|
|
||||||
StatusConfig,
|
|
||||||
TrainerConfig,
|
|
||||||
)
|
|
||||||
from app.core.models.card import (
|
|
||||||
CardDefinition,
|
|
||||||
CardInstance,
|
|
||||||
Attack,
|
|
||||||
Ability,
|
|
||||||
WeaknessResistance,
|
|
||||||
)
|
|
||||||
from app.core.models.game_state import GameState, PlayerState, Zone
|
|
||||||
from app.core.models.actions import (
|
|
||||||
PlayPokemonAction,
|
|
||||||
EvolvePokemonAction,
|
|
||||||
AttachEnergyAction,
|
|
||||||
AttackAction,
|
|
||||||
RetreatAction,
|
|
||||||
PassAction,
|
|
||||||
parse_action,
|
|
||||||
)
|
|
||||||
from app.core.rng import SeededRandom, SecureRandom, create_rng
|
|
||||||
from app.core.effects.base import EffectContext, EffectResult, EffectType
|
|
||||||
from app.core.effects.registry import resolve_effect, list_effects
|
|
||||||
|
|
||||||
# Register all built-in effect handlers
|
|
||||||
import app.core.effects.handlers # noqa: F401
|
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# SAMPLE CARD DEFINITIONS
|
# SAMPLE CARD DEFINITIONS
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user