In order to help me learn C++ in my first year of university, I recreated the popular game Space Invaders. In the game, alien ships move downwards towards the player. In order to win the game, the player has to shoot all of the ships. However, if the ships get too close or the player gets shot, it’s game over and Earth is taken over by aliens…

As part of this project, I experimented with different trajectories of the aliens. The main ones were the curved (quadratic) trajectory and the sin curve. These can be seen below.