Skip to content

Alien Invasion Defense is a fun web-based game created with HTML, CSS, and JavaScript. With a user-friendly interface and smooth gameplay, it’s perfect for players of all ages. Over 1,000 users have enjoyed the engaging challenges as they defend Earth from alien invaders. Join the action and see if you have what it takes to protect our planet!

License

Notifications You must be signed in to change notification settings

YadavAkhileshh/Alien-Invasion-Defense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Alien Invasion Defense 🛸

Welcome to Alien Invasion Defense, a fast-paced space shooting game! Defend your base from waves of alien invaders and become the ultimate space defender. 🌌 With simple controls, sleek graphics, and exciting gameplay, get ready for an epic battle. Use your weapons to destroy alien ships, survive multiple waves, and protect your base with 3 lives. 👾

🌟 Stars 🍴 Forks 🐛 Issues 🔔 Open PRs 🔕 Close PRs
Stars Forks Issues Open Pull Requests Close Pull Requests

This project is now OFFICIALLY accepted for

Name Logo Purpose
GSSoC'2024-Extd GSSoC Logo The coding period is from October 1st to 10th of November, during which contributors make contributions and earn points on the platform.
Hacktoberfest 2024 Hacktoberfest Logo Hacktoberfest is a month-long October event welcoming all skill levels to join the open-source community.

📑 Table of Contents

  1. Stars, Forks, Issues, and Pull Requests
  2. Features
  3. How to Play
  4. Game Rules
  5. Tech Stack
  6. How to Play Locally
  7. Our Valuable Contributors
  8. Stargazers
  9. Forkers
  10. Support the Project

🌟 Features

  • Exciting Alien Invasion Gameplay: Fight waves of alien ships attacking your base.
  • 🎮 Easy Controls & Interface: Restart the game, track your score, and see your remaining lives in an easy-to-use side panel.
  • 💥 Three Lives: Defend your base with only 3 chances!
  • 🚀 Smooth Shooting: Enjoy responsive shooting to destroy the alien invaders.
  • 🖥️ Modern Graphics: Simple and clean interface that looks great.
  • 🔄 Quick Restart: Restart the game instantly with one click.
  • 🏆 Leaderboard (Optional): Track your highest scores and compete with others.

🎮 How to Play

  1. Start the Game: Click the "Start" button to begin.
  2. Move and Shoot: Use your keyboard or on-screen controls to move your spaceship and shoot at alien ships.
  3. Lives: You have 3 lives. You lose a life if an alien reaches your base or if your ship is hit.
  4. Game Over: When you lose all 3 lives, the game ends. Click "Restart" to try again.
  5. Progress: Destroy all alien ships in each wave to move on to the next level and increase your score.

📜 Game Rules

  • Survive as long as you can by shooting alien ships and protecting your base.
  • 3 Lives Only: If aliens reach your base or hit your ship 3 times, the game ends.
  • Restart Anytime: Use the "Restart" button to start over.
  • Earn Points: Destroy alien ships to get points. Aim for the highest score before losing all your lives!

-Tech Stack

This game is built using:

🚀 How to Play Locally

To play this game on your own computer:

  1. Clone the Repository:
    git clone https://github.com/YOUR_GITHUB_USERNAME/Alien-Invasion-Defense.git
    
  2. Create a new branch:
    git checkout -b feature-branch
    
  3. Push to your branch:
    git push origin feature-branch
    
  4. Open a pull request to the main repository.

🐳 Docker Setup

To run this website on a container:

  1. Clone the Repository:
    git clone https://github.com/YOUR_GITHUB_USERNAME/Alien-Invasion-Defense.git
  2. Build the Docker image::
    docker build -t <your_container_name> .
  3. Run the container::
    docker run -d -p 8080:80 <your_container_name>

Now, the website will be accessible at http://localhost:8080.

Complete this process in GitHub (in your browser)

flowchart LR
    Fork[Fork the project]-->branch[Create a New Branch]
    branch-->Edit[Edit file]
    Edit-->commit[Commit the changes]
    commit -->|Finally|creatpr((Create a Pull Request))
Loading

🌍 Our Valuable Contributors


🎉 Thank You to All Our Amazing Contributors! 🎉

We are incredibly grateful for your dedication and hard work. Your contributions have been invaluable in making this project a success. Thank you for being a part of our journey!

Stargazers

Stargazers repo roster for @YadavAkhileshh/Alien-Invasion-Defense

Forkers

Forkers repo roster for @YadavAkhileshh/Alien-Invasion-Defense

⭐️ Support the Project

If you find this project helpful, please consider giving it a star on GitHub! Your support helps the project grow and reach more contributors.

Connect with Us 🤝

Thank you for exploring this project! We’d love to connect and hear from you. Reach out through any of the platforms below:

LinkedIn Twitter Email

Keep learning 📚, exploring 🌍, and contributing 🤝 to make a difference in the world!

Made with ❤️ for all space defenders!

About

Alien Invasion Defense is a fun web-based game created with HTML, CSS, and JavaScript. With a user-friendly interface and smooth gameplay, it’s perfect for players of all ages. Over 1,000 users have enjoyed the engaging challenges as they defend Earth from alien invaders. Join the action and see if you have what it takes to protect our planet!

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published