more docs updates

This commit is contained in:
Peli de Halleux
2016-06-01 21:19:16 -07:00
parent d54aa41fc9
commit 1e436f4e71
26 changed files with 23 additions and 89 deletions

View File

@ -1,20 +1,8 @@
# Game Over
The game library #docs
The game library supports simple single-player time-based games. The game can end the game by calling the `game over` function
## Block Editor
You can end the game by calling the `game over ` function. In this example, if BBC micro:bit's answer to the question is GAME OVER, GAME OVER will be displayed to end the game.
![](/static/mb/game-library/game-over-0.png)
## Touch Develop
You can end the game by calling the `game -> game over` function:
```
```blocks
game.gameOver()
```