pxt-arcade
pxt-arcade copied to clipboard
Game Over behavior
I noticed that the game over behavior is different for a game that does not explicitly use the Game Over block.
For example, the end screen is different for a game that ends because of countdown expiration.
This bug was revealed because a Teacher asked if they could track the High Score between games. I told them that it does it automatically. But it only does if there is a Game Over block in the code, not if the game ends at the end of a countdown.
Lemon Leak - https://makecode.com/_a2e7VtbxT7Dh
Lemon Leak with a Game Over block - https://makecode.com/_Mo1h2X0deLyi