pxt-calliope/docs/reference/game.md

149 B

Game

A single-LED sprite game engine

game.addScore(1);
game.score();
game.startCountdown(10000);
game.gameOver();
game.setScore(0);