The most classic language makes the most classic game ゚ヽ(。◕‿◕。)ノ゚.:。+ ゚
Gobang 2.0 coming: ゚ヽ(。◕‿◕。)ノ゚.:
Function overview:
It can realize man-machine combatEveryone can fightYou can surrender and count the game time
Compared with the previous Gobang, the core algorithm has not changed. It still judges whether there are five sub lines in the current state (in four directions) of each chess piece. If there are f ...
Posted by papacostas on Sun, 30 Jan 2022 09:54:46 +0100
Basic introduction notes of wechat applet development
vsc installation plug-in (applet development assistant - wechat applet development assistant)
Then you can start with wx - in vsc, and there will be a prompt
alt + up and down arrow move code
ctrl + alt + ↓: copy the current line down
Daily attention:
1. There must be no space between the string and curly braces, otherwise the rec ...
Posted by dodgeqwe on Sat, 29 Jan 2022 08:17:04 +0100
Wechat applet monitors this Data change
Problems encountered
In Vue, for data in state, Vue provides a general way to observe and respond to data changes on Vue instances: monitoring attribute watch.
The same situation is encountered in the development of applet: it is necessary to monitor one or more data in the current page data in real time If there is a general method to monito ...
Posted by xadmin on Fri, 28 Jan 2022 00:46:52 +0100
Small program development considerations
1. The block tag is not rendered on the page, but contains elements. Usage: collective explicit and implicit
2. Directly modify this of the Page instance Data without calling this SetData # cannot change the state of the Page, and it will also cause data inconsistency.
3. Since setData is some communication consumption that requires two threads ...
Posted by WanamakerMedia on Thu, 27 Jan 2022 09:08:40 +0100
Take you by hand to learn how to guess numbers and write the code of the game
Statement: because I am a non professional transcoder and my personal level is limited, there will inevitably be inaccuracies in my blog. If any readers find it, I urge you to actively point out that I also want to know where my mistakes are. Welcome to correct and make progress together.
contact information: 3146367553@qq.com
If you want ...
Posted by kiwis on Thu, 27 Jan 2022 08:22:52 +0100
2022 authorized login of the latest wechat applet (front and back end separation)
1, Foreword
First, let's talk about two major changes in wechat applet recently:
1. The interface for obtaining user information is from the original Wx Replace getUserInfo with Wx getUserProfile
For the new version of applet released after 24:00 on April 28, 2021, the developer calls Wx GetUserInfo will no longer pop up a pop-up window and ...
Posted by Felex on Wed, 26 Jan 2022 16:29:22 +0100
Applet data request, page Jump and drop-down bottom
1, Data request
1. Interface setting
In consideration of security, the applet official requires that the interface requested by the applet must meet the following two conditions:
Only https interfaces can be requestedThe domain name of the interface must be added to the trust list
(1) Developer tool configuration
The first way: use it when ...
Posted by drakkon on Mon, 24 Jan 2022 22:09:47 +0100
You certainly need to know about developing wechat applet
Write in frontBecause wechat applet claims to solve the compatibility problem of front-end programmers, it only needs to code according to the official set of rules of Tencent to meet different terminal needs. Therefore, in the second half of last year, I realized a project used internally by our company with wechat applet (700 + users at prese ...
Posted by MsShelle on Mon, 24 Jan 2022 17:18:39 +0100
react + taro + dva to realize pull-up loading
The final code is at the end
Basic structure
The main body adopts the scrollView component of taro and sets a fixed height for it to make its sliding effective. An onScrollToLower event is configured to trigger the bottom event.
Drop down scroll component
import React from "react";
import { ScrollView } from "@tarojs/components";
import { ...
Posted by Jalz on Sun, 23 Jan 2022 22:16:12 +0100
Uni app packaged into Android Apk full explanation
This article uses cli mode
1, Android native configuration
Official documents
0 install development environment
Prerequisite software:
Android Studio HBuilderXApplet Android offline sdk , download the version sdk (usually the latest version. The version should be consistent with the HBuilder X version. See the section exporting App resourc ...
Posted by titangf on Sun, 23 Jan 2022 12:59:32 +0100