Skip to content

Theophile-Kango/space-shooter-game

Repository files navigation

hire-badge Twitter Follow

Space Shooter Game

This project is about the implementation of a space mission where the player's goal is to prevent meteors to reach the earth

Demo

game

How to play ?

Before starting the game, the player must fill in a name field and at the end of the game he can see if his score is among the top 10 players by clicking on the players button.

The game begins with an aeroplane in full space, and the mission is to prevent the meteors from reaching the earth by shooting at them. The player's score increases when he destroys a meteor.

The player has 3 life levels at the start. When the plane crosses with a meteor, the player's score decreases.

After one minute of play, 2 level of life are added to the player and he leaves from level 1 to level 2 where there are more meteors and they come at a high speed than at level 1

After a minute another 2 life level are added to the player and he goes to level 3 where the meteors come at a higher speed than at level 1 and 2.

The game ends when the player's standard of living is 0.

Game Design Documentation

Welcome

When you open the app for the first time you will be redirected here. You will be asked to give your name before starting the game.

welcome

When you open it for the second time you will see the welcome message with your name and the possibility to change your player's name.

wecome2

If you click on the Play Button, you will be redirected to the menu

Menu

menu)

Here we have 4 Options

  • Play to start the Game
  • Options to enable or desable the Sound and the Music
  • Credits to show the list of those who participated in the production of this project
  • Players to show the List of 10 Players with the highest score.

Keyboard Control

play (1)

  • Space to shoot
  • Direction Keys To move Up, Right, Down and Left
  • Direction Keys To move diagonally, eg: Up and right to move in the up-right direction
  • Pause To Pause and Play the game

Live Demo

Click here

Getting Started

  • Clone the project to your local machine;
  • cd into the project directory;
  • Run npm install to install the necessary modules;
  • Run npm run dev, the page will automatically load on localhost:8080.
  • Run npm run test, to run the test

Built With

  • JavaScript
  • Phaser 3
  • Webpack
  • Jest And deploy to heroku

Install

  • Install VSCode or any code editor you like

Authors

👤 Theophile Kango

Credits

  • Template: Richard Davey
  • Images: Kenney.nl
  • Sounds: Stephen M. Cameron Magne Djupvik

🤝 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!

About

This project is about the implementation of a space shooter game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published