git repo:https://github.com/HHHHhgqcdxhg/azurlane-fanpai
已部署在:https://blog.ggemo.com/azurlane-fanpai/dist/index.html
一下午撸出来的web复现的碧蓝航线翻牌小游戏.
一路写下来没遇到坑,但也没考虑性能.
git repo:https://github.com/HHHHhgqcdxhg/azurlane-fanpai
已部署在:https://blog.ggemo.com/azurlane-fanpai/dist/index.html
一下午撸出来的web复现的碧蓝航线翻牌小游戏.
一路写下来没遇到坑,但也没考虑性能.
1 | VK_CODE = { |
win32按键码.留着一份省着每次再找了
匹配相同的牌时是裁下每张牌后,直接对比每张图片的数组是否相同
翻牌的时候想要同时点两张牌,但是查了下adb好像没有支持mult touch,然后想到在模拟器上给每个牌的位置设置快捷键,翻牌的时候调用win32api点击对应的快捷键来翻牌.
最终成绩4.45秒.b站视频:https://www.bilibili.com/video/av44287472/
下面是完整代码.其中vkcode.VK_CODE是win32按键码映射表,在这篇博客有
82~89行那些几个sleep的参数是试出来的,再小就容易出错了
资料名 | 链接 | 作者 | 备注 |
---|---|---|---|
Python文档 | https://www.rddoc.com/doc/Python/3.6.0/zh/ | ||
python3官方教程 | http://www.pythondoc.com/pythontutorial3/index.html | ||
interview_python | https://github.com/taizilongxu/interview_python/blob/master/Readme.md | taizilongxu | |
Effective Python | https://book.douban.com/subject/26709315/ | Brett Slatkin | ISBN 978-7-111-52355-0 |
流畅的Python | http://www.ituring.com.cn/book/1564 | Luciano Ramalho | ISBN 978-7-115-45415-7 |
python cookbook | https://python3-cookbook.readthedocs.io/zh_CN/latest/ | David Beazley, Brian K. Jones | v.3.0.0 |
pythontutor | http://pythontutor.com/visualize.html | 实用工具,非教程.对理解深拷贝浅拷贝很有用 |
本项目git仓库:https://dev.tencent.com/u/hhhhhg/p/bangumiDesktopAssistant
尝试了打包成exe却做不到,所以应该只有装了python才能用了XD
python版本是3.6.4(因为用到了f前缀字符串,所以大概需要至少3.6版本),操作系统只试了windows
使用:
Abstract—Based on thorough analysis of the characteristics of both C/S and B/S styles, C/S and B/S mixed style is brought forward under the illumination of isomer. By applying C/S and B/S mixed style on software testing platform of reliability and maintainability, it is proved that this style can satisfy more functional requirements of the platform.
摘要——在对C/S和B/S模式的特征的完全分析的基础上,在化学的同分异构体的启发下提出了C/S和B/S混合架构。C/S和B/S混合架构在软件可靠性与可维护性测试平台的应用证明了这种模式可以满足更多平台的功能需求。
关键字——客户端/服务器;浏览器/服务器;C/S和B/S混合架构;软件可靠性与可维护性测试平台