当前位置:网站首页>My best game based on wechat applet development
My best game based on wechat applet development
2022-07-08 00:41:00 【biyezuopinvip】
Resource download address :https://download.csdn.net/download/sheziqiong/85949477
Resource download address :https://download.csdn.net/download/sheziqiong/85949477
1. Get ready
- Node.js 9.x above
- MongoDB
- Installation dependency
npm i
2. function
Before grabbing the request , Please delete the applet completely , Re search the applet name to enter . Because you have logged in before , I can't catch the login request later
2.1 Crawling question bank
Idea of climbing questions : Keep fighting with friends to get questions , Submitting the answer at will will return the correct answer , Store in database , Repeated neglect
Log in to the game with two wechat signals , Catch the login request https://puzzle-gateway.zaih.com/pauthp/jwt
Copy the returned access_token
and account_id
, fill src/crawl.js in
perform npm run crawl
Start automatic crawling
If there is a band leave
Word tips , It shows that the last game was an abnormal exit . Just turn off the script , Just run it again .
Climbing questions takes some time , You can also import I climbed the question bank MongoShell BSON(.json)(12.2k A title , Continuous updating )
The database name is wzzh
, Import command , Pay attention to your file path
mongoimport -d wzzh -c questions --file ~/Downloads/questions.json --jsonArray --drop
2.2 Answer AIDS
Log in to the game with the number you want to answer , Catch the login request https://puzzle-gateway.zaih.com/pauthp/jwt
Copy the returned access_token
and account_id
, fill src/robot.js in
Then modify the theme
For the classification index of the questions you want to answer
perform npm run robot
Start intelligent answer , The answer process is fully automatic
If the question is not in the question bank , Would call game-helper/answer Search for answers
Automatically submit the answer with the most search results ( Improve the odds ), At the same time, the correct answer to this question will be automatically recorded in the question bank
You only need to pay attention to the information printed on the terminal , If there is an error , Please mention issue Give us feedback
3. Screenshot
Resource download address :https://download.csdn.net/download/sheziqiong/85949477
Resource download address :https://download.csdn.net/download/sheziqiong/85949477
边栏推荐
- [programming problem] [scratch Level 2] 2019.09 make bat Challenge Game
- Su embedded training - Day3
- 大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
- Summary of the third course of weidongshan
- Scrapy framework
- 基于人脸识别实现课堂抬头率检测
- fabulous! How does idea open multiple projects in a single window?
- [研发人员必备]paddle 如何制作自己的数据集,并显示。
- CVE-2022-28346:Django SQL注入漏洞
- Emotional post station 010: things that contemporary college students should understand
猜你喜欢
“一个优秀程序员可抵五个普通程序员”,差距就在这7个关键点
Application practice | the efficiency of the data warehouse system has been comprehensively improved! Data warehouse construction based on Apache Doris in Tongcheng digital Department
爬虫实战(八):爬表情包
Service Mesh介绍,Istio概述
What has happened from server to cloud hosting?
8道经典C语言指针笔试题解析
52歲的周鴻禕,還年輕嗎?
腾讯安全发布《BOT管理白皮书》|解读BOT攻击,探索防护之道
Service mesh introduction, istio overview
What if the testing process is not perfect and the development is not active?
随机推荐
服务器防御DDOS的方法,杭州高防IP段103.219.39.x
C language 001: download, install, create the first C project and execute the first C language program of CodeBlocks
Tencent security released the white paper on BOT Management | interpreting BOT attacks and exploring ways to protect
NVIDIA Jetson测试安装yolox过程记录
Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知
Installation and configuration of sublime Text3
The underlying principles and templates of new and delete
[OBS] the official configuration is use_ GPU_ Priority effect is true
[C language] objective questions - knowledge points
玩轉Sonar
如果在构造函数中抛出异常,最好的做法是防止内存泄漏?
How does the markdown editor of CSDN input mathematical formulas--- Latex syntax summary
Hotel
Qt不同类之间建立信号槽,并传递参数
8道经典C语言指针笔试题解析
某马旅游网站开发(对servlet的优化)
Service mesh introduction, istio overview
QT establish signal slots between different classes and transfer parameters
【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice