Small program design based on reading pictures and guessing idioms written in Python

Click the following link to get the source code resource:
https://download.csdn.net/download/qq_64505944/87979946
insert image description here
"Look at the picture and guess the idiom" program instructions
Start the venv virtual environment under Idiom/flask, run the python manage.py runserver command to start Flask . Then open the WeChat developer tool and scan the code to log in, select the flask/weapp-idiom applet, and enter the applet login page after loading, as shown in Figure 1. Click "WeChat Login" to prompt WeChat authorization, as shown in Figure 2. Click the "Allow" button to enter the home page of the applet. As shown in Figure 3.
insert image description here
insert image description here
insert image description here

Figure 1 Login page Figure 2 WeChat authorization Figure 3 Mini program home page
Click "Start Challenge" to enter the answer page, as shown in Figure 4. On the answer page, if you click a Chinese character in the option area, the Chinese character will be filled into the current answer box. If you want to modify the answer, you can click the Chinese character in the answer, and the Chinese character will return to the option area.
insert image description here

Figure 4 Start to answer the question
If the answer is correct after filling in 4 Chinese characters, then enter the next level, as shown in Figure 5. Otherwise, an error message is displayed, as shown in Figure 6.
insert image description here

Figure 5 The answer is correct Figure 6 The answer is
wrong Click the "Tell Friends" button to share with friends, as shown in Figure 8.

Figure 7 Share with friends through information Figure 8
Click "Back to Homepage", and click "Leaderboard" on the homepage to view the competition ranking. As shown in Figure 9.

Figure 9 Leaderboard

Guess you like

Origin blog.csdn.net/qq_64505944/article/details/131493788