当前位置:网站首页>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
边栏推荐
- Play sonar
- CVE-2022-28346:Django SQL注入漏洞
- Vscode software
- tourist的NTT模板
- 【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice
- 快速上手使用本地测试工具postman
- 什么是负载均衡?DNS如何实现负载均衡?
- QT adds resource files, adds icons for qaction, establishes signal slot functions, and implements
- A brief history of information by James Gleick
- 1293_ Implementation analysis of xtask resumeall() interface in FreeRTOS
猜你喜欢
NVIDIA Jetson测试安装yolox过程记录
Stm32f1 and stm32cubeide programming example - rotary encoder drive
QT adds resource files, adds icons for qaction, establishes signal slot functions, and implements
What has happened from server to cloud hosting?
SDNU_ACM_ICPC_2022_Summer_Practice(1~2)
An error is reported during the process of setting up ADG. Rman-03009 ora-03113
赞!idea 如何单窗口打开多个项目?
[programming problem] [scratch Level 2] draw ten squares in December 2019
[研发人员必备]paddle 如何制作自己的数据集,并显示。
3 years of experience, can't you get 20K for the interview and test post? Such a hole?
随机推荐
1293_ Implementation analysis of xtask resumeall() interface in FreeRTOS
Service Mesh介绍,Istio概述
Smart regulation enters the market, where will meituan and other Internet service platforms go
腾讯安全发布《BOT管理白皮书》|解读BOT攻击,探索防护之道
An error is reported during the process of setting up ADG. Rman-03009 ora-03113
Solution to the problem of unserialize3 in the advanced web area of the attack and defense world
Langchao Yunxi distributed database tracing (II) -- source code analysis
The standby database has been delayed. Check that the MRP is wait_ for_ Log, apply after restarting MRP_ Log but wait again later_ for_ log
Hotel
Basic principle and usage of dynamic library, -fpic option context
3 years of experience, can't you get 20K for the interview and test post? Such a hole?
22年秋招心得
How to learn a new technology (programming language)
Su embedded training - day4
RPA cloud computer, let RPA out of the box with unlimited computing power?
Kubernetes static pod (static POD)
Reentrantlock fair lock source code Chapter 0
paddle入门-使用LeNet在MNIST实现图像分类方法二
【笔记】常见组合滤波电路
A brief history of information by James Gleick