# src/game/training_controller.gd
class_name TrainingController
extends GameController

var _current_hint: HandEvaluator.EvaluatedPlay = null

func get_hint() -> HandEvaluator.EvaluatedPlay:
    var hand := game_state.get_hand(game_state.round.active_player_idx)
    if hand.is_empty():
        return null
    var ai := L2RuleAI.new()
    return ai.decide(hand, game_state.round.table, game_state.current_rank, game_state.rule_config)

func get_all_legal_moves() -> Array:
    var hand := game_state.get_hand(game_state.round.active_player_idx)
    return MoveGenerator.generate(hand, game_state.current_rank, game_state.rule_config)
