Code Monkey home page Code Monkey logo

shooter-game-1's Introduction

JavaScript Capstone Project: Build a Shooter Game

Galaxy Wars

In this project, I build a shooter game using JavaScript's framework Phaser 3, a "fast, free and fun open-source framework for Canvas and WebGL powered browser games".

About

This project's objective was to build a shooter game similar to York Computer's tutorial. So I used the main idea but I created my own Galaxy Wars shooter game.

Game

This is a simple endless runner. Enemies appear at the top of the canvas Some shoot you, some pass straight, some pursue you. You control your ship with keyboard arrows while you shoot with space. Just destroy as many enemies as you can before you die.

In the end, you can add your name to our Leaders Board and check the high scores.Leaders Board only show top 5 scores if you beat all scores your score will be on top of the other 4 scores.

How to play

To control your ship you should use these arrows .These are UPS, DOWN, LEFT and RIGHT keyboards. To shoot enemies use space .

You can play the game online by clicking here or locally following these steps:

  • Click on the green button "Clone or Download"
  • Click on Download ZIP
  • Extract the game
  • In your terminal, navigate to the game's folder
  • Run npm install then npm start to start the server
  • Open, in your browser, localhost:8080
  • Beat my record and make my name disappear from the Leader Board

Live Demo

Game Design Document

Built with

  • JavaScript
  • Phaser 3
  • Webpack
  • HTML
  • CSS
  • Eslint
  • Babel
  • Jest
  • API

Getting Started

  • Clone the repo [email protected]:Murodjon000/shooter-game.git
  • cd into the project
  • Run git pull origin app
  • Run yarn install or npm install to install dependencies
  • Run npm test to run tests
  • On the terminal run npm run start open up the live server

Author

๐Ÿ‘ค Murodjon Tursunpulatov

๐Ÿค 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!

Acknowledgements

๐Ÿ“ License

MIT License

shooter-game-1's People

Contributors

murodjon000 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.