# star-battle **Repository Path**: andrewgithub/star-battle ## Basic Information - **Project Name**: star-battle - **Description**: 🎮 A spaceship shooting game developed using JavaScript ES6, Canvas - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-08 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

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](https://4ark.me/star-battle) ### Start interface ![](https://ws1.sinaimg.cn/large/006mS5wEgy1g02z5a4blsj30sw0gpjsm.jpg) ### Game interface ![](https://ws1.sinaimg.cn/large/006mS5wEgy1g02z5kvrgaj30sw0gpjv0.jpg) ### End interface ![](https://ws1.sinaimg.cn/large/006mS5wEgy1g02z5xag6aj30sw0gpgmh.jpg) ### Rank interface ![](https://ws1.sinaimg.cn/large/006mS5wEgy1g02z62lsttj30sw0gpt9j.jpg) ## Game Rules 1. Press `W`、`A`、`S`、`D` 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](https://4ark.me/) · GitHub [@gd4Ark](https://github.com/gd4Ark) ## Conclusion If you think my project is good👏 . Give a Star⭐ encouragement.