Change docs to randomInt
This commit is contained in:
@ -15,7 +15,7 @@ The blocks have been shuffled! Put them back together so that...
|
||||
```shuffle
|
||||
basic.showString("ASK A QUESTION")
|
||||
input.onGesture(Gesture.Shake, () => {
|
||||
let randomNumber = Math.random(3)
|
||||
let randomNumber = Math.randomInt(3)
|
||||
if (randomNumber == 2) {
|
||||
basic.showString("YES")
|
||||
} else if (randomNumber == 1) {
|
||||
|
Reference in New Issue
Block a user