Giter Site home page Giter Site logo

aircraft-shooting's Introduction

Anti-Aircraft Shooting Game

This is a simple web-based shooting game developed using HTML5 and JavaScript. In this game, you control an anti-aircraft gun to shoot down enemy planes that fly downwards towards your position. The goal is to shoot as many planes as possible within a 2-minute time frame.

Features

  • An anti-aircraft gun that the player can control with left and right buttons.
  • A "Fire" button that allows the player to shoot at incoming enemy planes.
  • A scoring system that updates whenever an enemy plane is shot down.
  • A 2-minute countdown timer that ends the game when it reaches zero.
  • Enemy planes that increase in speed as the game progresses.

Setup

To play the game, follow these steps:

  1. Clone this repository or download the files to your local machine.
  2. Open the index.html file in a modern web browser.

How to Play

  • Click the "Start" button to begin the game and start the timer.
  • Use the "Left" and "Right" buttons to aim the gun.
  • Press the "Fire" button to shoot at the enemy planes.
  • Try to shoot down as many planes as possible before the time runs out.

Game Controls

  • Start Button: Starts the game and the countdown timer.
  • Fire Button: Shoots a bullet from the anti-aircraft gun.
  • Left Button: Moves the gun to aim left.
  • Right Button: Moves the gun to aim right.

Ending the Game

The game ends when the 2-minute countdown timer reaches zero. If an enemy plane gets too close to your gun, the game will also end. Your final score will be displayed, and you can restart the game by clicking the "Start" button again.

Development

This game was developed with:

  • HTML5
  • CSS for simple styling
  • JavaScript for game logic and interactions

Future Enhancements

Future updates may include:

  • Enhanced graphics and animations for the gun and enemy planes.
  • Sound effects and background music.
  • Different levels of difficulty.
  • Power-ups and additional gameplay features.

Thank you for playing the Anti-Aircraft Shooting Game!

aircraft-shooting's People

Contributors

cybeyegit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.