Welcome to the Space Shooter Game! This is a simple browser-based game where you control a spaceship to shoot down enemy ships and avoid obstacles in space.
-
Controls:
- Use the arrow keys (←, ↑, →, ↓) to move the spaceship.
- Press the left key from mouse to shoot bullets.
-
Objective:
- Destroy as many enemy ships as possible without getting hit by them or colliding with obstacles.
- Collect power-ups and bonuses to enhance your firepower and score.
-
Game Over:
- The game ends when your spaceship collides with an enemy ship or an obstacle.
- Your final score will be displayed on the screen.
To run the game locally on your machine, follow these steps:
-
Clone the repository to your local machine: git clone https://github.com/Bappy4u/space-shooter-game.git
-
Navigate to the project directory:
cd space-shooter-game
-
Install dependencies:
npm install
-
Start the game:
npm run start
-
Now you'll see in the terminal that a live server is running for this project.
- Simple and intuitive gameplay.
- Smooth spaceship controls using arrow keys.
- Responsive design for various screen sizes.
- Score tracking and display.
- Random generation of enemy ships and obstacles for replayability.
- Sound effects and visual feedback for actions.
Contributions are welcome! If you have any ideas for improvements or new features, feel free to submit a pull request.
This project was created by Najmul H. Bappy.
This project is licensed under the MIT License - see the License file for details.