Inspiration

Seeing the Covid 19 Pandemic spreading, and with that anxiety and fear among children and adults, we thought of coming up with a game to boost the morale for children. They will be able to attack the covid-19 virus, giving them the reassurance and confidence that they are saving the earth.

What it does

The user can scroll the grenade and hit the covid 19 viruses falling down. The number of remaining covid virus are displayed in the top left corner, through which the player can keep track.

How we built it

We developed the game through python library pygame, assisting us with different functions. After specifying the number of enemy virus, they are given random positions between the assigned coordinates. The Grenade is given specifies coordinates and through the loop can hover in a straight line. The distance between the enemy virus and the grenade is calculated and through this collision distance, the certainty of the bullet shot from the grenade hitting the virus is determined. The score after hitting every virus is appended and shown to the user. The mixer component of pygame was used for background music

Challenges we ran into

The first challenge we encountered was fixing the coordinates for different components. The grenade can hover only in a straight line while the enemy virus keeps moving in specified areas and the gunshot had to go straight from the grenade to the virus, so setting their coordinates were a bit challenging.

Accomplishments that we're proud of

We are proud of working as a team being the first hackathon and working on something original and new. Before this we only knew the basics of python, however, we gained the knowledge to woke on a full-fledged project. Moreover, we are faced a lot of errors, but we were able to debug them and complete this game.

What we learned

We learnt pygame module of python which will help us in making future games. Also, we discovered the art of debugging the numerous errors encountered in the program.

What's next for Covid- Blaster

We will work on the graphic user interface of the game and also make it more challenging by introducing further levels.

Built With

Share this project:

Updates