func InitEngines(config Config) (*uci.Engine, *uci.Engine, *uci.Engine) {
	cfgWhite, cfgBlack, cfgHint := ImportEngines(config.UCIWhite, config.UCIBlack, config.UCIHint, config.UCIEngines)
	var engWhite, engBlack, engHint *uci.Engine

	engWhite, err := uci.New(cfgWhite.Path)
	if err != nil {
		panic(err)
	}
	cfgEngines(engWhite, cfgWhite)

	engBlack, err = uci.New(cfgBlack.Path)
	if err != nil {
		panic(err)
	}
	cfgEngines(engBlack, cfgBlack)

	engHint, err = uci.New(cfgHint.Path)
	if err != nil {
		panic(err)
	}
	cfgEngines(engHint, cfgHint)

	return engWhite, engBlack, engHint
}
// InitEngines configures UCI engines if the config dictates that
// they are required. The white and black engines are returned
// respectively
InitEngines configures UCI engines if the config dictates that
they are required. The white and black engines are returned
respectively
// InitEngines configures UCI engines if the config dictates that // they are required . The white and black engines are returned // respectively
func InitEngines(config Config) (*uci.Engine, *uci.Engine, *uci.Engine) {
	cfgWhite, cfgBlack, cfgHint := ImportEngines(config.UCIWhite, config.UCIBlack, config.UCIHint, config.UCIEngines)
	var engWhite, engBlack, engHint *uci.Engine
	engWhite, err := uci.New(cfgWhite.Path)
	if err != nil {
		panic(err)
	}
	cfgEngines(engWhite, cfgWhite)
	engBlack, err = uci.New(cfgBlack.Path)
	if err != nil {
		panic(err)
	}
	cfgEngines(engBlack, cfgBlack)
	engHint, err = uci.New(cfgHint.Path)
	if err != nil {
		panic(err)
	}
	cfgEngines(engHint, cfgHint)
	return engWhite, engBlack, engHint
}
func InitEngines ( config Config ) ( * uci . Engine , * uci . Engine , * uci . Engine ) { cfgWhite , cfgBlack , cfgHint := ImportEngines ( config . UCIWhite , config . UCIBlack , config . UCIHint , config . UCIEngines ) var engWhite , engBlack , engHint * uci . Engine engWhite , err := uci . New ( cfgWhite . Path ) if err != nil { panic ( err ) } cfgEngines ( engWhite , cfgWhite ) engBlack , err = uci . New ( cfgBlack . Path ) if err != nil { panic ( err ) } cfgEngines ( engBlack , cfgBlack ) engHint , err = uci . New ( cfgHint . Path ) if err != nil { panic ( err ) } cfgEngines ( engHint , cfgHint ) return engWhite , engBlack , engHint }
InitEngines configures UCI engines if the config dictates that
they are required.
InitEngines configures UCI engines if the config dictates that they are required .