Inspiration

Body Invaders is inspired by the classic 1978 arcade game Space Invaders. We wanted to put a fun twist on the original by re-styling the game to fit the theme of coronavirus, perfect for fighting the boredom that ensues during a lockdown.

What it does

The goal is to stop the Covid-19 viruses from reaching the bottom of the screen and taking over their host. You can move from side to side using the left and right arrow keys or A and D keys, and shoot out antibodies to destroy the viruses using the space bar, up arrow key or W key. The more viruses you are able to kill, the higher score you will receive when the game ends.

How we built it

We built the site using HTML, CSS and JavaScript. The game logic itself is all written in JavaScript and we used the HTML5 canvas to draw and animate all of the viruses and projectiles.

What's next for Body Invaders

The next challenge would be to implement a leaderboard so players can compete or potentially a multi-player mode, so that two people on different devices can play against one another live.

Share this project:

Updates