pxt-microbit Accessibility PR (#529)

* Accessibility changes
This commit is contained in:
Sam El-Husseini
2017-09-07 13:42:08 -07:00
committed by GitHub
parent 3f87576a50
commit e3975e65e5
357 changed files with 1641 additions and 3540 deletions

View File

@ -0,0 +1,27 @@
# Change Score By
Add the amount you say to the score for the game.
```sig
game.addScore(1)
```
## Parameters
* a [number](/types/number) that means how much to add to the score. A negative number means to subtract from the score.
## Examples
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.
```blocks
input.onButtonPressed(Button.A, () => {
game.addScore(1)
})
game.startCountdown(10000)
```
## See Also
[score](/reference/game/score), [start countdown](/reference/game/start-countdown)