package game type Map struct { Width uint32 `json:"width"` Height uint32 `json:"height"` Planet []Planet `json:"planets"` } func Destination(x1, y1, x2, y2 float64) float64 { return 0 }