KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
HexagonGame
★ 15
Open GitHub ↗
六边形消消乐
Download README (.md)
Explore Similar Repositories
ndt7-client-android
:
ndt7 Android-native client
BU_CS542_Machine_Learning
:
CS542 Assignments
artnet-weblight
:
Use your Browser as an Artnet lighting device!
BackgroundChecker
:
A command line tool (for now) to gather education data about people.
github-dependents-api
:
An API to get the dependents for any Github repository
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
HexagonGame
?
Download (.md)
# HexagonGame [](https://github.com/prettier/prettier) <a href="https://zhucyi.github.io/play"> <img src="https://img.shields.io/badge/demos-🚀-yellow.svg" alt="demos" /> </a> 六边形消消乐 游戏地址 [点我点我!!](https://zhucyi.github.io/play/) ## 运行 ``` npm ci npm run dev ``` f12将浏览器设置为移动端调试模式 #### 玩法: 分为主舞台和方块生成区域 六边形每条边所在的垂线上填充满以后消除该行 #### 代码结构: - Hexagon 六边形类 最基础的类,用来绘画六边形 - Stage 舞台类 棋盘,即被拖拽到的舞台,由n多个六边形拼接而成 - Irregular 随机拼接多边形类 随机生成拼接的方块 - Interaction 基础交互类 拖拽操作事件,各种消除提示判断 #### 截图: 