CN114392563A - Color block generation method and storage device - Google Patents

Color block generation method and storage device Download PDF

Info

Publication number
CN114392563A
CN114392563A CN202210060328.7A CN202210060328A CN114392563A CN 114392563 A CN114392563 A CN 114392563A CN 202210060328 A CN202210060328 A CN 202210060328A CN 114392563 A CN114392563 A CN 114392563A
Authority
CN
China
Prior art keywords
color block
value
user
reaction speed
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210060328.7A
Other languages
Chinese (zh)
Inventor
邓兰勤
刘秋荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Zhongkodot Health Technology Co ltd
Original Assignee
Fujian Zhongkodot Health Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Zhongkodot Health Technology Co ltd filed Critical Fujian Zhongkodot Health Technology Co ltd
Priority to CN202210060328.7A priority Critical patent/CN114392563A/en
Publication of CN114392563A publication Critical patent/CN114392563A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • A63F13/46Computing the game score
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The present application relates to the field of data processing technologies, and in particular, to a method for generating color patches and a storage device. The method for generating the color blocks comprises the following steps: obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number; and adjusting the color block parameters of the next target color block according to the comprehensive evaluation value. In the method, the position and the color value of the next target color block are not invariable, but are individually adjusted according to the click reaction speed of each user and the difference of the current level, so that the position and the color value of the new color block can be adjusted according to the user even if the same level faces different users, the training difficulty which is most suitable for the user is ensured to be provided for the user, and the training effect can be ensured while the interest degree of the user is improved.

Description

