Post not yet marked as solved
Post marked as unsolved with 0 replies, 214 views
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