DEV Community

Cover image for Alien Shooter - Web Game Challenge 👾
ishrat
ishrat

Posted on

Alien Shooter - Web Game Challenge 👾

This is a submission for the Web Game Challenge, Build a Game: Alien Edition

What I Built

Alien Shooter Game Summary

Alien Shooter is a simple HTML5 canvas-based game where the player controls a UFO spaceship and defends Earth from invading aliens. The player can move the UFO left and right using the arrow keys and shoot bullets by pressing the spacebar. The goal is to destroy all the aliens before they reach the bottom of the screen.

Demo

GitHub link

Game Features:

  • Player-controlled UFO: A UFO-shaped spaceship with a sleek design, featuring a silver base, blue dome, and glowing yellow lights.
  • Aliens with Random Colors: Aliens are circular, with antennas and eyes. Each alien is given a random colour, making the game visually diverse and engaging.
  • Shooting Mechanics: Players can shoot bullets to destroy the aliens. Successful hits will earn points.
  • Game Over Condition: The game ends if an alien reaches the bottom of the screen or collides with the player's UFO.
  • Victory Condition: Players win if they destroy all aliens on the screen.

This fast-paced game combines visual variety with fun mechanics, making it a simple yet enjoyable challenge!

Top comments (0)