Coder Social home page Coder Social logo

triptych / star-battle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gd4ark/star-battle

0.0 3.0 0.0 2.02 MB

🎮 A spaceship shooting game developed using JavaScript ES6, Canvas

Home Page: https://4ark.me/star-battle

CSS 10.17% HTML 13.76% JavaScript 76.07%

star-battle's Introduction

English | 简体中文

Star Battle

A spaceship shooting game developed using JavaScript ES6, Canvas.

Topics in the 2017 Abu Dhabi World Skills Competition.

Demo Preview

Online view:link

Start interface

Game interface

End interface

Rank interface

Game Rules

  1. Press WASD control spacecraft,Press Space fire.
  2. The initial fuel value is 15. Decrement by 1 point per second. When the fuel value is 0, the game is over.
  3. The fuel bottle that touches it can be increased by 15 points and the maximum value is 30 points.
  4. Hit the enemy spacecraft to increase by 5 points. The planet needs to hit twice, increasing by 10 points. Hit the friend to deduct 10 points.
  5. Collision enemy loses 15 points of fuel, and the friendly party deducts 10 points.
  6. Game allows negative points.
  7. Press P Pause game. Press M mute。

Author

Blog · GitHub @gd4Ark

Conclusion

If you think my project is good👏 . Give a Star⭐ encouragement.

star-battle's People

Contributors

gd4ark avatar

Watchers

Andrew Wooldridge avatar James Cloos avatar  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.