2021-10-05 12:19:15 +00:00
|
|
|
[< Back](../README.md)
|
|
|
|
|
|
|
|
# Exercise: Victory Screen
|
2021-10-05 10:51:55 +00:00
|
|
|
|
2021-10-05 12:29:27 +00:00
|
|
|
## Background:
|
|
|
|
|
2021-10-05 10:51:55 +00:00
|
|
|
As a continuation of the Game Over and New Level exercises. If PacMan beats 3 levels, the game has been beaten and a
|
|
|
|
victory screen should be shown.
|
|
|
|
|
|
|
|
A count of how many levels have been beaten needs to be stored and this should be checked when transitioning between
|
|
|
|
levels.
|
|
|
|
|
|
|
|
This should function similarly to the Game Over state but used to indicate that the player won the game.
|
2021-10-05 12:29:27 +00:00
|
|
|
|
|
|
|
## Exercise
|
|
|
|
|
|
|
|
1.
|