Skip to content

vivienfan/simple-spaceship-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spaceship

Simple spaceship game using phaser library. Try it out here!

Final Product

Player can hit left or right arrow key to control the position of the spaceship. Player can hit space bar to shoot out bullets to kill the enemies. Game score automatically increaments as the player kills more enenies. "game" When all the enemies are killed, the player wins the game. "win" When a enemy hits the spaceship, the player loses the game. "lost"

Usage

Clone this repository, run the following command in terminal to install the dependencies, and start the server:

npm install
npm start

Open browser, and go to:

localhost:300

Dependencies

  • babel-cli
  • babel-core
  • babel-loader
  • babel-preset-env
  • css-loader
  • node-sass
  • sass-loader
  • style-loader
  • webpack
  • webpack-dev-server