This project is about the implementation of a space mission where the player's goal is to prevent meteors to reach the earth
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.
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.
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.
If you click on the Play Button, you will be redirected to the 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.
Space
to shootDirection Keys
To move Up, Right, Down and LeftDirection Keys
To move diagonally, eg: Up and right to move in the up-right directionPause
To Pause and Play the game
- 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
- JavaScript
- Phaser 3
- Webpack
- Jest And deploy to heroku
- Install VSCode or any code editor you like
👤 Theophile Kango
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
- Template: Richard Davey
- Images: Kenney.nl
- Sounds: Stephen M. Cameron Magne Djupvik
Contributions, issues and feature requests are welcome!
Feel free to check the issues page
Give a ⭐️ if you like this project!