Team members: Adeline Guo, Amitesh Bharati, Donna Jaison and Harsh Ghate
Inspiration
The problem The COVID-19 pandemic is a huge issue right now: there are 5.01 M cases and 162K deaths in the US alone Because of the pandemic, hospitals are overcrowded, it’s hard to get tested, and there are too many symptoms to remember. Quarantine is also really boring. We would like to make something that helps the user prevent getting the virus, and entertain them. How we came up with our idea We wanted to spread awareness in a fun way that engages the user
What it does
Save the people by collecting all the masks and bringing it to them to complete a level. Dodge the infected patients and the bats to avoid getting the virus, or "cure" them by shooting a vaccine at them. Hand sanitizer portals allow you to teleport from place to place. There are an infinite amount of progressively harder levels. At the end of each level, you receive a tip to prevent contracting/spreading the virus.
How I built it
We used the languages HTML, CSS and JavaScript to code it, and we used the coding platform repl.it, which let us work together on the project. We created some of the graphics on pixilart.com(to edit googled images) and we took some from opengameart.com The code: There is a hidden rectangle that you control, and by using sprite sheets and sprite slicing in Javascript, you create an image of your player that is on top of the rectangle. The enemies are also just invisible rectangles, and they have a "sensor" in front of them and if they touch a ground tile, then they walk the other way, the speed of them is random. For the projectiles, it takes the current y-position of the player and launches a projectile that goes to left or right, depending on the the latest arrow key you pressed, and continuously detects if it touches something, such as a wall, or an enemy. By using math and taking the coordinates of the player, you can calculate way the bat move toward the enemy.
Challenges I ran into
Most of our challenges were related to the coding. Another challenge we had was finding a way to put the questions in the game: in the end, we tried to put them in an frame in the ScoreBoard, but we didn’t have enough time. Our future plans is to implement this. We were also not able to finish a portion of our code which would let us calculatea person's risk of contracting the virus, so we decided to have that in the future plans segment.
What's next for Corona Dodge
We would like to add a portion which asks questions and gives the user an idea if they have the virus or not It would ask what state you live in, how often you’ve gone outside, and you would have to check how many symptoms you’re feeling. We made the questions and we would like to produce data-based results. (We've included a demo of what it looks like so far). We would also like to expand this to all countries, and be able to redirect the user to the closest place to get tested for the virus. We will get this out to the public in the future by publishing it.
Why we should win
Our game is a fun way to spread more information about the coronavirus We should win because this game will help you be healthier and be entertained at the same time. So it solves two problems in one app. We also providing an entertaining way for kids to learn about Coronavirus
Opening the files
There are two folders in the project submission, one being called "map-of-USA-cases" and the other being called "ShrillAquamarineBlogware". The first folder contains all of the code and files for our Map or the United States and Coronavirus statistics. The other file contains all of the files and code for out game.
Built With
- css
- html
- javascript
- repl.it



Log in or sign up for Devpost to join the conversation.