// NewSide ...
//
// It detects an initial side by a human color.
NewSide

It detects an initial side by a human color.
// NewSide ... // // It detects an initial side by a human color .
func NewSide(color models.Color) Side {
	var side Side
	switch color {
	case models.Black:
		side = Searcher
	case models.White:
		side = Human
	}
	return side
}
func NewSide ( color models . Color ) Side { var side Side switch color { case models . Black : side = Searcher case models . White : side = Human } return side }
NewSide
NewSide