https://github.com/wotermelon/tojump
nodejs版本玩微信跳一跳小游戏
https://github.com/wotermelon/tojump
javascript nodejs socket-io
Last synced: 10 days ago
JSON representation
nodejs版本玩微信跳一跳小游戏
- Host: GitHub
- URL: https://github.com/wotermelon/tojump
- Owner: wotermelon
- Created: 2017-12-29T19:28:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T15:17:18.000Z (over 7 years ago)
- Last Synced: 2025-03-25T16:08:37.665Z (27 days ago)
- Topics: javascript, nodejs, socket-io
- Language: JavaScript
- Homepage:
- Size: 7.93 MB
- Stars: 117
- Watchers: 4
- Forks: 42
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# toJump
用网页玩微信跳一跳小游戏
## 安装
安装 [Node.js](https://nodejs.org/en/)
``git clone https://github.com/wotermelon/toJump.git``
```shell
# 安装依赖
npm install# 开启服务器,端口为4000,可通过config.js修改
npm start
```## 使用方法
### 预先设置
#### 安卓
- 1.打开安卓手机的usb调试模式并授权连接的电脑
> 如果是小米手机,在USB调试下方有``USB调试(安全设置)``打开允许模拟点击>其他需要模拟点击授权的手机需要打开``允许模拟点击``
- 2.在config中将device设置为`android`
#### IOS
- 1.参考[教程](https://testerhome.com/topics/7220)配置好WDA
- 2.在config中将device设置为`ios`
- 3.在config中配置WDA中得到的地址
### 开始使用
- 1.打开微信跳一跳,并点击开始
- 2.开启服务器,如上
- 3.点击开始,先点击小人底部适当位置,然后再点想要跳的箱子的位置即可完成,结束之后可点击开始可重新开始ps: 跳的精度不准问题可通过``config.js``中的``magicNumber``微调。。。
## 截图预览

## 感谢
- 增加对ios设备的支持 [@moonou](https://github.com/moonou)
----
由于图片未做处理,加载可能会有点慢。。。