Fly-Fighter is a simple and engaging fly-swatting game developed using HTML, CSS, and JavaScript. The objective is to click on flies as they appear on the screen, testing your reflexes and hand-eye coordination.
- Flies appear randomly on the screen.
- Click on the flies to swat them.
- Each successful swat increases your score.
- The game continues until a certain condition is met (e.g., time limit or missed flies).
- Interactive and responsive UI.
- Real-time score tracking.
- Sound effects for enhanced user experience.
- Lightweight and fast-loading.
- HTML: Structure of the game.
- CSS: Styling and animations.
- JavaScript: Game logic and interactivity.
Fly-Fighter/
├── Audio/
│ └── [Audio files for game sounds]
├── Images/
│ └── [Image assets for flies, background, etc.]
├── flyfighter.html
├── flyfighter.css
├── index.html
├── index.css
├── info.html
├── second.js
└── README.md
-
Clone the repository:
git clone https://github.com/sarthakdarade07/Fly-Fighter.git
-
Navigate to the project directory:
cd Fly-Fighter -
Open
index.htmlin your preferred web browser:- You can double-click the file, or
- Use a live server extension if you're using VS Code.
Contributions are welcome! If you'd like to improve the game or fix bugs:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/YourFeature
-
Commit your changes:
git commit -m "Add YourFeature" -
Push to the branch:
git push origin feature/YourFeature
-
Open a pull request.
For any inquiries or feedback, please contact sarthakdarade07.

