Inspiration

Our game was inspired by the game Space Invaders and COVID-19. We wanted to make a game that had to do with our current pandemic, the coronavirus. The idea to make it like Space Invaders came in when we thought of how much we hated the coronavirus. Therefore, we made the coronavirus the enemy. We also wanted a way to remind people to stay safe, wear a mask, and to wash hands. That is where the mask and the hand sanitizer came in. We made it so that when you collected a mask you would be able to gain health when hurt from the coronavirus. The hand sanitizer was used to kill the coronavirus. That was how the game Attack of the Coronavirus came to be.

What it does

It is a game meant to be played when you are bored, especially during quarantine. Who wouldn't want to kill coronaviruses to past time?

How I built it

We built the game using mainly p5.js. There was also some HTML and CSS involved.

Challenges I ran into

One challenge we ran into was combining our code. We never worked together with a group on a coding project before. However, GitHub made it simple. Another challenge we ran into was object collision. We couldn't figure out how to make the coronavirus disappear when the hand sanitizer hit the coronavirus. However, we were able to solve it with trial and error. The internet was also a helpful tool. One more challenge we faced was the navigation between pages. We couldn't figure out how to switch from the game page to the game over page. Originally we were going to make it switch from one file to another file. However, we didn't know how to do that, so instead we cleared the page every time we wanted to switch from the game page to the game over page.

Accomplishments that I'm proud of

Accomplishments we are proud of are that even though we faced challenges, we were able to find a way to solve it. Another accomplishment we are proud of is completing a game in less than two days. Normally we would take a week to finish a project. This was also the hardest project we've made.

What I learned

We learned more about object oriented programming. There were a lot of objects involved in our game. Debugging the code was another thing we learned. Sometimes the code didn't work and we had to figure out how to fix it. We also learned how to work on a coding project in a team. This taught us that communication is an important skill to have as a computer scientist.

What's next for Attack of the Coronavirus

In the future, we hope to add more characters, like a female since we currently only have a male. We also want to incorporate levels into our game. There could be different levels of difficulty, like easy, medium, or hard. We also want to add an AI element. It would be nice if the coronavirus was smarter and had a more strategic way of falling instead of the randomness we have right now.

Built With

Share this project:

Updates