Code Monkey home page Code Monkey logo

somoye123 / shooter-game Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 18.69 MB

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.

Home Page: https://guns-of-boom.netlify.app

License: MIT License

HTML 0.24% JavaScript 97.12% CSS 2.64%
space-shooter-game game shoot phaser microverse

shooter-game's Introduction

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

shooter-game's People

Contributors

somoye123 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shooter-game's Issues

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.