Change docs to randomInt

This commit is contained in:
Sam El-Husseini
2018-04-21 10:52:09 -07:00
parent 99a28e59f1
commit 6b9e78d269
61 changed files with 152 additions and 152 deletions

View File

@ -62,7 +62,7 @@ let column = 0
let index = 0
input.onButtonPressed(Button.AB, () => {
for (let index = 0; index <= 4; index++) {
list[index] = Math.random(5) + 1
list[index] = Math.randomInt(5) + 1
}
})
input.onButtonPressed(Button.B, () => {
@ -142,7 +142,7 @@ input.onButtonPressed(Button.B, () => {
})
input.onButtonPressed(Button.AB, () => {
for (let index = 0; index <= 4; index++) {
list[index] = Math.random(5) + 1
list[index] = Math.randomInt(5) + 1
}
})
input.onButtonPressed(Button.A, () => {
@ -223,7 +223,7 @@ input.onButtonPressed(Button.A, () => {
})
input.onButtonPressed(Button.AB, () => {
for (let index = 0; index <= 4; index++) {
list[index] = Math.random(5) + 1
list[index] = Math.randomInt(5) + 1
}
})
input.onButtonPressed(Button.B, () => {