pxt-calliope/docs/reference/game.md

12 lines
149 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);
```