Add the amount you say to the score for the game.
game.addScore(1)
This program is a simple game.
Press button A
as much as possible.
At the end of 10 seconds, the program will show your score.
input.onButtonPressed(Button.A, () => {
game.addScore(1)
})
game.startCountdown(10000)