Color block generation method and storage device
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method for generating color patches and a storage device.
Background
With the improvement of national social level, parents pay more and more attention to the education problem of children, wherein the training of the special attention of children is a very concerned problem of parents. To train attention to children, more and more products are now on the market, with many more games of the intelligence-developing type for attention-specific training.
Color block games are also produced as one category, however, the existing color block games for training attention have common problems that difficulty adjustment cannot be performed according to the characteristics of each user, so that a trained person feels too high difficulty and loses interest, or the difficulty is too low, and the attention and the reaction capability of the trained person cannot be improved properly.
Disclosure of Invention
In view of the above problems, the present application provides a method for generating color blocks, which is used to solve the technical problem that the existing color block game cannot generate color block training with different difficulty according to the difference of each user. The specific technical scheme is as follows:
a method of color patch generation, comprising the steps of:
obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number;
and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value.
Further, the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, and if the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, setting the weight value of the reaction speed to be greater than the weight value of the level number;
if the click response speed of the user is not greater than the average click response speed corresponding to the current level number, setting the weight value of the current level number to be greater than the weight value of the response speed;
and if the click reaction speed of the user is equal to the average click reaction speed corresponding to the current level number, dynamically and randomly distributing the weight value of the level number and the weight value of the reaction speed.
Further, the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether evaluation indexes except the reaction speed and the checkpoint number exist, if so, multiplying the evaluation score of each evaluation index by the corresponding weight value to obtain a comprehensive evaluation value;
if not, directly multiplying the evaluation scores of the response speed and the checkpoint number with the corresponding weight value to obtain a comprehensive evaluation value.
Further, the "adjusting the color block parameter of the next target color block according to the comprehensive evaluation value" specifically includes the steps of:
the higher the value of the comprehensive evaluation value is, the farther the position of the next target color block is from the last target color block found by the user, and/or the closer the color block value of the periphery of the next target color block is to the color block value of the next target color block, and/or the total number of the color blocks at the next moment is greater than the total number of the color blocks at the last moment.
Further, the size and the shape of the color blocks are fixed.
In order to solve the technical problem, the storage device is further provided, and the specific technical scheme is as follows:
a storage device having stored therein a set of instructions for performing:
obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number;
and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value.
Further, the set of instructions is further for performing:
the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, and if the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, setting the weight value of the reaction speed to be greater than the weight value of the level number;
if the click response speed of the user is not greater than the average click response speed corresponding to the current level number, setting the weight value of the current level number to be greater than the weight value of the response speed;
and if the click reaction speed of the user is equal to the average click reaction speed corresponding to the current level number, dynamically and randomly distributing the weight value of the level number and the weight value of the reaction speed.
Further, the set of instructions is further for performing:
the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether evaluation indexes except the reaction speed and the checkpoint number exist, if so, multiplying the evaluation score of each evaluation index by the corresponding weight value to obtain a comprehensive evaluation value;
if not, directly multiplying the evaluation scores of the response speed and the checkpoint number with the corresponding weight value to obtain a comprehensive evaluation value.
Further, the set of instructions is further for performing:
the method for adjusting the color block parameters of the next target color block according to the comprehensive evaluation value specifically comprises the following steps:
the higher the value of the comprehensive evaluation value is, the farther the position of the next target color block is from the last target color block found by the user, and/or the closer the color block value of the periphery of the next target color block is to the color block value of the next target color block, and/or the total number of the color blocks at the next moment is greater than the total number of the color blocks at the last moment.
Further, the size and the shape of the color blocks are fixed.
The invention has the beneficial effects that: a method of color patch generation, comprising the steps of: obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number; and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value. In the method, the position and the color value of the next target color block are not invariable, but are individually adjusted according to the click reaction speed of each user and the difference of the current level, so that the position and the color value of the new color block can be adjusted according to the user even if the same level faces different users, the training difficulty which is most suitable for the user is ensured to be provided for the user, and the training effect can be ensured while the interest degree of the user is improved.
The above description of the present invention is only an overview of the technical solutions of the present application, and in order to make the technical solutions of the present application more clearly understood by those skilled in the art, the present invention may be further implemented according to the content described in the text and drawings of the present application, and in order to make the above objects, other objects, features, and advantages of the present application more easily understood, the following description is made in conjunction with the detailed description of the present application and the drawings.
Drawings
The drawings are only for purposes of illustrating the principles, implementations, applications, features, and effects of particular embodiments of the present application, as well as others related thereto, and are not to be construed as limiting the application.
In the drawings of the specification:
FIG. 1 is a first flowchart of a method for generating color blocks according to an embodiment;
FIG. 2 is a second flowchart of a method for generating color blocks according to the embodiment;
FIG. 3 is a third flowchart of a method for generating color blocks according to the embodiment;
FIG. 4 is a fourth flowchart of a method for generating color blocks according to the embodiment;
fig. 5 is a block diagram of a storage device according to an embodiment.
The reference numerals referred to in the above figures are explained below:
500. a storage device.
Detailed Description
In order to explain in detail possible application scenarios, technical principles, practical embodiments, and the like of the present application, the following detailed description is given with reference to the accompanying drawings in conjunction with the listed embodiments. The embodiments described herein are merely for more clearly illustrating the technical solutions of the present application, and therefore, the embodiments are only used as examples, and the scope of the present application is not limited thereby.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or related to other embodiments specifically defined. In principle, in the present application, the technical features mentioned in the embodiments can be combined in any manner to form a corresponding implementable technical solution as long as there is no technical contradiction or conflict.
Unless defined otherwise, technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the use of relational terms herein is intended only to describe particular embodiments and is not intended to limit the present application.
In the description of the present application, the term "and/or" is a expression for describing a logical relationship between objects, meaning that three relationships may exist, for example a and/or B, meaning: there are three cases of A, B, and both A and B. In addition, the character "/" herein generally indicates that the former and latter associated objects are in a logical relationship of "or".
In this application, terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
Without further limitation, in this application, the use of "including," "comprising," "having," or other similar expressions in phrases and expressions of "including," "comprising," or "having," is intended to cover a non-exclusive inclusion, and such expressions do not exclude the presence of additional elements in a process, method, or article that includes the recited elements, such that a process, method, or article that includes a list of elements may include not only those elements but also other elements not expressly listed or inherent to such process, method, or article.
As is understood in the examination of the guidelines, the terms "greater than", "less than", "more than" and the like in this application are to be understood as excluding the number; the expressions "above", "below", "within" and the like are understood to include the present numbers. In addition, in the description of the embodiments of the present application, "a plurality" means two or more (including two), and expressions related to "a plurality" similar thereto are also understood, for example, "a plurality of groups", "a plurality of times", and the like, unless specifically defined otherwise.
As mentioned in the background, the conventional generation method of a color block game for training attention is fixed, and cannot be dynamically adjusted in difficulty according to the characteristics of each user.
Therefore, if the training of attention of the user is to be really achieved, the color blocks which appear randomly need to be avoided from appearing continuously in the same area, and the colors of the color blocks which appear cannot be too different, so that the positions of new color blocks are too easy to recognize. The difficulty base number of the color blocks can be dynamically adjusted along with the increase of the difficulty of the level and the time of click reaction of the user. The color blocks displayed each time can not be overlapped; the color blocks are increased along with the increase of the difficulty base number, the higher the probability that the color blocks appear at the position where the last color block is far away from the position and the color blocks are more dense; the color difference value of the color blocks can be increased along with the increase of the difficulty base number, and the color blocks with the difference values close to the distance are smaller and smaller.
Therefore, in the present application, the evaluation index is obtained to calculate the comprehensive evaluation value, and the color block parameter of the next target color block is adjusted according to the comprehensive evaluation value, mainly to adjust the position and color value of the color block. The evaluation index includes the click reaction speed of the user and the current corresponding level number, and the evaluation index can reflect the difference of each user, so that the training difficulty suitable for the user can be adjusted according to the user, and the following description is provided.
In this embodiment, the target color block refers to a color block that the user needs to correctly select during the game. Such as: in the game process, a user is required to select a color block with fixed color all the time, the color block with fixed color appears at different positions every time, and a plurality of color blocks with similar colors appear around the color block, so that the user is required to concentrate attention and test the reaction force and memory of the user very much in the game process.
As shown in fig. 1, a method of generating color blocks can be applied to a storage device, which includes but is not limited to: personal computers, servers, general purpose computers, special purpose computers, network devices, embedded devices, programmable devices, intelligent mobile terminals, etc. The method for generating the color blocks specifically comprises the following steps:
step S101: obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click reaction speed of the user and the current corresponding level number.
Step S102: and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value.
A method of color patch generation, comprising the steps of: obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number; and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value. In the method, the position and the color value of the next target color block are not invariable, but are individually adjusted according to the click reaction speed of each user and the difference of the current level, so that the position and the color value of the new color block can be adjusted according to the user even if the same level faces different users, the training difficulty which is most suitable for the user is ensured to be provided for the user, and the training effect can be ensured while the interest degree of the user is improved.
As shown in fig. 2, the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes:
step S201: judging whether the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, and if the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, setting the weight value of the reaction speed to be greater than the weight value of the level number.
Step S202: and if the click response speed of the user is not greater than the average click response speed corresponding to the current level number, setting the weight value of the current level number to be greater than the weight value of the response speed.
Step S203: and if the click reaction speed of the user is equal to the average click reaction speed corresponding to the current level number, dynamically and randomly distributing the weight value of the level number and the weight value of the reaction speed.
Further, as shown in fig. 3, the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes:
step S301: whether there are any evaluation indexes other than the response speed and the number of checkpoints is judged, and if there are any evaluation indexes, the evaluation score of each evaluation index is multiplied by the corresponding weight value to obtain a comprehensive evaluation value.
Step S302: if not, directly multiplying the evaluation scores of the response speed and the checkpoint number with the corresponding weight value to obtain a comprehensive evaluation value.
The following is a detailed description of the steps of calculating the comprehensive evaluation value based on the evaluation index:
the specific weight algorithm calculation formula is as follows:
Figure BDA0003477998130000081
wherein X is the comprehensive evaluation value of the evaluated scheme; omegaiWeight value of 0 ≦ ω representing each individual evaluation indexi≤1,
Figure BDA0003477998130000082
xiAn evaluation score representing each single index evaluation; n represents the number of evaluation indexes.
Note that, in the present embodiment, the evaluation score of each single-index evaluation is fixed, and as shown in the following table, the present embodiment determines the overall evaluation value by five evaluation indexes.
Figure BDA0003477998130000083
As shown in the above table, the weight value of the level of the checkpoint is 0.3, and the weight value of the response speed is 0.2. It should be noted that, if the click response speed of the user is greater than the average click response speed corresponding to the current level number, the weight value of the response speed is 0.3, the weight value of the level is 0.2, and the weight values of other evaluation indicators are not adjusted.
When the user enters each gate, the program can screen out the difficulty scheme most suitable for the user according to the weight of the evaluation index in real time.
As shown in fig. 4, the "adjusting the color block parameter of the next target color block according to the comprehensive evaluation value" specifically includes step S402: the higher the value of the comprehensive evaluation value is, the farther the position of the next target color block is from the last target color block found by the user, and/or the closer the color block value of the periphery of the next target color block is to the color block value of the next target color block, and/or the total number of the color blocks at the next moment is greater than the total number of the color blocks at the last moment.
The higher the overall evaluation value, the higher the difficulty that this user can accept. Therefore, the difficulty of the game can be improved by adjusting the distance between the next target color block and the target color block, the color block value of the color block at the periphery of the next target color block, the total number of all the color blocks and the like. Therefore, the game difficulty can be dynamically adjusted along with the increase of the level difficulty and the speed of click reaction of the user on the whole, and the game cannot become difficult and easy suddenly, so that the game has the feeling of gradually increasing the difficulty. The position of the area where the color block appears every time seems random, but is regular, the color block is easier to appear in the area which is not noticed by the user according to the increase of the level difficulty, the color block which appears before is felt to be difficult to distinguish, but the difficulty is automatically reduced along with the change of the reaction speed of the user, and the newly appearing color block is easier to find compared with the color block which appears last time. The user needs to pay more attention to and remember the color and the position of each color block to run through the higher level gate.
Step S401 is the same as step S101, and a repeated description thereof is omitted.
In this embodiment, preferably, the size and shape of the color patch are fixed. Therefore, the pixel color value consuming the CPU performance is not needed to be used for detection, the circular detection is directly used, and the overlapping is avoided. And (4) a post-overlap position shifting algorithm, namely dividing the circular overlap region into four regions, and then performing reverse direction random displacement according to the value of the overlap level. The specific position shift algorithm is as follows:
in this embodiment, each appearing color block is a solid circle with a radius of 30 pixels, and whether existing circular color blocks overlap is detected first, and the overlap can be determined by determining that the distance between the centers of two circles is smaller than the radius of the two circles, and a specific calculation formula is shown as follows: v (X1-X2)2+(Y1-Y2)2<R1+ R2, where X represents the upper left X-axis coordinate of two color blocks, Y represents the upper left Y-axis coordinate of two color blocks, and R represents the radius of two circular color blocks. When the overlapping occurs, when the difference is judged to be a negative number by using (X1-X2), the X shaft is displaced to the left by the distance of the corresponding difference, and if the difference is a positive number, the X shaft is displaced to the right by the distance of the corresponding difference; when the difference is judged to be a negative number by using (Y1-Y2), the Y-axis is displaced upward by the distance corresponding to the difference, and if the difference is a positive number, the Y-axis is displaced downward by the distance corresponding to the difference.
Referring now to FIG. 5, an embodiment of a storage device 500 is illustrated:
a storage device 500 having stored therein a set of instructions for performing:
obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number;
and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value.
In the above storage device 500, the position and color value of the next target color block are not unchanged, but are individually adjusted according to the click reaction speed of each user and the current level difference, so that it can be ensured that even if the same level is faced to different users, the position and color value of the new color block can be adjusted according to the user, thereby ensuring that the training difficulty most suitable for the user is provided for the user, and the training effect can be ensured while the user interest is improved.
Further, the set of instructions is further for performing:
the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, and if the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, setting the weight value of the reaction speed to be greater than the weight value of the level number;
if the click response speed of the user is not greater than the average click response speed corresponding to the current level number, setting the weight value of the current level number to be greater than the weight value of the response speed;
and if the click reaction speed of the user is equal to the average click reaction speed corresponding to the current level number, dynamically and randomly distributing the weight value of the level number and the weight value of the reaction speed.
Further, the set of instructions is further for performing:
the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether evaluation indexes except the reaction speed and the checkpoint number exist, if so, multiplying the evaluation score of each evaluation index by the corresponding weight value to obtain a comprehensive evaluation value;
if not, directly multiplying the evaluation scores of the response speed and the checkpoint number with the corresponding weight value to obtain a comprehensive evaluation value.
The calculation of the comprehensive evaluation value based on the evaluation index is specifically described below:
the specific weight algorithm calculation formula is as follows:
Figure BDA0003477998130000111
wherein X is the comprehensive evaluation value of the evaluated scheme; omegaiWeight value of 0 ≦ ω representing each individual evaluation indexi≤1,
Figure BDA0003477998130000112
xiAn evaluation score representing each single index evaluation; n represents the number of evaluation indexes.
Note that, in the present embodiment, the evaluation score of each single-index evaluation is fixed, and as shown in the following table, the present embodiment determines the overall evaluation value by five evaluation indexes.
Figure BDA0003477998130000113
As shown in the above table, the weight value of the level of the checkpoint is 0.3, and the weight value of the response speed is 0.2. It should be noted that, if the click response speed of the user is greater than the average click response speed corresponding to the current level number, the weight value of the response speed is 0.3, the weight value of the level is 0.2, and the weight values of other evaluation indicators are not adjusted.
When the user enters each gate, the program can screen out the difficulty scheme most suitable for the user according to the weight of the evaluation index in real time.
Further, the set of instructions is further for performing:
the method for adjusting the color block parameters of the next target color block according to the comprehensive evaluation value specifically comprises the following steps:
the higher the value of the comprehensive evaluation value is, the farther the position of the next target color block is from the last target color block found by the user, and/or the closer the color block value of the periphery of the next target color block is to the color block value of the next target color block, and/or the total number of the color blocks at the next moment is greater than the total number of the color blocks at the last moment.
Further, the size and the shape of the color blocks are fixed.
The higher the overall evaluation value, the higher the difficulty that this user can accept. Therefore, the difficulty of the game can be improved by adjusting the distance between the next target color block and the target color block, the color block value of the color block at the periphery of the next target color block, the total number of all the color blocks and the like. Therefore, the game difficulty can be dynamically adjusted along with the increase of the level difficulty and the speed of click reaction of the user on the whole, and the game cannot become difficult and easy suddenly, so that the game has the feeling of gradually increasing the difficulty. The position of the area where the color block appears every time seems random, but is regular, the color block is easier to appear in the area which is not noticed by the user according to the increase of the level difficulty, the color block which appears before is felt to be difficult to distinguish, but the difficulty is automatically reduced along with the change of the reaction speed of the user, and the newly appearing color block is easier to find compared with the color block which appears last time. The user needs to pay more attention to and remember the color and the position of each color block to run through the higher level gate.
In this embodiment, preferably, the size and shape of the color patch are fixed. Therefore, the pixel color value consuming the CPU performance is not needed to be used for detection, the circular detection is directly used, and the overlapping is avoided. And (4) a post-overlap position shifting algorithm, namely dividing the circular overlap region into four regions, and then performing reverse direction random displacement according to the value of the overlap level. The specific position shift algorithm is as follows:
in this embodiment, each appearing color block is a solid circle with a radius of 30 pixels, and whether existing circular color blocks overlap is detected first, and the overlap can be determined by determining that the distance between the centers of two circles is smaller than the radius of the two circles, and a specific calculation formula is shown as follows: v (X1-X2)2+(Y1-Y2)2<R1+ R2, wherein X represents the upper left X-axis coordinate of two color blocksY denotes the top left Y-axis coordinate of the two color blocks, and R denotes the radius of the two circular color blocks. When the overlapping occurs, when the difference is judged to be a negative number by using (X1-X2), the X shaft is displaced to the left by the distance of the corresponding difference, and if the difference is a positive number, the X shaft is displaced to the right by the distance of the corresponding difference; when the difference is judged to be a negative number by using (Y1-Y2), the Y-axis is displaced upward by the distance corresponding to the difference, and if the difference is a positive number, the Y-axis is displaced downward by the distance corresponding to the difference.
Finally, it should be noted that, although the above embodiments have been described in the text and drawings of the present application, the scope of the patent protection of the present application is not limited thereby. All technical solutions which are generated by replacing or modifying the equivalent structure or the equivalent flow according to the contents described in the text and the drawings of the present application, and which are directly or indirectly implemented in other related technical fields, are included in the scope of protection of the present application.

