The prototype still lacks a Heads-Up Display (HUD) completely. Heads-up display is a term used to refer to the collection of game information that is available for the player on the screen.
Health bars, lives indicators, speed references, and position references are all examples of common game HUD elements.
For this prototype, we plan to display two types of information on the screen: the number of collectibles gathered from the beginning of the match, and the number of available lives before the game ends. It's not by chance that we chose these two elements, as they are linked to the relevant variables to decide whether the player is winning or losing the game.
Before we can work on a game interface, however, we need to define the two exit conditions for our game: the "game over" and the "game won" conditions.
The plan is to have the game sending a Game Over message if the player loses three lives, and a Game Won message if they gather five collectibles...