Skip to content
🎮 A spaceship shooting game developed using JavaScript ES6, Canvas
JavaScript HTML CSS
Branch: master
Clone or download
Latest commit 5b6a0ba Sep 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
css 增加footer Feb 11, 2019
img 更新界面,包括中文说明等 Feb 11, 2019
js 修正排行榜排序逻辑 Feb 11, 2019
sound 更新界面,包括中文说明等 Feb 11, 2019
LICENSE feat(add license): Sep 3, 2019 update Feb 16, 2019 update Feb 16, 2019
index.html 增加footer Feb 11, 2019

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。


Blog · GitHub @gd4Ark


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

You can’t perform that action at this time.