Claims (10)

1. A method of color block generation, comprising the steps of:
obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number;
and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value.
2. The method for generating color blocks according to claim 1, wherein said "calculating a comprehensive evaluation value according to said evaluation index" specifically comprises the steps of:
judging whether the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, and if the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, setting the weight value of the reaction speed to be greater than the weight value of the level number;
if the click response speed of the user is not greater than the average click response speed corresponding to the current level number, setting the weight value of the current level number to be greater than the weight value of the response speed;
and if the click reaction speed of the user is equal to the average click reaction speed corresponding to the current level number, dynamically and randomly distributing the weight value of the level number and the weight value of the reaction speed.
3. The method for generating color blocks according to claim 2, wherein said "calculating a comprehensive evaluation value according to said evaluation index" specifically comprises the steps of:
judging whether evaluation indexes except the reaction speed and the checkpoint number exist, if so, multiplying the evaluation score of each evaluation index by the corresponding weight value to obtain a comprehensive evaluation value;
if not, directly multiplying the evaluation scores of the response speed and the checkpoint number with the corresponding weight value to obtain a comprehensive evaluation value.
4. The method of claim 1, wherein the "adjusting color block parameters of a next target color block according to the comprehensive evaluation value" specifically comprises the steps of:
the higher the value of the comprehensive evaluation value is, the farther the position of the next target color block is from the last target color block found by the user, and/or the closer the color block value of the periphery of the next target color block is to the color block value of the next target color block, and/or the total number of the color blocks at the next moment is greater than the total number of the color blocks at the last moment.
5. The method of any of claims 1 to 4, wherein the size and shape of the color block are fixed.
6. A storage device having a set of instructions stored therein, the set of instructions being operable to perform:
obtaining an evaluation index, and calculating a comprehensive evaluation value according to the evaluation index, wherein the evaluation index comprises: the click response speed of the user and the current corresponding level number;
and adjusting color block parameters of the next target color block according to the comprehensive evaluation value, wherein the color block parameters comprise: the position of appearance and the color value.
7. The storage device of claim 6, wherein the set of instructions is further configured to perform:
the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, and if the click reaction speed of the user is greater than the average click reaction speed corresponding to the current level number, setting the weight value of the reaction speed to be greater than the weight value of the level number;
if the click response speed of the user is not greater than the average click response speed corresponding to the current level number, setting the weight value of the current level number to be greater than the weight value of the response speed;
and if the click reaction speed of the user is equal to the average click reaction speed corresponding to the current level number, dynamically and randomly distributing the weight value of the level number and the weight value of the reaction speed.
8. The storage device of claim 7, wherein the set of instructions is further configured to perform:
the "calculating a comprehensive evaluation value according to the evaluation index" specifically includes the steps of:
judging whether evaluation indexes except the reaction speed and the checkpoint number exist, if so, multiplying the evaluation score of each evaluation index by the corresponding weight value to obtain a comprehensive evaluation value;
if not, directly multiplying the evaluation scores of the response speed and the checkpoint number with the corresponding weight value to obtain a comprehensive evaluation value.
9. The storage device of claim 6, wherein the set of instructions is further configured to perform:
the method for adjusting the color block parameters of the next target color block according to the comprehensive evaluation value specifically comprises the following steps:
the higher the value of the comprehensive evaluation value is, the farther the position of the next target color block is from the last target color block found by the user, and/or the closer the color block value of the periphery of the next target color block is to the color block value of the next target color block, and/or the total number of the color blocks at the next moment is greater than the total number of the color blocks at the last moment.
10. A storage device as claimed in any one of claims 6 to 9, characterized in that the size and shape of the color blocks are fixed.
CN202210060328.7A 2022-01-19 2022-01-19 Color block generation method and storage device Pending CN114392563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210060328.7A CN114392563A (en) 2022-01-19 2022-01-19 Color block generation method and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210060328.7A CN114392563A (en) 2022-01-19 2022-01-19 Color block generation method and storage device

