Space Warrior is a 2D game written by Abhilekh Gautam. It uses C++ and olc pixel game engine for drawing and olc sound wave engine for music stuff. If you are interested to learn how to create games like this, I have everything covered for you in my book Write your first game in C++
For more about olc Pixel Game engine visit: https://github.com/OneLoneCoder/olcPixelGameEngine and for about olc sound wave engine visit: https://github.com/OneLoneCoder/olcSoundWaveEngine
Player has 3 lifes, it can shoot at enemies, colliding with enemy reduces the life by 1. You can use arrow(top, down, left, right) to move the player throughout the screen, killing a enemy increase score by 5.