- 自动扫描选择连接 GAN 智能魔方
- 魔方转动控制网页游戏
- 支持 2048、俄罗斯方块
- 确保你的浏览器支持并启用 Web Bluetooth API(推荐使用 Chrome/Edge 浏览器)
- 连接 GAN 智能魔方
- 转动魔方即可开始
注意:
- 浏览器中启用 Web Bluetooth API 的方法:
- Chrome:
chrome://flags/#enable-experimental-web-platform-features- Edge:
edge://flags/#enable-experimental-web-platform-features
- 移动端可能需要预先获取智能魔方的MAC地址进行连接
方法如下:
- Chrome:
chrome://bluetooth-internals/#devices- Edge:
edge://bluetooth-internals/#devices
- 当从俄罗斯方块切回2048时,会出现交互无反应的情况,需要刷新网页重新连接魔方
- gan-web-bluetooth:GAN 智能魔方蓝牙通信库
- gan-cube-sample:GAN 智能魔方蓝牙通信示例
- 2048:2048
- vue-tetris:俄罗斯方块