Space Shooter is a simple game built with Phaser 3 and JavaScript.
Game Screenshot
- Phaser 3
- JavaScript
- Webpack
- Async/Await
- Phaser
- Webpack
- Copy Webpack Plugin
- Babel
- Dotenv
Click on this link to view the Game Design Document.
Use the arrows of your keyboard to move the ship around the space, and Space Bar to shoot laser on the enemies.
To get a local copy up and running follow these simple example steps.
- Node.js
- VSCode
- Live Server (VSCode extension)
Clone this repo either by typing `git clone https://github.com/martinnajjar12/space-shooter` (You must have git installed on your local machine in this case) or download a zip version of the code from GitHub.
Instal the dependencies with:
npm install
Compile the code by typing the following command in your terminal (Make sure your in the root directory of your project):
npm run start
Now open up VSCode and open the project folder. (Make sure you install Liver Server Extension in VSCode.) Right-click index.html
which is inside the dist
folder and click on Open With Live Server
.
Note: You may not get the leaderboard on your local machine because you don't have access to the Game Id to correctly fetch the API.
- Github: @martinnajjar12
- Twitter: @martin_najjar
- LinkedIn: Martin Najjar
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.