2.1.28, initiation update to PXT v5.28.24 (#54)
This commit is contained in:
committed by
Peli de Halleux
parent
38a964516e
commit
5c114a0c57
@@ -5,11 +5,11 @@ Add the amount you say to the score for the game.
|
||||
```sig
|
||||
game.addScore(1)
|
||||
```
|
||||
### Parameters
|
||||
## Parameters
|
||||
|
||||
* a [number](/reference/types/number) that means how much to add to the score. A negative number means to subtract from the score.
|
||||
* a [number](/types/number) that means how much to add to the score. A negative number means to subtract from the score.
|
||||
|
||||
### Examples
|
||||
## Examples
|
||||
|
||||
This program is a simple game.
|
||||
Press button ``A`` as much as possible.
|
||||
@@ -22,6 +22,6 @@ input.onButtonPressed(Button.A, () => {
|
||||
game.startCountdown(10000)
|
||||
```
|
||||
|
||||
### See Also
|
||||
## See Also
|
||||
|
||||
[score](/reference/game/score), [start countdown](/reference/game/start-countdown)
|
||||
|
||||
Reference in New Issue
Block a user