当前位置:网站首页>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
边栏推荐
- 股票开户免费办理佣金最低的券商,手机上开户安全吗
- C# 泛型及性能比较
- CVE-2022-28346:Django SQL注入漏洞
- 51 communicates with the Bluetooth module, and 51 drives the Bluetooth app to light up
- How can CSDN indent the first line of a paragraph by 2 characters?
- Deep dive kotlin synergy (XXII): flow treatment
- Tencent security released the white paper on BOT Management | interpreting BOT attacks and exploring ways to protect
- What if the testing process is not perfect and the development is not active?
- 备库一直有延迟,查看mrp为wait_for_log,重启mrp后为apply_log但过一会又wait_for_log
- 攻防演练中沙盘推演的4个阶段
猜你喜欢
Tencent security released the white paper on BOT Management | interpreting BOT attacks and exploring ways to protect
Service mesh introduction, istio overview
Jouer sonar
单机高并发模型设计
52歲的周鴻禕,還年輕嗎?
How does the markdown editor of CSDN input mathematical formulas--- Latex syntax summary
[研发人员必备]paddle 如何制作自己的数据集,并显示。
The underlying principles and templates of new and delete
DNS series (I): why does the updated DNS record not take effect?
接口测试要测试什么?
随机推荐
Emotional post station 010: things that contemporary college students should understand
Summary of the third course of weidongshan
[Yugong series] go teaching course 006 in July 2022 - automatic derivation of types and input and output
ABAP ALV LVC template
1293_ Implementation analysis of xtask resumeall() interface in FreeRTOS
ReentrantLock 公平锁源码 第0篇
攻防演练中沙盘推演的4个阶段
Service Mesh的基本模式
Development of a horse tourism website (realization of login, registration and exit function)
CVE-2022-28346:Django SQL注入漏洞
Deep dive kotlin synergy (XXII): flow treatment
从Starfish OS持续对SFO的通缩消耗,长远看SFO的价值
Zhou Hongqi, 52 ans, est - il encore jeune?
手写一个模拟的ReentrantLock
paddle入门-使用LeNet在MNIST实现图像分类方法一
基于卷积神经网络的恶意软件检测方法
Su embedded training - Day3
【笔记】常见组合滤波电路
韦东山第二期课程内容概要
Is 35 really a career crisis? No, my skills are accumulating, and the more I eat, the better