For this assignment I was given a basic code of the original game “asteroid” and I had to create the User interface.
Mainly I wanted to teach the player how to play the game through the main menu. For this reason, as soon as the game starts, there is a menu with the word “space” that is constantly pressed by the word invaders.
The greatest challenge was to give the player the possibility to play with the use of the keyboard or mouse only. When the player starts a new game he is required to imput a name. To overcome this issue with the mouse settings, a keyboard pops up on screen.