pxt-calliope/docs/reference/game.md

16 lines
369 B
Markdown
Raw Normal View History

2016-04-05 22:23:42 +02:00
# Game
2016-05-05 20:16:14 +02:00
A single-LED sprite game engine
2016-04-05 22:23:42 +02:00
```cards
game.addScore(1);
game.score();
game.startCountdown(10000);
game.gameOver();
game.setScore(0);
```
2016-08-08 22:08:15 +02:00
### See Also
2016-08-10 22:10:40 +02:00
[addScore](/reference/game/change-score-by), [score](/reference/game/score), [startCountdown](/reference/game/start-countdown), [gameOver](/reference/game/game-over), [setScore](/reference/game/set-score)