Skip to content

KaveenDK/SpaceShooterGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Shooter Game by KaveeN

Project Overview

Space Shooter is an engaging 2D browser-based game where players control a spaceship to shoot enemies, avoid obstacles, and level up by scoring points. The game is designed to be responsive and works seamlessly on both desktop and mobile devices.

Live Demo

You can view the live demo of the project here.

Features

  • Interactive Gameplay: Control a spaceship, shoot bullets, and destroy enemies.
  • Level Progression: Players level up as they score points, with increasing difficulty.
  • Responsive Design: Works on both desktop and mobile devices with touch controls.
  • Game Over Modal: Displays the final score and highest level achieved.
  • Animations: Smooth animations for enemies, bullets, and explosions.
  • Mobile Controls: On-screen buttons for movement and shooting.

Technologies Used

  • Frontend:
    • HTML5, CSS3, JavaScript (ES6+)
    • Bootstrap 5 for responsive design
  • Backend:
    • No backend required (client-side game)
  • Hosting:
    • Firebase Hosting for live demo

Clone the Repository

To clone the repository, use the following commands:

git clone https://github.com/KaveenDK/SpaceShooterGame.git
cd IT-Assignment-08

Project Structure

The project is organized as follows:

IT-Assignment-09/
│
├── index.html          # Main HTML file
├── js/
│   └── script.js       # Game logic and functionality
├── stylesheet/
│   └── styles.css      # Game styling
├── assets/
│   └── images/         # Game assets (e.g., icons, logos)
├── README.md           # Project documentation
└── .gitignore          # Git ignore file

How to Run the Project

  1. Clone the repository using the commands above.
  2. Open the project folder in your code editor (e.g., VS Code).
  3. Open index.html in your browser to view the application.

How to Play the Game

  1. Click the Start Game button to begin.
  2. Use the following controls to play:
    • Arrow Keys: Move the spaceship left or right.
    • Spacebar: Shoot bullets.
    • Mobile Controls: Use on-screen buttons for movement and shooting.
  3. Destroy enemies to score points and level up.
  4. Avoid letting enemies reach the bottom of the screen to prevent a game over.
  5. The game ends when an enemy crosses the bottom boundary.

Future Enhancements

  • Power-Ups: Add collectible power-ups for temporary boosts (e.g., faster shooting, shields).
  • Enemy Variations: Introduce different types of enemies with unique behaviors.
  • Boss Levels: Add challenging boss fights at certain levels.
  • Sound Effects: Include background music and sound effects for shooting and explosions.
  • Multiplayer Mode: Allow two players to compete or cooperate in real-time.

☕ Support Me

If you found this project helpful, consider supporting me:

Buy me a coffee

About

Space Shooter Game by KaveeN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors