Skip to content

In this never-ending game, you will face different enemies at random times, and you have to use your laser to make them explode. Every enemy gives you a different score point, and you need to avoid getting hit by their lasers or overlap with one of them. When the game is over, the user can restart the game.

License

Notifications You must be signed in to change notification settings

somoye123/Shooter-Game

Repository files navigation

Javascript-Capstone Project: Build a Shooter Game

Guns Of Boom

Final project in the Microverse JavaScript Curriculum

Implementation of a Space Shooter Game built with the Phaser 3 framework

About The Project

The main objective of this project was to design and build a platform game. The basics of the game are used from the Space Shooter Game using Phaser and Javascript among other technologies.

Live version of the project: Live version

Project Link: Javascript-Capstone

The game

In this never-ending game, you will face different enemies at random times, and you have to use your laser to make them explode. Every enemy gives you a different score point, and you need to avoid getting hit by their lasers or overlap with one of them. When the game is over , the user can restart the game.

How to Play

  • Input your name on the first page and click the submit button, There is a menu on the next page which are Play, Options, Credits and Scoreboard. You can disable the sound in the options menu. Click on the play menu to start your game. You can move around the screen using the arrow keys and use the Space Bar to shoot whenever you see an enemy. Happy gaming!

Get a local copy

npm required - get npm

Installation

You can always use the live version to play right away or install it locally using these steps:

Clone the repository by running this command in your terminal

git clone https://github.com/somoye123/Shooter-Game

Navigate into the newly created folder

cd Shooter-Game

Get the dependencies needed for the game

$ npm install

Start the server

$ npm start

Visit this link to see the game in your browser

http://localhost:8080/

Run Jest tests

npm run test

Characters

  • Player:

    It can move at 4 directions, and use the space bar to shoot it enemies.

  • Enemy 1 :

    Gun Ship: It will appear randomly shooting lasers. You receive +10 every time you make it explode.

  • Enemy 2:

    Carrier Ship: It will appear at a random velocity and location shooting lasers. You will receive +25 points every time you shoot one successfully

  • Enemy 3:

    Chaser Ship: It will chase you through all the game. You will receive +15 points every time you destroy one.

Scenes

Landing Scene

Game Scene

Credits Scene

Leaderboard Scene

Game Over Scene

Technologies used

Author

👤 Somoye Ayotunde

Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your Support

Give a ⭐️ if you like this project!

Acknowledgments

About

In this never-ending game, you will face different enemies at random times, and you have to use your laser to make them explode. Every enemy gives you a different score point, and you need to avoid getting hit by their lasers or overlap with one of them. When the game is over, the user can restart the game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published