微信跳一跳python辅助工具刷分教程详解

作者:来源:三省网发布时间:2018-01-08 13:52

随着身边不少小伙伴都加入了微信跳一跳挑战,朋友圈最近都被刷爆了,为了刷分,很多小伙伴都开始开挂了,Github大神wangshub分享了一个针对该游戏的开源项目,那微信跳一跳python怎么刷分呢,下面就为大家带来跳一跳python使用教程。

微信跳一跳python使用教程:

工具介绍

Python 2.7

Android 手机

Adb 驱动

Python Matplot绘图

原理说明

将手机点击到《跳一跳》小程序界面;

用Adb 工具获取当前手机截图,并用adb将截图pull上来

adb shell screencap -p /sdcard/1.png

adb pull /sdcard/1.png .

用matplot显示截图(已经图像识别处理)

用鼠标点击起始点和目标位置,计算像素距离 (已经图像识别处理)

根据像素距离,计算按压时间;

用Adb工具点击屏幕蓄力一跳;

adb shell input swipe x y x y time

如果你是 iOS:

运行安装好的 WebDriverAgentRunner

将手机点击到《跳一跳》小程序界面

python3 wechat_jump_iOS_py3.py

依次点击起始位置和目标位置,实现蓄力一跳

打开 python3 wechat_jump_iOS_py3.py,根据蓄力一跳的精准情况更改其中的time_coefficient,直到获得最佳取值

步骤

安卓手机打开USB调试,设置》开发者选项》USB调试

电脑与手机USB线连接,确保执行adb devices可以找到设备id

界面转至微信跳一跳游戏,点击开始游戏

运行python wechat_junp_auto.py,如果手机界面显示USB授权,请点击确认

我的屏幕是1920*1080,距离系数为1.35,如果是别的分辨率,暂时需要修改一下代码中的距离系数.

实验结果:

只要有耐心,你就是王者

 

跳一跳

Jump Jump was the most popular puzzle game in China, Do you know why does it?why it could be? why Chinese people like to play this simple game? it's just a simple game, just play and you will find the reason by yourself. How to play Jump Jump : Jump Jump was Very simple to play and very fun. Players press and hold on screen, the little hero will jump to the next cube when the finger is released. The longer the press is the further the hero can jump. you just be careful do not let the hero fall off the cube, or the game is over. Try it out and have fun! Jump Jump game strategy: 1, continuous jump to the center of box, you will get score +2, +4, +6 ... 2, jump to music box and stay 5 second, then play music and the score +30. 3, jump to the convenience store and stay 5 second, Convenience stores will open and the score +15. 4, jump to Rubik's Cube and stay 5 second, the Rubik's cube will rotate, and the score +10. 5, jump to cover and stay 5 second, the cover will play flush sound and the score +5. The features of Jump Jump : 1. the most popular puzzle game. 2. Easy to use,easy to play. 3. Funny and make you Smarter. 4. Game is automatically saved. 5. Beautiful and simple UI. Jump Jump tips: 1. immediately jump,! 2. quick to look around! 3. Be careful not to fall! Thank you for play my game,we will make it better and better more and more funny.[详情]