Covid invaders is a variation of the popular arcade game Space invaders implemented using the pygame library.
Covid invaders is a shooting game where a syringe (player) is used to shoot vaccine shots to destroy the viruses (enemy). The player can only move horizontally while the enemy moves horizontally and vertically, approaching the ground. The enemy also shoots lasers to overcome the syringe. There are various 'variants' of viruses in the game. The player earns points depending on which variant they destroy. The game ends when the player defeats all the viruses or the enemy reaches the ground.
- Python 3.x
- Pygame library
- Clone the repository:
git clone https://github.com/Suhana66/Covid-Invaders.git
- Install the dependencies:
pip install -r requirements.txt
- Run the program:
python3 main.py
- Move the player left: Left arrow key.
- Move the player right: Right arrow key.
- Fire the vaccine: Spacebar.
- Quit the game: Q key.
The static files used in this game (found in the 'assets' folder) can be attributed to the following:-
- enemy1.png(Virus icons created by surang - Flaticon)
- enemy2.png(Virus icons created by Freepik - Flaticon)
- enemy3.png(Virus icons created by Freepik - Flaticon)
- enemy4.png(Virus icons created by kosonicon - Flaticon)
- enemy5.png(Virus icons created by Freepik - Flaticon)
- icon.png(Covid icons created by Freepik - Flaticon)
- little_comet.otf('Little Comet Demo Version.otf' downloaded from https://www.dafont.com/little-comet.font)
- player.png(Vaccine icons created by Freepik - Flaticon)
- seguisym.ttf('seguisym.ttf' downloaded from https://fontsdata.com/132800/segoeuisymbol.htm)(for unicode characters, emojis)
This project is licensed under the MIT License - see the LICENSE file for details.