pxt-calliope/docs/reference/game.md

16 lines
363 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
[addScore](/reference/game/add-score), [score](/reference/game/score), [startCountdown](/reference/game/start-countdown), [gameOver](/reference/game/game-over), [setScore](/reference/game/set-score)