Hi, I’ve been on Sphero Swift Playgrounds 2; Randomise Game for a while and I need help. This is my code;
func pickNextGesture(availableGestures:[Gesture]) -> Gesture { randomNumber(min: 1, max: availableGesture.count) return .tap return .toss return .spin return .shake