The next feature that will be added in your game is the countdown at the beginning of each level. It should present numbers, decreased every second, until zero is reached. However, during the countdown period, the player should still be able to steer the rocket, as well as start and stop the additional engine. In this section, you will learn how to implement such a feature and use the translations mechanism.
The countdown feature should be activated only when the game is in the
STARTING state. As soon as the countdown is finished, the state should be changed to
PLAYING. During both stages, the rocket is flying towards the planet, as presented in the following diagram:
The countdown presents a text using a specified font. ...