Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequestedTooManyBots = errors.New("requested too many bots")
Functions ¶
This section is empty.
Types ¶
type BotOperator ¶
func NewBotOperator ¶
func NewBotOperator(params *BotOperatorParams) BotOperator
type BotOperatorFactory ¶ added in v1.0.0
type BotOperatorFactory interface {
New(gameId int) BotOperator
}
type BotOperatorParams ¶ added in v1.0.0
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func NewCore ¶
func NewCore(params *CoreParams) *Core
type CoreParams ¶
type CoreParams struct { BotsLimit int BotOperatorFactory utils.Clock Storage }
type DijkstrasBotOperatorFactory ¶ added in v1.0.0
type DijkstrasBotOperatorFactory struct { Logger *logrus.Entry Rand Rand Connector Connector Clock utils.Clock }
func (*DijkstrasBotOperatorFactory) New ¶ added in v1.0.0
func (f *DijkstrasBotOperatorFactory) New(gameId int) BotOperator
Click to show internal directories.
Click to hide internal directories.