Publications (1)

Publication Number Publication Date
CN114392563A true CN114392563A (en) 2022-04-26

Family

ID=81230570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210060328.7A Pending CN114392563A (en) 2022-01-19 2022-01-19 Color block generation method and storage device

Country Status (1)

Country Link
CN (1) CN114392563A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116172560A (en) * 2023-04-20 2023-05-30 浙江强脑科技有限公司 Reaction speed evaluation method for reaction force training, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070066403A1 (en) * 2005-09-20 2007-03-22 Conkwright George C Method for dynamically adjusting an interactive application such as a videogame based on continuing assessments of user capability
WO2016004016A1 (en) * 2014-06-30 2016-01-07 Lumos Labs, Inc. A divided visual attention speed of processing task for enhancing cognition
CN106726389A (en) * 2017-03-01 2017-05-31 上海思明堂生物科技股份有限公司 A kind of training system for improving vision definition and acuity
CN110548292A (en) * 2019-09-04 2019-12-10 中国科学院深圳先进技术研究院 Multi-identity tracking capability training method and device
CN111841009A (en) * 2019-04-30 2020-10-30 北京达佳互联信息技术有限公司 Method, device, electronic equipment and medium for controlling game difficulty

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070066403A1 (en) * 2005-09-20 2007-03-22 Conkwright George C Method for dynamically adjusting an interactive application such as a videogame based on continuing assessments of user capability
WO2016004016A1 (en) * 2014-06-30 2016-01-07 Lumos Labs, Inc. A divided visual attention speed of processing task for enhancing cognition
CN106726389A (en) * 2017-03-01 2017-05-31 上海思明堂生物科技股份有限公司 A kind of training system for improving vision definition and acuity
CN111841009A (en) * 2019-04-30 2020-10-30 北京达佳互联信息技术有限公司 Method, device, electronic equipment and medium for controlling game difficulty
CN110548292A (en) * 2019-09-04 2019-12-10 中国科学院深圳先进技术研究院 Multi-identity tracking capability training method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
大雄吖: "摸摸鱼搜:我的属性", pages 0 - 40, Retrieved from the Internet <URL:https://v.douyin.com/i6acxPLE/> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116172560A (en) * 2023-04-20 2023-05-30 浙江强脑科技有限公司 Reaction speed evaluation method for reaction force training, terminal equipment and storage medium
CN116172560B (en) * 2023-04-20 2023-08-29 浙江强脑科技有限公司 Reaction speed evaluation method for reaction force training, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
Xuetong The rise of China and its power status
US20190163261A1 (en) Method and System Modeling Social Identity In Digital Media With Dynamic Group Membership
WO2001077792A2 (en) System and method for authenticating a user
CN114392563A (en) Color block generation method and storage device
CN106060665B (en) Television content recommended method, device and page server
CN106776763A (en) destination searching method and device
US11663621B2 (en) Reward giving method, computer-readable recording medium, server device, and game system
CN107875630A (en) Render area determination method and device
JP2019535351A (en) Coordinate capture game system and method
CN106527864A (en) Interference displaying method and device
US20240050852A1 (en) Method for displaying multi-floor map, non-volatile storage medium and processor
Ma et al. Evaluating user perception and emotion of microinteractions using a contradictory semantic scale
CN111475771A (en) Chessboard information processing method, device, equipment and medium based on artificial intelligence
US20160378875A1 (en) Causal profile
EP4291314A1 (en) Automatic detection of prohibited gaming content
Simpson Scale and space: Representations in immersive virtual reality
CN109241213B (en) Electronic map point location aggregation method and device
US11602694B2 (en) Information processing system, information processing apparatus, storage medium, and information processing method
Lei Image CAPTCHA technology research based on the mechanism of finger-guessing game
CN114495643B (en) Training assisting method and storage device
US20130344927A1 (en) Computer implemented puzzle
Torok et al. Smart controller: Introducing a dynamic interface adapted to the gameplay
CN110175290A (en) A kind of content delivery method and device
WO2014069442A1 (en) Ripple user interface for information display system
Evreinova et al. Non-visual game design and training in gameplay skill acquisition–A puzzle game case study

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination