A certain planet has been invaded by aliens. The invasion has been detected and a giant shooter ship has been sent to space to shoot the alien ships down before they cross the space to reach the plannet. Alien ships can shoot down the player's shooter ship and also can explode with it. Shooter ship therefore has to avoid being hit by any alien ship and must make sure he shoots as many alien ships as possible.
To play the game follow the instruction below: Start To start playing, Enter your name for your score to be recorded and click the button PLAY
Movement instruction:
- Player can use the
left
(←) arrow key to move left. - Player can use the
right
(→) arrow key to move right. - Player can use the
up
(↑) arrow key to move up. - Player can use the
down
(↓) arrow key to move down.
Battle instruction
-
Player can use the
space bar
to shoot down enemy ships. -
If a player ship collides with enemy ship, both ships get destroyed and game is over
-
If enemy ship's laser shoots at players's ship it explodes and game is over
-
The player has to shoot as many enemy ships as he can to earn more points.
-
Payer can use the restart button to restart the gameplay
Leaderboard
- To view the leaderboard, the player should click on the leaderboard image displayed when the game is over.
Clone or fork the source code into your local machine
git clone https://github.com/Byabasaija/The-shooter.git
cd
into the cloned directory using
cd directory-name/
Open the directory in your favorite code editor e.g if your using Vs code
code .
To install dependencies run
npm install
To open the game in your browser run
npm start
In the root directory, run
npm run test
- HTML
- CSS
- Linter
- JS
- Webpack
- VScode
- Phaser
I used Sprites from
Pascal Byabasaija
- Linkedin: Pascal Byabasaija
- Github: @Byabasaija
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐ if you like this project!