package simulator

import (
	"log/slog"

	"github.com/costap/quarkshologridledger/tongo-core/internal/domain/entity"
)

// Simulator resolves combat ticks between factions.
type Simulator struct {
	typeAdvantage TypeAdvantageMatrix
	logger        *slog.Logger
}

// New creates a new Simulator instance.
func New(logger *slog.Logger) *Simulator {
	return &Simulator{
		typeAdvantage: NewTypeAdvantageMatrix(),
		logger:        logger,
	}
}

// ResolveTick processes one combat tick for a match.
func (s *Simulator) ResolveTick(match *entity.Match) entity.TickResult {
	s.logger.Debug("Simulating combat tick for match", "id", match.ID)
	return entity.TickResult{}
}
