Skip to content

A game that can be run in the browser built using Phaser 3 JavaScript framework. You are a space ship which is in the middle of a universe war and you have one objective: to destroy as many enemies as you can.

Notifications You must be signed in to change notification settings

AlduLonghi/shooter-game

Repository files navigation

Space shooter capstone project

This project consisted of building a shooter game that you can play on the browser using Phaser 3 library (JavaScript).

linters linters

screenshot

What is this project about?

You are a space ship which is in the middle of a universe war and you have one objective: to destroy as many enemies as you can. You will have to cross the universe with the help of your laser shooter, avoiding being hit by the enemies or their lasers. This is an endless war so you have the opportunity to fight as long as you keep yourself alive.

Built with:

Tools

Instructions

The player can:

  • Move to the right, left, upwards, and downwards across the game's screen using arrow keys.
  • Shoot enemies by pressing the Space key. The enemies can:
  • Shoot player

The player's score will increase every time he destroys an enemy. The game is over when the player is shoot or touched by an enemy.

Live demo link

Space shooter

How to use this app locally?

Pre-requisites

  • Having NodeJS installed on your machine.

Setting up instructions

In case you use Git

  1. Open terminal

  2. Run the following commands:

git clone https://github.com/AlduLonghi/shooter-game.git

cd shooter-game

npm install

  1. Open index.html using a web server.

In case you don't use a control version system

  1. Go to the repository

  2. Press the green button that says "Code".

  3. Press "Download zip".

  4. Once downloaded, extract the files.

  5. Right click on the folder, press "Open in terminal".

  6. Run:

npm install

  1. Open index.html using a web server.

Running tests

  1. Open terminal

  2. Run:

npm run test

Author

👤 Aldana

Contributing

  • To contribute to this project:
  • Fork this repository & clone locally.
  • Create an upstream remote and sync your local copy.
  • Create a new branch.
  • Push your code to your origin repository.
  • Create a new Pull Request .

Show your support

Give a ⭐️ if you like this project! ​

Acknowledgments

  • Microverse curriculum.

About

A game that can be run in the browser built using Phaser 3 JavaScript framework. You are a space ship which is in the middle of a universe war and you have one objective: to destroy as many enemies as you can.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published