微信《跳一跳》这个一根手指能玩的游戏,是可以用 Python 来玩的。。

2017-12-29 10:35:14 +08:00
 easternslope

https://zhuanlan.zhihu.com/p/32452473

15009 次点击
所在节点    Python
56 条回复
zjb861107
2017-12-29 15:48:02 +08:00
有些手机 adb shell input swipe 是无效的
cdlnls
2017-12-29 15:49:11 +08:00
@zjb861107 开发者模式应该都是有相关设置的,打开就可以了
isaacpei
2017-12-29 16:19:56 +08:00
撸了一个自动识别位置, 不是特别准确不过能跑, 已经 400 多分了
springsummer
2017-12-29 16:35:23 +08:00
点 320 分。太累了。不玩了
chengzhoukun
2017-12-29 16:35:59 +08:00
easternslope
2017-12-29 16:46:55 +08:00
@gamecreating 哈哈 正在写
WillShin
2017-12-29 17:01:36 +08:00
为啥其他游戏用外挂被人所不齿,这种小游戏用外挂大家貌似都很宽容呢?
cls1991
2017-12-29 17:06:18 +08:00
@chengzhoukun 这个能拿到屏幕截图, 也可以估算蓄力时间, 但操作还是没法自动完成.

`adb shell input`

在 iOS 中好像没有类似的实现吧
panda1001
2017-12-29 17:35:48 +08:00
@WillShin 小游戏外挂一般开源
rsl140
2017-12-29 17:35:49 +08:00
@WillShin 只是娱乐一下的 就很宽容了.. 没事点点那种 又不用打什么职业比赛 手动偷笑
lrh3321
2017-12-29 17:36:36 +08:00
不错
shingle
2017-12-29 17:41:24 +08:00
@stardust21 @zjb861107 搞定了,miui 需要在开发者选项中开启`USB 调试(安全设置)`
gamecreating
2017-12-29 17:59:56 +08:00
@easternslope 写好了给我来一份
viking000
2017-12-29 18:00:41 +08:00
@isaacpei 求分享!!!
luoer
2017-12-29 18:05:55 +08:00
@WillShin 因为别的外挂使用成本高 这个外挂开源随便用 大家就心满意足了
Jackliu
2017-12-29 18:06:45 +08:00
是不是要出个 node 版本了
mythace
2017-12-29 18:28:38 +08:00
我执行到这里 34 行 im = plt.imshow(img, animated=True) 就报错了,Unable to display children:Error resolving variables Traceback (most recent call last):
File "E:\Program Files\JetBrains\PyCharm Community Edition 2017.2.3\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 1004, in do_it
_typeName, valDict = pydevd_vars.resolve_compound_variable(self.thread_id, self.frame_id, self.scope, self.attributes)
TypeError: 'NoneType' object is not iterable
voocel
2017-12-29 18:37:31 +08:00
这个厉害了
oisc
2017-12-29 18:38:09 +08:00
我还以为是强化学习做的,原来要手动点,然后算距离
NightRemix
2017-12-29 18:50:14 +08:00
6666666666

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/418518

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX