Background

During the Covid-19 pandemic, there was a lot of misinformation being spread about the virus. We are now seeing that again with the Flu. By making a game, anyone at any age can be more informed on the importance of vaccinations.

Inspiration

I remembered the infamous Game of Life simulation, and wanted to make something similar. I still wanted the player to have control over some element of the game, so I let them choose how the game flows out with the placement of Vaccination Centers and Hospitals to let them learn about their importance in society and the fiscal impact they have.

What it does

Players can control their budget and choose what buildings they want to invest in. People in the game turn red if they are sick, and can contaminate others. They turn green when they get vaccinated, and gain immunity from the virus. People in the game can also go to the hospital to get cured, but not forever.

There are 3 endings to the game:

  1. Cured - No one is sick anymore, the virus is gone
  2. Failure - Everyone is sick with the virus
  3. Millionaire - The player reached a balance of $1M

How we built it

I used phaser.js for the game mechanics

Challenges we ran into

Having the players move in a somewhat smooth motion was hard to achieve, especially because their movement is randomly generated. Adding a start screen and ending screen was difficult I had to adjust the prices for buildings and medical care so that the user doesn't take advantage of inflation

Accomplishments that we're proud of

The players move slowly and the game more or less works

What we learned

javascript is tough, and a game in javascript is tougher

What's next for Vax Viral

Play it online!! I would like to add more buildings, especially a bank to add interest on revenue. I also want more character sprites, and more levels to show varying diseases and levels of difficulty on the game. For example, we could have the Plague be a really hard level.

Built With

+ 6 more
Share this project:

Updates