package agents import "math/rand" func randInt(n int) int { if n <= 0 { return 0 } return rand.Intn(n) }