guess the number tutorial
Rebuild the game!
The blocks have been shuffled! Put them back together so that…
- when the user presses button
A
,- generate a random number
- show the number on screen
input.onButtonPressed(Button.A, () => {
let x = randint(0, 10)
basic.showNumber(x)
})