CN113952734B - Information processing method, interface display method, device and equipment - Google Patents
Information processing method, interface display method, device and equipment Download PDFInfo
- Publication number
- CN113952734B CN113952734B CN202111217652.7A CN202111217652A CN113952734B CN 113952734 B CN113952734 B CN 113952734B CN 202111217652 A CN202111217652 A CN 202111217652A CN 113952734 B CN113952734 B CN 113952734B
- Authority
- CN
- China
- Prior art keywords
- chessboard
- target
- elements
- filled
- initialization
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 119
- 230000010365 information processing Effects 0.000 title claims abstract description 28
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000003379 elimination reaction Methods 0.000 claims description 101
- 238000004088 simulation Methods 0.000 claims description 72
- 230000008030 elimination Effects 0.000 claims description 68
- 230000008569 process Effects 0.000 claims description 46
- 230000004044 response Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 11
- 238000013528 artificial neural network Methods 0.000 claims description 8
- 238000012549 training Methods 0.000 claims description 8
- 238000010801 machine learning Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 18
- 230000037308 hair color Effects 0.000 description 17
- 210000004027 cell Anatomy 0.000 description 8
- 230000014509 gene expression Effects 0.000 description 8
- 238000005070 sampling Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 230000006854 communication Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 210000005036 nerve Anatomy 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000003062 neural network model Methods 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000001020 rhythmical effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating 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
- A63F13/69—Generating 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 by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses an information processing method, an interface display device and information processing equipment, and belongs to the technical field of Internet and computers. The method comprises the following steps: obtaining chessboard information of a target chessboard, wherein the chessboard information comprises layout information of space units, the number of space units filled by initialization and the number of space units reserved by initialization; eliminating the chessboard elements based on filling positions and attribute information of the chessboard elements in the target chessboard; according to the number of the space units filled by initialization, a first number of initialization elements and attribute information thereof are determined, and filling positions of the initialization elements are determined, so that filling information of the initialization elements is obtained; determining a second number of elements to be filled and attribute information thereof according to the number of the space units reserved by initialization; and generating configuration information corresponding to the target chessboard according to the information. By generating configuration information of the target chessboard before operating the target chessboard, the consumption of computer resources is reduced, and the equipment is facilitated to be reduced.
Description
Technical Field
The present disclosure relates to the field of internet and computer technologies, and in particular, to an information processing method, an interface display device, and an apparatus.
Background
The three-play game is a kind of elimination game, in which an elimination condition can be triggered if three or more identical elements exist in the horizontal direction or the vertical direction in the scene map.
In the related technology, in the process of loading a certain checkpoint, the computer equipment randomly generates an initial user interface according to the attribute requirements of a scene map, a checkpoint task and the like, wherein the initial user interface comprises a target chessboard, a plurality of space units are arranged in the target chessboard, and a chessboard element is placed in each space unit. The user selects two adjacent elements by clicking or the like, and the positions between the two elements are exchanged. If any one element of the two adjacent elements and other adjacent elements after the exchange meet the elimination condition, all elements meeting the elimination condition are eliminated from the target chessboard. The computer equipment determines attribute information of new chessboard elements according to certain difficulty control algorithms, continuously supplements the newly generated chessboard elements into the target chessboard, and fills the elements at the rest positions into the spare positions in the scene map according to certain rules.
However, in the related art, in the process of operating the target chessboard, the computer equipment is required to continuously calculate the attribute information of new chessboard elements to be filled in the background, and more system resources are occupied in the process of maintaining the target chessboard, so that equipment jam is easy to be caused.
Disclosure of Invention
The application provides an information processing method, an interface display device and information processing equipment, which avoid the occupation of system resources caused by the generation of configuration information in the game process by generating the configuration information of a target chessboard in advance. The technical scheme is as follows:
according to an aspect of the embodiments of the present application, there is provided an information processing method, including:
obtaining chessboard information of a target chessboard, wherein the chessboard information comprises layout information of space units contained in the target chessboard, the number of space units filled by initialization and the number of space units reserved by initialization; the space unit is used for placing chessboard elements, and the chessboard elements are eliminated in the target chessboard based on filling positions and attribute information of the chessboard elements;
generating a first number of initialization elements according to the number of the space units filled by initialization, and determining attribute information of each initialization element, wherein the initialization elements refer to chessboard elements filled in the target chessboard in an initializing mode;
determining filling positions of the initialization elements in the target chessboard to obtain filling information of the initialization elements;
Generating a second number of elements to be filled according to the number of the space units reserved by initialization, and determining attribute information of each element to be filled, wherein the elements to be filled are chessboard elements to be filled into the target chessboard;
and generating configuration information corresponding to the target chessboard according to the chessboard information of the target chessboard, the number of the initialization elements, the attribute information and the filling information, and the number and the attribute information of the elements to be filled.
According to an aspect of the embodiments of the present application, there is provided an interface display method, including:
displaying a target chessboard in a user interface, wherein the target chessboard comprises a plurality of space units for placing chessboard elements, and the target chessboard eliminates the chessboard elements based on filling positions and attribute information of the chessboard elements;
displaying a first number of initializing elements in the target chessboard, wherein the initializing elements are the chessboard elements filled in the target chessboard in an initializing mode; wherein the first number is smaller than the total number of space units contained in the target board;
displaying at least one element to be filled, wherein the element to be filled refers to a chessboard element to be filled into the target chessboard;
And filling the element to be filled in a target space unit of the target chessboard in response to the operation on the element to be filled.
According to an aspect of the embodiments of the present application, there is provided an information processing apparatus including:
the chessboard information acquisition module is used for acquiring chessboard information of a target chessboard, wherein the chessboard information comprises layout information of space units contained in the target chessboard, the number of space units filled by initialization and the number of space units reserved by initialization; the space unit is used for placing chessboard elements, and the chessboard elements are eliminated in the target chessboard based on filling positions and attribute information of the chessboard elements;
the first information determining module is used for generating a first number of initialization elements according to the number of the space units filled by initialization, and determining attribute information of each initialization element, wherein the initialization elements refer to chessboard elements filled in the target chessboard in an initialization mode;
the filling position determining module is used for determining filling positions of the initialization elements in the target chessboard to obtain filling information of the initialization elements;
The second information determining module is used for generating a second number of elements to be filled according to the number of the space units reserved by initialization, and determining attribute information of each element to be filled, wherein the elements to be filled are chessboard elements to be filled into the target chessboard;
and the configuration information generation module is used for generating configuration information corresponding to the target chessboard according to the chessboard information of the target chessboard, the number of the initialization elements, the attribute information and the filling information, and the number and the attribute information of the elements to be filled.
According to an aspect of the embodiments of the present application, there is provided an interface display device, including:
the target chessboard display module is used for displaying a target chessboard in a user interface, the target chessboard comprises a plurality of space units for placing chessboard elements, and the target chessboard eliminates the chessboard elements based on filling positions and attribute information of the chessboard elements;
an initialization element display module, configured to display a first number of initialization elements in the target chessboard, where the initialization elements are chessboard elements that are initialized to be filled in the target chessboard; wherein the first number is smaller than the total number of space units contained in the target board;
The element to be filled display module is used for displaying at least one element to be filled, wherein the element to be filled refers to a chessboard element to be filled into the target chessboard;
and the chessboard element filling module is used for filling the element to be filled in the target space unit of the target chessboard in response to the operation on the element to be filled.
According to an aspect of embodiments of the present application, there is provided a computer device comprising: a processor and a memory in which at least one instruction, at least one program, a code set, or an instruction set is stored, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the information processing method or the interface display method as described above.
According to an aspect of the embodiments of the present application, there is provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a code set, or an instruction set, which is loaded and executed by a processor to implement the information processing method or the interface display method as described above.
According to an aspect of the embodiments of the present application, there is provided a computer program product or a computer program including computer instructions stored in a computer-readable storage medium, from which a processor reads and executes the computer instructions to implement the information processing method or the interface display method as described above.
The beneficial effects that technical scheme that this application embodiment provided include at least:
the configuration information of the target chessboard is generated according to the chessboard information, all data in the target chessboard (the configuration information at least comprises the characteristic information of all elements to be filled corresponding to the target chessboard, such as the number of the elements to be filled, the attribute information of the elements to be filled, the sequence of the elements to be filled and the like) can be restored through the configuration information of the target chessboard, a large number of elements to be eliminated which are required to be generated by resource calculation are not occupied in the process of operating the target chessboard, the resource consumption of computer equipment is reduced, and the equipment is helped to be prevented from being blocked.
In addition, the configuration information corresponding to the target chessboard is fixed, namely, the same target chessboard can be restored according to the same configuration information, so that the puzzle solving method of the target chessboard has repeatability, and the discussion of the player on the passing method of the same target chessboard can be stimulated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an implementation environment for an approach provided by an exemplary embodiment of the present application;
FIG. 2 is a flowchart of an information processing method provided by an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a spatial cell distribution scenario provided by an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a spatial cell distribution scenario provided by another exemplary embodiment of the present application;
FIG. 5 is a flowchart of an information processing method provided by another exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of a target board provided in an exemplary embodiment of the present application;
FIG. 7 is a flow chart of a method for determining target checkerboard prediction pass probability provided by an exemplary embodiment of the present application;
FIG. 8 is a schematic diagram of a probabilistic predictive model network architecture provided in an exemplary embodiment of the present application;
FIG. 9 is a schematic diagram of a target checkerboard element distribution provided by an exemplary embodiment of the present application;
FIG. 10 is a schematic diagram of a target checkerboard element distribution provided by another exemplary embodiment of the present application;
FIG. 11 is a flowchart of an interface display method provided by an exemplary embodiment of the present application;
FIG. 12 is a schematic illustration of a cancellation process for a first cancellation condition provided by one exemplary embodiment of the present application;
fig. 13 is a schematic view of a cancellation process of a first cancellation condition provided in another exemplary embodiment of the present application;
fig. 14 is a schematic view of a cancellation process of a first cancellation condition provided in another exemplary embodiment of the present application;
FIG. 15 is a schematic diagram of a cancellation process for a second cancellation condition provided by one exemplary embodiment of the present application;
fig. 16 is a schematic diagram of a cancellation process of a second cancellation condition provided in another exemplary embodiment of the present application;
fig. 17 is a schematic diagram of a cancellation process of a second cancellation condition provided in another exemplary embodiment of the present application;
FIG. 18 is a schematic diagram of a target checkerboard clearance page provided in an exemplary embodiment of the present application;
fig. 19 is a block diagram of an information processing apparatus provided in an exemplary embodiment of the present application;
Fig. 20 is a block diagram of an information processing apparatus provided in another exemplary embodiment of the present application;
FIG. 21 is a block diagram of an interface display device provided in an exemplary embodiment of the present application;
fig. 22 is a block diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
FIG. 1 illustrates a schematic diagram of an implementation environment for a solution provided by an exemplary embodiment of the present application. The implementation environment may be implemented as a computer system, such as a gaming application system. The implementation environment of the scheme can comprise: configuration generation device 110, terminal device 120, and server 130.
The configuration generating device 110 has a storage and operation function, and the configuration generating device 110 is configured to generate configuration information corresponding to the target chessboard according to the chessboard information, and estimate the passing difficulty of the target chessboard.
The terminal device 120 may be an electronic device such as a cell phone, desktop appliance, tablet computer, game console, electronic book reader, multimedia playback device, wearable device, laptop portable computer, etc. The terminal device 120 may have a target application running therein, which may be a cancel game-like program, as well as other applications capable of providing a cancel game function. In some embodiments, the terminal device 120 can automatically generate configuration information for the target board. In other embodiments, the terminal device 120 obtains configuration information of the target board generated by the configuration generating device 110.
The server 130 can provide background support for the target application running on the terminal device 120, for example, the server 130 may be a background server of the target application, and the server 130 may be provided with the functions of the configuration generating device 110. The server 130 has functions of data receiving, calculating, storing, etc., and is used for receiving the game data uploaded by the terminal device 120 in real time and calculating the game data. The server 130 may be an independent server device, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communication, domain name services, security services, basic cloud computing services such as big data and an artificial intelligent platform.
In some examples, configuration generation device 110 may be a terminal device 120 or a server 130. In some examples, the terminal device 120 analyzes the target board according to the interaction instructions. In other embodiments, the terminal device 120 sends the interaction instruction to the server 130, the target board is analyzed by the server 130 according to the interaction instruction, and the server 130 sends the analysis result to the terminal device 120.
First, terms involved in the embodiments of the present application will be described:
user interface UI (User Interface) control: any visual control or element that can be seen on the user interface of the application, such as a picture, input box, text box, button, tab, etc. some of the UI controls control the master avatar to release skills in response to user actions, such as a skills control. The user triggers a skill control to control the master virtual character to release the skill. UI controls referred to in embodiments of the present application include, but are not limited to: a display control and a click control.
Fig. 2 is a flowchart of an information processing method provided in an exemplary embodiment of the present application. The execution subject of the method may be the configuration generating device in fig. 1. As shown in fig. 2, the method may include the following steps (210-250):
step 210, obtaining chessboard information of a target chessboard, wherein the chessboard information comprises layout information of space units contained in the target chessboard, the number of space units filled by initialization and the number of space units reserved by initialization; the space unit is used for placing the chessboard elements, and the chessboard elements are eliminated in the target chessboard based on filling positions and attribute information of the chessboard elements.
Different target chessboards correspond to different chessboard information. The layout information of the space unit includes: the number of spatial units and the distribution of the spatial units. The number of spatial units refers to the number of positions where the target board can place board elements. In some embodiments, the number of spatial units is associated with a game level corresponding to the target board, e.g., 10 for a game level 1-1 and 21 for a game level 3-5. The distribution of the space units refers to the arrangement of the space units in the target chessboard. In some embodiments, the space units are arranged in rows and columns in the target chessboard, optionally with different numbers of space units contained in different rows and columns of space units. In some embodiments, the distribution of the space units is similar to the geometric figure, and as shown in fig. 3, in a certain target board 10, the distribution of the space units 11 is diamond. As shown in fig. 4, in another target board 10, the spatial units 11 are distributed in an irregular polygon. Optionally, the spatial units corresponding to different target chessboard are arranged in different manners.
Initializing the number of fill space units refers to the number of checkerboard elements whose fill positions are determined by the configuration generating device. The number of initialization reserved space units refers to the number of space units in the target board that are not filled with initialization elements. The sum of the number of initialized filled space units and the number of initialized reserved space units is equal to the total number of space units. In some embodiments, the configuration generating device obtains the chessboard information of the target chessboard, and generates the configuration information of the target chessboard according to the chessboard information.
Step 220, generating a first number of initialization elements according to the number of the space units filled by initialization, and determining attribute information of each initialization element, wherein the initialization elements refer to the chessboard elements filled in the target chessboard by initialization.
In some embodiments, the number of initialized filled space units is equal to the first number corresponding to the initialized element, e.g., in a certain target board, the number of initialized filled space units is 17, and the value of the first number is 17. The configuration generating device determines attribute information of each initialization element in a random generation manner. For example, the attribute information of the checkerboard element includes 1 attribute parameter including: 1,2,3, the first number is 5, the configuration generating device generates a series of attribute information sequences with the length of 5, specifically [2, 3, 1, 2], according to the attribute information sequences, it can be determined that the attribute information of the first initializing element is 2, the attribute information of the second initializing element is 3, the attribute information of the third initializing element is 3 …, and so on. For another example, the attribute information of the checkerboard element includes 3 attribute parameters, the first attribute parameter including: 1,2,3; the second attribute parameters include: m and n; the third attribute parameters include: blue and black, the first number of values is 4, and the configuration generating device generates a series of attribute information sequences with the length of 4, specifically [ (3, m, blue), (2, m, black), (3, n, blue), (1, m, blue) ] through a random function, and can determine that the attribute information of the first initializing element is (3, m, blue), the attribute information of the second initializing element is (2, m, black) … and so on according to the attribute information sequences. It should be noted that the description of the attribute information content in this embodiment is merely illustrative, and should not be taken as a limitation of the attribute information of the chessboard element.
And 230, determining filling positions of all the initialization elements in the target chessboard to obtain filling information of the initialization elements.
For each initializing element, the initializing elements cannot be moved or changed after the filling position in the target chessboard is determined, and the initializing elements can be eliminated from the target chessboard by eliminating. In some embodiments, the configuration generating device determines the filling positions of the initialization elements in the target chessboard, and obtains the filling information of the initialization elements according to the filling positions of the initialization elements in the target chessboard. In some embodiments, the padding information corresponding to a certain initialization element includes: row information of the initialization element in the spatial cell layout, column information of the initialization element in the spatial cell layout. In some embodiments, the padding information corresponding to a certain initialization element includes: row information of the initialization element in the spatial cell layout, column information of the initialization element in the cell layout of the space, and attribute information of the initialization element. For details on determining the filling position of each initialization element in the target checkerboard, reference is made to the following embodiments.
Step 240, generating a second number of elements to be filled according to the number of the space units reserved by initialization, and determining attribute information of each element to be filled, wherein the elements to be filled are chessboard elements to be filled into the target chessboard.
Before the elements to be filled are not filled into the space units in the target chessboard, the elements to be filled can be filled into any space unit of the target chessboard which is not filled with the chessboard elements. In some embodiments, the corresponding second number of elements to be filled is greater than or equal to the number of space units reserved for initialization. In some embodiments, the configuration generating device determines the number of elements to be filled according to the number of space units reserved by initialization in the chessboard information of the target chessboard, and generates attribute information of each element to be filled. In some embodiments, the attribute information of different elements to be populated is different. For details of the attribute information determination process of the second number of initialization elements, please refer to the following embodiments.
Step 250, generating configuration information corresponding to the target chessboard according to the chessboard information, the number of initialized elements, the attribute information and the filling information of the target chessboard, and the number and the attribute information of the elements to be filled.
The configuration information corresponding to the target chessboard is used for indicating the relevant information of the target chessboard, the chessboard elements and the elements to be filled. The game scene in the target chessboard can be restored through the configuration information corresponding to the target chessboard. In some embodiments, the configuration generating device generates configuration information corresponding to the target chessboard according to the chessboard information, the number of initialization elements, the attribute information and the filling information, and the number of elements to be filled and the attribute information. In other embodiments, the configuration generating device needs to generate the configuration information corresponding to the target chessboard through the information and the arrangement sequence of the elements to be filled. In some embodiments, the configuration information corresponding to the target chessboard is used to estimate the clearance difficulty of the game level corresponding to the target chessboard, and the configuration generating device predicts the passing probability of the target chessboard through the configuration information corresponding to the target chessboard. In some embodiments, the terminal device obtains configuration information corresponding to the target chessboard, and restores the target chessboard through the configuration information. In some embodiments, the configuration information corresponding to the target board is referred to as stun information. In some embodiments, the configuration information of the target chessboard includes: the chessboard information, the number of the initialized elements, the attribute information and the filling information of the target chessboard, and the number and the attribute information of the elements to be filled, and optionally, the configuration information of the target chessboard also comprises the arrangement sequence of the elements to be filled.
In summary, by generating the configuration information of the target chessboard according to the chessboard information, all data (the configuration information at least includes characteristic information of all elements to be filled corresponding to the target chessboard, such as the number of the elements to be filled, attribute information of the elements to be filled, the sequence of the elements to be filled, and the like) in the target chessboard can be restored by the configuration information of the target chessboard, a large number of elements to be eliminated, which are required to be generated, are not occupied in the process of operating the target chessboard, so that the resource consumption of computer equipment is reduced, and the equipment is helped to avoid being blocked.
The following describes in detail the process of generating configuration information corresponding to the target board.
Referring to fig. 5, a schematic diagram of an information processing method according to another embodiment of the present application is shown. As shown in fig. 5, the method may include the following steps (510-550):
step 510, obtaining chessboard information of the target chessboard, wherein the chessboard information comprises layout information of space units contained in the target chessboard, the number of space units filled by initialization and the number of space units reserved by initialization; the space unit is used for placing the chessboard elements, and the chessboard elements are eliminated in the target chessboard based on filling positions and attribute information of the chessboard elements.
In some embodiments, the attribute information for each checkerboard element includes at least two attribute parameters. The attribute information of the chessboard element is used to indicate the display characteristics of the chessboard element, and the attribute information of the chessboard element can be color, shape, pattern, ground pattern and the like of part of the chessboard element. For example, the attribute information of the checkerboard element includes: first color attribute information and second color attribute information. In some embodiments, the checkerboard elements are displayed in the form of Q-edition head portraits of character's character, where the attribute information of the checkerboard elements may also include expression, action, adornment, etc. of the character's character, in one example, the attribute information of the checkerboard elements includes: hair color attribute parameters and scarf color attribute parameters. In another example, the attribute information of the checkerboard element includes: expression attribute parameters, hair color attribute parameters and hair style attribute parameters. In some embodiments, the attribute parameters of the chessboard elements are represented by numbers, for example, the attribute information of the chessboard element in a target chessboard includes two attribute parameters, namely, a hair color attribute parameter and a scarf color attribute parameter, each chessboard element represents the attribute information thereof by two digits, wherein the first digit represents the hair color attribute parameter, the second digit represents the hair color attribute parameter, the correspondence between the digits and the colors is [ 0= > green, 1= > blue, 2= > yellow, 3= > red ], the attribute information of a certain chessboard element is "12", the hair color attribute of the chessboard element is blue, the scarf color attribute is yellow, and the attribute information of the other chessboard element is 33, and the hair color attribute and the scarf color attribute of the chessboard element are red.
Step 520, generating a first number of initialization elements according to the number of the space units to be filled, and determining attribute information of each initialization element, wherein the initialization elements are the chessboard elements filled in the target chessboard.
In some embodiments, the first number is equal to the number of space units that are initially filled. In some embodiments, the configuration generating device generates an initialization element sequence with a length of a first number through a random algorithm, wherein the element sequence to be filled comprises attribute information of elements to be filled. For example, in a target checkerboard, the attribute information of the checkerboard element includes: the first attribute parameter and the second attribute parameter are represented by one-digit numbers, the initialization element sequence of the first number length 16 generated by the configuration generating device is [22, 22, 11, 02, 33, 22, 00, 11, 03, 21, 00, 10, 22, 12, 22, 11], the attribute information of the first initial element is 22, and the attribute information corresponding to the 3 rd initial element is 11.
And step 530, determining filling positions of all the initialization elements in the target chessboard to obtain filling information of the initialization elements.
In some embodiments, step 530 includes the following sub-steps:
at step 532, the fill position of each initialization element in the target checkerboard is randomly determined.
In some embodiments, the configuration generating device randomly generates the filling position information of each initial element according to the layout information of the space cells in the target chessboard through a random algorithm. In other embodiments, the configuration generating device randomly determines a first number of space units for filling the initialization elements according to the layout information and the first number of space units in the target chessboard, and fills the respective initialization elements into the space units one by one.
If the initialization elements have an erasable condition in the target board, step 534 is executed again to randomly determine the filling position of each initialization element in the target board, that is, step 532 is executed again.
In step 536, if the initialization element does not have the removable condition in the target chessboard, filling information of the initialization element is generated according to the filling position of each initialization element in the target chessboard.
After the configuration generating device randomly determines the filling positions of all the initializing elements in the target chessboard, whether the initializing elements have the erasable condition in the target chessboard needs to be judged. In some embodiments, the configuration generating device determines whether the initialization element has an erasable condition in the target checkerboard, including; judging whether initializing elements meeting the elimination conditions exist in each row of space units; it is determined whether or not there is an initialization element satisfying the erasure condition in each column space unit. In some embodiments, the target checkerboard cancellation condition is: n continuous initialization elements exist in a certain row and/or a certain column, the attribute information of the n initialization elements is identical or partially identical, and n is a positive integer greater than or equal to 3. For example, the attribute information of a target chessboard in the chessboard element comprises an attribute parameter, and the configuration generating device determines that 3 initializing elements with identical attribute information exist in the ith row, so that the initializing elements have the erasable condition in the target chessboard; for another example, if the attribute information of a target chessboard in the chessboard element includes the first attribute parameter and the second attribute parameter, the configuration generating device determines that 4 initializing elements with the same first attribute parameter and different second attribute parameter exist in the ith row, 3 initializing elements with the same first attribute parameter and different second attribute parameter exist in the jth column, and then the initializing elements have a removable condition in the target chessboard, alternatively, 4 initializing elements with the same first attribute parameter and different second attribute parameter exist in the ith row, and after the 4 initializing elements are removed, at least one newly added chessboard element is generated and filled in the 4 corresponding space units in the ith row. In some embodiments, the first attribute parameter and the second attribute parameter of the newly added checkerboard element are the same. In other embodiments, the configuration generating device determines whether the initialization element has an erasable condition in the target board, including; for a certain initializing element in the target chessboard, the configuration generating device searches in the up, down, left and right directions of the target chess game, and judges whether the initializing element and the adjacent y initializing elements meet the elimination condition, and optionally, y is a positive integer.
If the removable condition exists, the method indicates that an initialization element capable of automatically triggering the removal condition exists in the current target chessboard. Since the number of the initializing elements which meet the elimination condition is automatically eliminated, resulting in the number of the initializing elements filled in the target chessboard being smaller than the first number, the configuration generating device needs to randomly determine the filling positions of the initializing elements in the target chessboard again; if no removable condition exists, the configuration generating device generates filling information of the initialization elements according to filling positions of the initialization elements in the target chessboard.
Step 540, generating a second number of elements to be filled according to the number of the space units reserved by initialization, and determining attribute information of each element to be filled, wherein the elements to be filled are chessboard elements to be filled into the target chessboard.
In some embodiments, step 540 includes the following sub-steps:
step 542, determining the value range of the number of elements to be filled according to the number of the space units reserved by initialization.
In some embodiments, the configuration generating device obtains the value range of the number of the elements to be filled by initializing the number of the reserved space units, the minimum range coefficient and the maximum range coefficient, for example, the number of the reserved space units is 10, the minimum range coefficient is 1.5, the maximum range coefficient is 3, and the value range of the number of the elements to be filled is 10×1.5-10×3, that is, the number of the elements to be filled is 15-30.
Step 544, generating a random number from the range of value of the number, resulting in a second number.
If the second number is smaller than or equal to the number of space units reserved by initialization, all elements to be filled are filled into the target chessboard at will, and idle space units still exist in the target chessboard, which means that the target chessboard can be unlocked by any method, i.e. the target chessboard has no playability, therefore, the second number needs to be larger than the number of space units reserved by initialization. The random number generated by the configuration generating device from the numerical value range is a positive integer. In some embodiments, the configuration generating device implements a process of generating a random number from a range of values through a rand () function, so as to obtain a random positive integer, and let the second number equal to the random positive integer, for example, the range of values of the number of elements to be filled determined by the configuration generating device is 15-30, and the random positive integer obtained through rand (6, 12) is 10, so that the second number is equal to 10.
Step 546, generating a second number of elements to be filled, and determining attribute information of each element to be filled.
In some embodiments, the configuration generating device generates attribute information of each element to be filled through a random algorithm. In some embodiments, the attribute information includes 2 attribute parameters, and in a process of generating the attribute information of each element to be filled by the configuration generating device through a random algorithm, the attribute information of the element to be filled may be controlled according to the attribute control information, so that in the generated attribute information of the second number of elements to be filled, there are a elements to be filled whose attribute information is identical, or there are b elements to be filled having x identical attribute parameters, where a and b are positive integers, and x is a positive integer less than or equal to 3. And controlling the attribute information of the second number of elements to be filled through the attribute control information, thereby being beneficial to controlling the passing difficulty of the target chessboard.
Step 550, generating configuration information corresponding to the target chessboard according to the chessboard information, the number of initialized elements, the attribute information and the filling information of the target chessboard, and the number and the attribute information of the elements to be filled.
Please refer to fig. 6, which illustrates a schematic diagram of a target board.
In some embodiments, the configuration generating device obtains board information of the target board 10, including: the number of space units 11 is 21, the number of space units 11 to be filled is 17, the number of space units 14 to be reserved is 4, the attribute information of the board element 12 includes a first attribute parameter and a second attribute parameter, which are represented by [0,1,2,3], the attribute information of the initialization element randomly generated by the configuration generating device is [22, 22, 11, 02, 33, 22, 00, 11, 03, 21, 00, 10, 22, 12, 22, 11], the filling information of the generated initialization element is [ { "row" ] in the case where there is no erasable filling position of the initialization element in the target board; 1, "col":2, "color": "22", { 1 "col", "3" col "," 22", { 1" col "," 4 "col", "11", { 2 "col", "2" col ", { 2" 3 "col", "00", { 2 "col", "33", { 2 "col", "5" col ", { 22", { 3 "col", "1" col ", { 3" col "," 11", { 3" col "," 03"," 3 "2" col ", { 3" and "21" col "," 4 "1" col ", { 4" 1 "col", "4" to be used as a "color", "2" color "," 1 "color", "3" and "color", "4" and "color" respectively, { 1 "whereinthe color" areshown in the color, { 1", { or" and "color" "respectively, "color": 22", {" row ": 4", "col":4 "," color ": 12", { "row":4 "," col ": 5", "color": 22"}, {" row ": 5", "col":4 "," color ": 11" }, take { "row": 1"," col ": 2", "color": 22"} as an example, which means that a certain checkerboard element 12 is placed on a space element located in the first row and the second column, the first attribute parameter of the checkerboard element 12 is 2, and the second attribute parameter is 2.
The configuration information of various target chessboards can be obtained by randomly determining the filling positions of all the initialization elements in the target chessboards and the attribute information of the initialization elements and the elements to be filled, and the condition that the corresponding configuration information of the target chessboards meets the elimination condition is avoided by checking whether the chessboards in the target chessboards meet the elimination condition in the process of generating the configuration information, so that rules exist among the configuration information corresponding to the plurality of target chessboards finally obtained in the random generation process, and the richness of the target chessboards is ensured.
The process of determining the target checkerboard predicted pass probability is described in several embodiments below.
Referring to fig. 7, a flowchart of a method for determining a target checkerboard prediction pass probability according to an embodiment of the present application is shown. The execution subject of the method may be the configuration generating device in fig. 1. As shown in fig. 7, the method includes:
step 710, performing a plurality of simulation elimination processes based on configuration information corresponding to the target chessboard to obtain simulation passing probability; the simulation elimination process refers to a simulation process of filling elements to be filled into a target chessboard so as to obtain a simulation result of whether the elements pass or not.
The simulation canceling process is a process in which the configuration generating device simulates a game played by a player on a target board. In some embodiments, the analog cancellation process includes: placing elements to be filled, eliminating elements to be eliminated, and determining whether to pass through a target chessboard. The simulation result is used for representing whether the configuration generating device meets the passing condition in a simulation elimination process. In some embodiments, the pass condition includes that the element to be filled in of the target checkerboard is 0. The simulation passing probability is any decimal between 0 and 1, and if the simulation passing probability corresponding to a certain target chessboard is 1, the passing probability of the target chessboard is 100%; if the simulation passing probability corresponding to a certain target chessboard is 0, the target chessboard is not passed. In some embodiments, a target checkerboard with a simulation pass probability of 0 or 1 is determined to be an invalid target checkerboard without further calculation of its predicted pass probability. In some embodiments, after the configuration generating device obtains the configuration information corresponding to the target chessboard, a simulation elimination process is performed for a plurality of times based on the configuration information corresponding to the target chessboard, so as to obtain the simulation passing probability.
Step 720, determining the prediction passing probability according to the simulation passing probability and the configuration information corresponding to the target chessboard.
In some embodiments, determining the predicted pass probability based on the simulated pass probability and configuration information corresponding to the target checkerboard comprises: generating input data of a probability prediction model according to the simulation passing probability and configuration information corresponding to the target chessboard; wherein the input data comprises a simulated passing probability, a total number of space units contained in the target chessboard, a number of space units reserved by initialization, a second number, and a number of elements to be filled with specific attribute information; and processing input data through a probability prediction model, and outputting prediction passing probability, wherein the probability prediction model is a model obtained by training a neural network in a machine learning mode.
Having specific attribute information is related to the attribute information of the checkerboard elements. In some embodiments, the attribute information for each of the checkerboard elements includes an attribute parameter comprising: the specific attribute information is a certain type of attribute parameter. For example, the attribute information has an attribute parameter for the expression of the chessboard element, including: smile, laugh, gas and cry, the specific attribute information is smile, and the number of the elements to be filled with the specific attribute information indicates the number of the elements to be filled with the attribute information is smile. In some embodiments, the attribute information of each of the chessboard elements includes at least two attribute parameters, e.g., the attribute information of each of the chessboard elements includes two attribute parameters, denoted as a first attribute parameter and a second attribute parameter, respectively, where the specific attribute information refers to the number of elements to be filled for which the first attribute parameter and the second attribute parameter are the same. For example, in a target checkerboard, the attribute information of the checkerboard element includes: the hair color parameter of the filling element and the scarf color parameter of the element to be filled may be represented by numbers, and the correspondence between the numbers and the color parameters is [ 0= > green, 1= > blue, 2= > yellow, 3= > red ], and the specific attribute information indicates the number of the elements to be filled whose hair color parameter and scarf color parameter are the same, and if the attribute information of the second number of the elements to be filled is [22, 22, 00, 11, 03, 21, 00, 10, 22, 12, 22, 11], the number of the elements to be filled having the specific attribute information is 8.
The probability prediction model is a neural network model with probability prediction and fitting functions, for example, the probability prediction model is a deep neural network such as a back propagation neural network, a convolution neural network and the like and the mutual combination of the deep neural network and the deep neural network. And the configuration generating equipment processes the input data according to the probability prediction model to obtain the prediction clearance probability of the target chessboard. In some embodiments, the target checkerboards with predicted clearance probabilities between [0,0.4] are determined to be difficult to pass, the target checkerboards with predicted clearance probabilities between [0.4,0.6] are determined to be pass, and the target checkerboards with predicted clearance probabilities between [0.6,1] are determined to be easy to pass.
Referring to fig. 8, a schematic diagram of a probabilistic predictive model network architecture is shown. The probability prediction model is a back propagation neural network model, a fitting result is obtained by performing matrix multiplication operation on simulation passing probability of an input model, the total number of space units contained in a target chessboard, the number of space units reserved in an initialization mode, the number of elements to be filled with second number and specific attribute information and weights on corresponding nerve lines in the model, and the fitting result is activated by a sigmoid activation function, so that the prediction clearance probability of the target chessboard is obtained.
In some embodiments, the input elements of the input layer include: x1, x2, x3, …, xn, taking n=5 as an example, the process of determining the prediction passing probability of the probability prediction model is described, x1 in the input layer represents the simulation passing probability, x2 represents the total number of space units contained in the target checkerboard, x3 represents the number of space units reserved for initialization, x4 represents the second number, and x5 represents the number of elements to be filled having specific attribute information. In the input layer of the predictive probability model, there are various corresponding relations between x1, x2, x3, x4, x5 and the simulation passing probability, the total number of space units contained in the target chessboard, the number of space units reserved by initialization, the second number and the number of elements to be filled with specific attribute information, so that the one-to-one correspondence between parameters and input data is satisfied, and other corresponding relations are not described herein. In the hidden layer, taking z1 as an example, z1=x1×w11+b11+x2×w12+b12+ … +x5×w15+b15, taking the parameter of x1 as an example, w11 means the weight on the nerve line where x1 points to z1, b11 means the bias where x1 points to z1, and the prediction passing probability y=sigmoid (z1×w21+z2×w22+z3×w23). In some embodiments, the configuration generating device activates z1 by an activation function, resulting in a1, a1=sigmoid (z 1); the predictive pass probability y=sigmoid (a1×w21+a2×w22+a3×w23).
In some embodiments, the other probabilistic predictive model is a reverse predictive model, and the input elements of the input layer include: a1, A2, A3, …, am, M are positive integers. In the following explanation taking A1 as an example, A1 is a column vector, and in some embodiments a1= [ A1, a2, a3, a4, a5]A1 represents information of a certain target checkpoint, A1 represents simulation passing probability of the target checkpoint, a2 represents total number of space units contained in a target chessboard of the target checkpoint, a3 represents number of space units reserved by initialization of the target checkpoint, a4 represents second number of the target checkpoint, and a5 represents number of elements to be filled with specific attribute information in the target checkpoint. In the hidden layer, taking A1 as an example, first, w11= [ c11, c12, c13, c14, c15] T And (3) dot-multiplying the row vector of A1 to obtain b1. Repeating the above method for A2, A3, …, am to obtain b1, b2, b3, …, bm, obtaining the predictive pass probability Y, y= [ Y1, Y2, Y3, …, ym according to the method in the previous embodiment]Where y1 is the predicted passing probability corresponding to the target checkerboard A1.
The mapping result can be obtained by mapping the input simulation passing probability, the total number of space units contained in the target chessboard, the number of space units reserved by initialization, the second number and the number of elements to be filled with specific attribute information to the output prediction passing probability, calculating the products between each neuron and the nerve line, and adding and activating the corresponding products. In the process of adjusting the parameters of the back propagation network, only addition and multiplication operations exist in the back propagation network, so that the back derivation process is simple, and the gradient descent speed is high.
In some embodiments, training the probabilistic predictive model is required before the probabilistic predictive model processes the input data, including: determining configuration information of a plurality of target chessboard as training samples; carrying out passing trial on the training samples by a plurality of real players, and determining sampling actual clearance probability according to the actual passing times and the total trial times of the players, wherein the sampling actual clearance probability=the actual passing times/the total trial times; obtaining simulation passing probability, and processing the simulation passing probability of the input model, the total number of space units contained in the target chessboard, the number of space units reserved in an initializing mode, the second number and the number of elements to be filled with specific attribute information through a probability prediction model to obtain prediction passing probability; the KL (Kullback-Leibler, information entropy) divergence is used as a loss function, and model parameters of a probability prediction model are adjusted according to the prediction passing probability and the sampling actual clearance probability; and when the model loss between the prediction passing probability and the sampling actual clearance probability approaches to the limit, completing the training process of the probability prediction model.
In some embodiments, using KL divergence as a loss function, adjusting model parameters of a probabilistic predictive model based on predictive passing probabilities and sampling actual clearance probabilities, comprising: calculating the information entropy between the prediction pass probability and the sampling actual pass probability, optionally calculating the information entropy D using the following formula KL :
Where p represents the sampling actual clearance probability, q represents the predictive pass probability, p (x i ) The method comprises the steps that the actual clearance probability of sampling aiming at a target chessboard i is represented, q represents the prediction passing probability of the target chessboard i, N is the number of a group of training samples, and N is a positive integer;
and according to the information entropy, adopting a gradient descent method to adjust model parameters of the probability prediction model.
In some embodiments, after determining the prediction passing probabilities corresponding to the plurality of target checkerboards, the configuration generating device determines the arrangement order of the plurality of target checkerboards according to the prediction passing probabilities. The predictive passing probability of a certain target chessboard can represent the fans of the target chessboard to a certain extent.
In one example, the configuration generating device arranges the target chessboard with smaller prediction passing probability before the target chessboard with larger prediction passing probability, that is, in the actual game process, the terminal device or the server generates the game level according to the arrangement sequence of the target chessboard, and the fans of the target chessboard are increasingly difficult as the game level is continuously advanced.
In another example, the configuration generating device divides the target chessboard into at least a simple target chessboard and a difficult target chessboard according to the prediction generating probability, and the configuration generating device adds b difficult target chessboard after a simple target chessboard, wherein a and b are positive integers. In the actual game process, the terminal equipment or the server generates game level according to the arrangement sequence of the target chessboard groups (comprising a simple target chessboard and b difficult target chessboard), and in the game level generated by the configuration information of the 1-group target chessboard groups (comprising a simple target chessboard and b difficult target chessboard), the difficulty of the game level is difficult and easy, so that the game level has rhythm sense. For example, the configuration generating device determines the prediction passing probabilities of 6 target chessboards [1,2,3,4,5,6], which are sequentially [0.32,0.64,0.97,0.68,0.46,0.72], the prediction passing probability is greater than or equal to 0.6 as a simple target chessboard, otherwise, as a difficult target chessboard, the configuration generating device determines the target chessboards with the prediction passing probabilities of [0.64,0.97,0.68,0.72] as simple target chessboards, that is, the target chessboards with the sequence numbers of 2,3,4,6 as simple target chessboards, the target chessboards with the prediction passing probabilities of [0.32,0.46] as difficult target chessboards, that is, the target chessboards with the sequence numbers of 1,5 as difficult target chessboards, and the configuration generating device adds 1 difficult target chessboards after 2 simple target chessboards, and the sequence number arrangement sequence of one target chessboards is [2,3,1,4,6,5].
The clearance probability of the target chessboard is determined according to the configuration information corresponding to the target chessboard, the passing difficulty of the target chess game is facilitated to be determined, the target chess game which cannot pass can be detected, the target chess game with unreasonable difficulty is screened out, the game level corresponding to the target chess game is conveniently distributed, and the difficulty of the game level is controlled in a rhythmic mode.
The determination of the probability of analog passage is described in several embodiments below.
In some embodiments, based on configuration information corresponding to the target chessboard, performing a simulation elimination process for a plurality of times to obtain a simulation passing probability, including: determining the total times of the simulation elimination process, wherein the total times are the accumulated times of the simulation elimination process that the pointer performs repeated times on the same target chessboard; based on the falling probabilities of a plurality of idle space units of the element to be filled falling to the target chessboard, respectively, performing a simulation elimination process; recording the passing times of the simulation elimination process, wherein the passing times refer to the times of the simulation elimination meeting the passing conditions in the simulation elimination process of the total times; and calculating to obtain the simulation passing probability according to the passing times and the total times.
In some embodiments, the method for calculating the local weight probability determines the falling probability that the element to be filled falls into a plurality of idle space units of the target chessboard respectively, and the method for calculating the local weight probability is a probability calculation method which only considers the filling position of the current element to be filled and does not consider the influence of the determined filling position on the following elements to be filled in the process of performing simulation elimination. In some embodiments, the simulated passing probability is t/s with the number of times being t and the total number of times being s. In some embodiments, to avoid the chance of the simulation passing probability resulting from the simulation cancellation process, the configuration generating device sets the total number of times to be larger, for example, the total number of times is equal to 100000.
In some embodiments, based on falling probabilities corresponding to a plurality of free space units of the element to be filled falling to the target chessboard, performing a simulated elimination process includes: for any element to be filled in the second number of elements to be filled, determining falling probabilities of the elements to be filled, which correspond to a plurality of idle space units of the target chessboard, respectively; determining a target space unit corresponding to the element to be filled according to the falling probabilities, wherein the target space unit refers to the filling position of the element to be filled in the target chessboard; if the element to be filled has the removable condition in the target chessboard, removing the element to be filled and the chessboard element to be removed in the target chessboard; the chessboard elements to be eliminated are the chessboard elements of which the attribute information is identical or partially identical to that of the elements to be filled in the target chessboard, and the filling positions meet the position conditions.
The configuration generating device determines falling probabilities corresponding to a plurality of idle space units of the element to be filled falling to the target chessboard respectively. In some embodiments, the second number of elements to be filled has an arrangement order, and filling space units of the elements to be filled need to be determined one by one according to the arrangement order of the elements to be filled in the process of simulation elimination. The corresponding falling probability of a certain free space unit refers to the probability that the element to be filled falls into the free space unit. In the simulation process of a larger number of ranges, the element to be filled falls into the free space unit with larger falling probability more times. In some embodiments, the probability of a drop for a free space unit is related to the filling of the space unit to which the free space unit is connected. After the configuration generating device determines the target space unit corresponding to the element to be filled, whether the target chessboard has the removable condition or not is judged. Since the elimination condition does not exist in the target chessboard before filling a certain element to be filled into the target chessboard, the elimination condition is triggered by the element to be filled, and therefore, the adjacent space units or the space unit rows and the space unit columns where the target space units are located can be searched based on the positions of the target space units. The detailed process refers to the above detailed description about the situation of judging whether the initialization element exists in the target chessboard or not, and will not be described herein.
In some embodiments, determining a drop probability for the element to be filled to drop to each of the plurality of free space units of the target checkerboard includes: for any one of the idle space units, if the element to be filled falls into the idle space unit and the element to be eliminated does not exist in the target chessboard, determining the falling probability corresponding to the idle space unit as a first numerical value; if the element to be filled falls into the free space unit, determining the falling probability corresponding to the free space unit as a second value if the element to be eliminated exists in the target chessboard; wherein the first value is less than the second value.
In some embodiments, the configuration generating device determines a falling probability corresponding to each of a plurality of free space units of the element to be filled falling on the target chessboard by determining whether the target chessboard meets the elimination condition on the assumption that the element to be filled falls on a certain free space unit. In some embodiments, if no to-be-eliminated chessboard element exists in the target chessboard after a certain to-be-filled element falls into any one of the free space units, the configuration generating device determines the falling probability that the to-be-filled element falls into all the free space units as a first value, as shown in fig. 9, the to-be-filled element 13 falls into any one of the free space units S1, S2, S3 and S4 of the target chessboard 10, no to-be-eliminated chessboard element exists in the target chessboard, and the configuration generating device sets the probability that the free space units S1, S2, S3 and S4 correspond to 0.25. In some embodiments, if the to-be-filled element falls to a certain free unit, and then the to-be-eliminated chessboard element exists in the target chessboard, the configuration generating device determines the falling probability corresponding to the free space unit as the second numerical value. As shown in fig. 10, the free space unit 14 where the element 13 to be filled falls to the target board 10 includes: s1, S2 and S3. When the element to be filled 13 falls down to S1 in the target board 10, in the second space unit row, the hair colors of the board elements of columns 1, 2, 3 are the same, the scarf colors are different, and the elimination conditions of the attribute information are partially the same are met, so that the board element to be eliminated 16 exists in the target board, the configuration generating device determines the falling weight corresponding to the free space unit S1 as 20, and the falling weights corresponding to the other free space units S2 and S3 as 10, respectively, so that the falling probabilities corresponding to the free space units S1, S2, and S3 are 0.5, 0.25, and 0.25, respectively. In some embodiments, if the element to be filled falls into a certain free space unit, the target chessboard has the element to be removed, and the falling probability corresponding to the free space unit is determined according to the number of the free space units in the target chessboard after the removal, for example, after the element to be removed falls into a first free space unit, the target chessboard has the element to be removed, after the element to be removed is removed, the number of the free space units in the target chessboard is 5, after the element to be removed falls into a second free space unit, the target chessboard has the element to be removed, after the element to be removed is removed, the number of the free space units in the target chessboard is 6, and the determined falling probability of the first free space unit is smaller than the falling probability of the second free space unit.
By assuming that the element to be filled falls into each free space unit, whether the target chessboard has the element to be eliminated or not is judged, and the falling probability corresponding to each free space unit is determined, so that the simulation elimination process is more close to the elimination process of the real game.
Fig. 11 is a flowchart of an interface display method provided in an exemplary embodiment of the present application. The execution subject of the method may be the terminal device in fig. 1, and the software execution subject of the method is the target application program.
As shown in fig. 11, the method may include the following steps (1110-1140):
step 1110, displaying a target checkerboard in the user interface, wherein the target checkerboard includes a plurality of space units for placing checkerboard elements, and wherein the target checkerboard eliminates the checkerboard elements based on filling positions and attribute information of the checkerboard elements.
The attribute information of the checkerboard element is used to indicate one or more characteristics of the checkerboard element. In some embodiments, attribute information is used to indicate one or more of the display characteristics of the color, pattern, motif, expression, action, etc. of the checkerboard elements. The terminal equipment acquires configuration information corresponding to the target chessboard, wherein the configuration information is generated through chessboard information, attribute information of the initialization elements, filling information of the initialization elements, the number of elements to be filled and the attribute information. The terminal equipment displays a target chessboard on the user interface according to the acquired configuration information, wherein the target chessboard comprises space units for placing chessboard elements and idle space units without placing the chessboard elements.
Step 1120, displaying a first number of initializing elements in the target checkerboard, wherein the initializing elements are the checkerboard elements filled in the target checkerboard; wherein the first number is smaller than the total number of space units contained in the target board.
In some embodiments, displaying a first number of initialization elements in the target checkerboard includes: acquiring the number, attribute information and filling information of the initialization elements from configuration information corresponding to the target chessboard, wherein the filling information of the initialization elements is used for indicating filling positions of the initialization elements in the target chessboard; and displaying the first number of the initialization elements in the target chessboard according to the number of the initialization elements, the attribute information and the filling information.
In some embodiments, the terminal device includes a first number of initialization elements in an initialization target board displayed in the user interface, the initialization elements being displayed on corresponding spatial units. In some embodiments, the filling position of the initialization element in the target board by the terminal device is not changeable.
At step 1130, at least one element to be filled is displayed, the element to be filled being the checkerboard element to be filled into the target checkerboard.
In some embodiments, displaying at least one element to be filled comprises: acquiring the number and attribute information of elements to be filled from configuration information corresponding to a target chessboard; and displaying at least one element to be filled according to the quantity and attribute information of the elements to be filled.
In some embodiments, the terminal device displays at least one element to be filled on the user interface according to the attribute information of the element to be filled. In some embodiments, the element to be filled is displayed outside the target checkerboard, e.g., the element to be filled is displayed above or below the target checkerboard. In some embodiments, an element to be filled is displayed on the user interface. In other embodiments, a plurality of elements to be filled are displayed on the user interface, optionally, the terminal device displays the plurality of elements to be filled as a row or a column.
In step 1140, the element to be filled is filled in the target space unit of the target board in response to the operation for the element to be filled.
The target spatial unit is any one of the spatial units that are not filled with checkerboard elements. Operations on elements to be populated include, but are not limited to, swipe instructions, click instructions, key selection instructions, controller tilt information, gestures, eye-minds, and the like. And the terminal equipment responds to the operation aiming at the element to be filled, determines a target space unit designated by a user, and displays the element to be filled to the target space unit or directly displays the element to be filled to the target space unit.
In summary, the target chessboard includes the initializing element and the element to be filled, and the operation of moving the element to be filled into the target chessboard can be realized in response to the operation for the element to be filled; the initializing elements displayed in the target chessboard and the elements to be eliminated in the target chessboard are eliminated according to the elimination conditions, so that the puzzle solving performance of the target chessboard can be improved, a user can be triggered to find a puzzle solving method of the target chessboard, and game fun is improved.
In addition, the puzzle solving method of the target chessboard has reproducibility, and communication between players are facilitated by the puzzle solving method of the target chessboard.
The process of eliminating the target board will be described in detail by several embodiments.
In some embodiments, after filling the element to be filled in the target space unit of the target checkerboard, further comprising: determining whether the chessboard elements to be eliminated meeting the elimination condition exist in the target chessboard or not based on the filling positions and the attribute information of the filled chessboard elements in the target chessboard; if the chessboard elements to be eliminated exist, the elimination results corresponding to the chessboard elements to be eliminated are displayed in the target chessboard.
The detailed process of determining whether the target chessboard has the chessboard elements to be eliminated that satisfy the elimination condition refers to the detailed description of judging whether the initialization element has the elimination condition in the target chessboard, and is not repeated here. In some embodiments, the attribute information for each checkerboard element includes at least two attribute parameters; displaying the elimination result corresponding to the chessboard element to be eliminated in the target chessboard, wherein the elimination result comprises the following steps: under the condition that the chessboard elements to be eliminated meet the first elimination condition, canceling to display the chessboard elements to be eliminated in the target chessboard; wherein the first elimination condition comprises that attribute parameters of the chessboard elements to be eliminated are all the same; or under the condition that the chessboard element to be eliminated meets the second elimination condition, canceling to display the chessboard element to be eliminated in the target chessboard, and adding and displaying at least one newly added chessboard element in the target chessboard; wherein the second elimination condition comprises that the attribute parameters of the chessboard elements to be eliminated are partially identical.
In some embodiments, the attribute parameters may be the color, fill pattern, shading, etc. of certain parts of the checkerboard element, for example, two attribute parameters are included in the attribute information, namely the hair color and the scarf color of the checkerboard element, respectively. In other embodiments, the attribute parameters may also be expressions, actions, etc. of the checkerboard elements. In some embodiments, in the case that the second cancellation condition is satisfied, for an element to be cancelled, whose attribute parameters are not identical, after the element to be cancelled is cancelled, the terminal device fills in a space unit of the element to be cancelled before cancellation, and generates a new added checkerboard element. Optionally, the attribute parameters of the newly added chessboard element are identical, and the attribute parameters of the newly added chessboard element are identical to one attribute parameter of the chessboard element. Please refer to fig. 12, 13 and 14, which illustrate the elimination process of the first elimination condition. In some embodiments, the attribute information includes: hair color parameters and scarf color parameters, as shown in fig. 12, the terminal device determines, as a target space unit 15, a free space unit 14 at the 2 nd row 3 rd column position of the target board 10 in response to an operation for the element to be filled 13, and fills the element to be filled 13 into the target space unit 16; as shown in fig. 13, the checkerboard elements in the 2 nd row, 1 st, 2 nd, 3 rd column space units have the same hair color and scarf color, and therefore, the above 3 checkerboard elements are elements 16 to be eliminated which satisfy the first elimination condition; the terminal device displays the above-mentioned 3 checkerboard element elimination animation on the user interface, after eliminating the element to be eliminated, as shown in fig. 14, the checkerboard elements of the space units located in the 2 nd row, 1 st, 2 nd, 3 rd column disappear, and the above-mentioned space units are converted into free space units 14. Please refer to fig. 15, 16 and 17, which illustrate the elimination process of the second elimination condition. In some embodiments, the attribute information includes: the hair color parameter and the scarf color parameter, as shown in fig. 15, the terminal device determines, in response to the operation for the element to be filled 13, that the element to be filled 13 is filled to the free space unit 15 of the 3 rd row and 4 th column, the checkerboard elements in the space units of the 2 nd, 3 rd, 4 th rows and 3 rd columns have the same hair color and different scarf colors, thus satisfying the second elimination condition, the above checkerboard elements being the element to be eliminated 16; as shown in fig. 16, the terminal device displays the above-described elimination animation of 3 checkerboard elements on the user interface; after the elimination, as shown in fig. 17, the checkerboard elements of the 4 th row and 4 th column space unit 15 disappear, and the hair color parameters and the scarf color parameters of the checkerboard elements in the 4 th row space unit are different from those of the checkerboard elements in the 2 nd row, 4 th column space unit and 3 rd row space unit before the elimination, so that the newly added checkerboard elements 14 are generated on the two space units, and the hair color parameters and the scarf color parameters of the newly added checkerboard elements 17 are respectively the same as those of the checkerboard elements respectively filled in the two space units before the elimination of the corresponding space units.
The two elimination conditions are set to enrich the passing method of the target chessboard, wherein after elimination according to the second elimination condition, new chessboard elements are generated on the target chessboard, so that user thinking can be caused, and the puzzle solving difficulty of the target chessboard is improved.
In some embodiments, in case there is a free space unit in a certain target checkerboard and there is no element to be filled, the target checkerboard is displayed through the page. As shown in FIG. 18, in one embodiment, a target board pass page is provided that includes a clearance prompt 180, a continue game indication 181, and a sharing function 182. In some embodiments, the board through page further includes an exit game indication.
In some embodiments, the interface display method further includes: responsive to an operation of setting a control for an element in the user interface, displaying a selection of a plurality of candidate element styles; in response to an operation of the selection item for the target element style, a display style of the checkerboard element displayed in the user interface is set as the target element style.
In some embodiments, the checkerboard element display style is a character avatar, and the element setting control includes a plurality of candidate element style choices, with different choices representing different character avatars. And the terminal equipment determines the target display style of the chessboard element according to the operation of setting the control for the element in the user interface, and displays the chessboard element in the target display style on the user interface. It should be noted that, the display style only affects the display form of the chessboard element, and does not change the attribute information of the chessboard element.
In some embodiments, the interface display method further includes: the method comprises the steps that indication information of the number of elements to be filled is displayed in a user interface and is used for indicating the number of elements to be filled which are needed to be filled in a target chessboard, a user can determine the passing possibility of the current target chessboard according to the indication information of the number of elements to be filled, and under the condition that the target chessboard is determined to have a puzzle solving failure, the user can challenge again, and the situation that the elements to be filled are placed meaninglessly and the game time is wasted is avoided. The user refers to a player playing a game on a target board. In some embodiments, the number indication information of the elements to be filled is displayed in the form of a progress bar, and the terminal device adjusts the display progress in the progress bar according to the number change of the elements to be filled. In some embodiments, the element number indication information to be filled is displayed in the form of a numerical value, for example, the element number indication information to be filled is displayed as 5 in the user interface, which indicates that the number of remaining elements to be filled of the target chessboard is 5.
In some embodiments, the interface display method further comprises: displaying game spectator information on the user interface, the game spectator information being used to represent other user information for the spectator target game, including, but not limited to: nicknames, avatars, ID (Identification) numbers, game service areas, game levels, etc. of other users; and responding to the information sending instruction of other users, displaying game information sent by the other users on a user interface, wherein the game information is used for representing the opinion of the other users on the target chessboard and the users for demating the target chess game. In some embodiments, the game information includes, but is not limited to: the expression encouragement, praise, celebration, shame, etc. of the user to demarcate the target board. The expression form of the game information at least includes: text, facial text, expression package, dynamic image, etc. In some embodiments, the game information is provided by the target application or entered by the user at his own discretion. Methods of displaying game information on a user interface include, but are not limited to: display in bullet screen form, chat window form, text box form, animation form, etc.; optionally, the game information is displayed in other areas than the target board.
By displaying game information of other players on the user interface, the communication process between game users is simplified, and the interface display method has better social properties.
In the process of the user puzzle solving the target chessboard, other users can watch the puzzle solving process of the user. Optionally, a mutual elimination tool is displayed on the user interface of the other users, wherein the mutual elimination tool is used for eliminating the chessboard elements on the target chessboard or reducing the number of elements to be filled in the target chessboard.
In some embodiments, other users refer to players whose spectators are in the process of target checkerboard puzzle. Displaying buttons with a sightseeing function on user interfaces of other users, and responding to the operation of the buttons with the sightseeing function, displaying real-time conditions of a target chessboard of user puzzle on the user interfaces of the other users; displaying, on a user interface of the other user, a process of eliminating a first number of checkerboard elements in the target checkerboard in response to the other user's instruction to use the eliminate mutual aid tool; wherein, other terminal equipment refers to terminal equipment used by other users. In some embodiments, in the event that the target checkerboard has less than or equal to the second number of empty space units, a hint information is displayed on the user interface of the other user as to whether to use the mutual cancellation tool. In some embodiments, the other terminal device or server displays a different number of available mutual cancellation tools on the other user interface depending on the identity level of the other user.
In some embodiments, the terminal device displays, upon receiving the mutual elimination tool use instruction, an elimination process of the first number of checkerboard elements on the user interface. For example, in the case where the number of empty units is 0 in the target board and the number of remaining elements to be filled is not 0, the terminal device displays a process of eliminating 1 board element in the target board based on an instruction of other users to use the mutual aid elimination tool. Optionally, the eliminated checkerboard elements are determined by other users using a mutual elimination tool; optionally, the eliminated checkerboard elements are determined by the user himself. In some embodiments, the terminal device displays game spectator information for other users using the decompaction tool on the user interface.
In some embodiments, the other terminal device responds to the button for the sightseeing function, sends the sightseeing instruction to the server, the server obtains real-time condition information of the target chessboard of the user's puzzles based on the sightseeing instruction, and sends the real-time condition information to the other terminal device, and the other terminal device displays the real-time condition of the target chessboard of the user's puzzles on the user interface of the other user based on the real-time condition information. In case the other terminal device gets an instruction to use the mutual aid elimination tool, the other terminal device sends the instruction to the server, which sends the instruction to the terminal device, which in response to the instruction displays the elimination procedure of the first number of board elements on the user interface.
Communication between game users can be enhanced through the mutual aid elimination tool displayed on the user interface, thereby improving game atmosphere and helping to improve game experience.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Fig. 19 shows a schematic structural diagram of an information processing apparatus provided in an exemplary embodiment of the present application. The apparatus may be implemented as all or a portion of a computer device by software, hardware, or a combination of both, the apparatus 1900 comprising:
a board information obtaining module 1910, configured to obtain board information of a target board, where the board information includes layout information of space units included in the target board, a number of space units filled by initialization, and a number of space units reserved by initialization; the space unit is used for placing the chessboard elements, and the chessboard elements are eliminated in the target chessboard based on the filling positions and the attribute information of the chessboard elements.
A first information determining module 1920, configured to generate a first number of initialization elements according to the number of space units filled by the initialization, and determine attribute information of each of the initialization elements, where the initialization elements are checkerboard elements filled in the target checkerboard by initialization.
And a filling position determining module 1930, configured to determine filling positions of the initialization elements in the target chessboard, and obtain filling information of the initialization elements.
And a second information determining module 1940, configured to generate a second number of elements to be filled according to the number of space units reserved by the initialization, and determine attribute information of each element to be filled, where the element to be filled refers to a chessboard element to be filled into the target chessboard.
A configuration information generating module 1950, configured to generate configuration information corresponding to the target chessboard according to the chessboard information of the target chessboard, the number of the initialization elements, the attribute information and the filling information, and the number and the attribute information of the elements to be filled.
In some embodiments, the fill position determination module 1930 is configured to: randomly determining filling positions of the initialization elements in the target chessboard; if the initialization elements have the removable condition in the target chessboard, executing the step of randomly determining the filling positions of the initialization elements in the target chessboard again; and if the initialization elements do not have the erasable condition in the target chessboard, generating filling information of the initialization elements according to filling positions of the initialization elements in the target chessboard.
In some embodiments, the second information determining module 1940 includes: determining the number value range of the elements to be filled according to the number of the space units reserved by initialization; generating random numbers from the number value range to obtain the second number; and generating the second number of elements to be filled, and determining attribute information of each element to be filled.
In some embodiments, the attribute information for each checkerboard element includes at least two attribute parameters.
In some embodiments, as shown in fig. 20, the apparatus further comprises: the chessboard simulation elimination module 1960 is used for performing multiple simulation elimination processes based on the configuration information corresponding to the target chessboard to obtain simulation passing probability; the simulation elimination process is a simulation process of filling the element to be eliminated into the target chessboard so as to obtain a simulation result of whether the element to be eliminated passes or not; and the passing probability prediction module 1970 is used for determining the predicted passing probability according to the simulated passing probability and the configuration information corresponding to the target chessboard.
In some embodiments, the pass probability prediction module 1970 is configured to: generating input data of a probability prediction model according to the simulation passing probability and the configuration information corresponding to the target chessboard; wherein the input data includes the simulation passing probability, the total number of space units contained in the target chessboard, the number of space units reserved by the initialization, the second number, and the number of elements to be filled with specific attribute information; and processing the input data through the probability prediction model, and outputting the prediction passing probability, wherein the probability prediction model is a model obtained by training a neural network in a machine learning mode.
In some embodiments, as shown in fig. 20, the checkerboard simulation cancellation module 1960, includes: an elimination number determining unit 1962 for determining a total number of times of the simulation elimination process, the total number of times being an accumulated number of times of the simulation elimination process in which the pointer performs a plurality of times of repetition on the same target board; a local weight simulation unit 1964 for performing the simulation elimination process based on falling probabilities corresponding to the plurality of free space units where the element to be filled falls to the target chessboard, respectively; recording the passing times of the simulation elimination process, wherein the passing times refer to the times of the simulation elimination meeting the passing conditions in the simulation elimination process of the total times; the pass probability calculation unit 1968 is configured to calculate the simulated pass probability according to the pass number and the total number.
In some embodiments, as shown in fig. 20, the local weight simulation unit 1964 includes: a probability determination subunit 1965, configured to determine, for any one element to be filled in the second number of elements to be filled, falling probabilities that the element to be filled falls into a plurality of free space units of the target chessboard respectively; a position determining subunit 1966, configured to determine, according to a plurality of the falling probabilities, a target space unit corresponding to the element to be filled, where the target space unit refers to a filling position of the element to be filled in the target chessboard; an element elimination subunit 1967 for removing the element to be filled and the element to be eliminated in the target board in the case where the element to be filled has an erasable condition in the target board; the to-be-eliminated chessboard element is a chessboard element of which the attribute information is completely or partially the same as that of the to-be-filled element in the target chessboard, and the filling position meets the position condition.
In some embodiments, the probability determination subunit 1965 is configured to: for any one of the plurality of free space units, if the to-be-filled element falls into the free space unit and the to-be-eliminated chessboard element does not exist in the target chessboard, determining the falling probability corresponding to the free space unit as a first value; if the to-be-filled element falls into the free space unit and the to-be-eliminated chessboard element exists in the target chessboard, determining the falling probability corresponding to the free space unit as a second numerical value; wherein the first value is less than the second value.
Fig. 21 is a schematic structural view of an interface display device according to an exemplary embodiment of the present application. The apparatus may be implemented as all or part of a terminal device by software, hardware, or a combination of both, the apparatus 2100 comprising:
a target chessboard display module 2110 for displaying a target chessboard in a user interface, wherein the target chessboard comprises a plurality of space units for placing chessboard elements, and the target chessboard eliminates the chessboard elements based on filling positions and attribute information of the chessboard elements.
An initializing element display module 2120, configured to display a first number of initializing elements in the target checkerboard, where the initializing elements are initializing checkerboard elements filled in the target checkerboard; wherein the first number is smaller than the total number of space units contained in the target board.
And a to-be-filled element display module 2130, configured to display at least one to-be-filled element, where the to-be-filled element is a chessboard element to be filled into the target chessboard.
A checkerboard element filling module 2140 for filling the element to be filled in a target space unit of the target checkerboard in response to an operation for the element to be filled.
In some embodiments, the initializing element display 2120 is configured to: acquiring the quantity, attribute information and filling information of the initialization elements from configuration information corresponding to the target chessboard, wherein the filling information of the initialization elements is used for indicating filling positions of the initialization elements in the target chessboard; and displaying the first number of initialization elements in the target chessboard according to the number of the initialization elements, the attribute information and the filling information.
In some embodiments, the element to be filled display 2130 is for: acquiring the quantity and attribute information of the elements to be filled from the configuration information corresponding to the target chessboard; and displaying the at least one element to be filled according to the quantity and the attribute information of the elements to be filled.
In some embodiments, the apparatus further comprises: an elimination condition judgment module (not shown in the figure) for determining whether or not there is a board element to be eliminated that satisfies an elimination condition in the target board based on the filling position and attribute information of the board element that has been filled in the target board; and the elimination result display module (not shown in the figure) is used for displaying the elimination result corresponding to the chessboard element to be eliminated in the target chessboard under the condition that the chessboard element to be eliminated exists.
In some embodiments, the attribute information for each checkerboard element includes at least two attribute parameters; the elimination result display module is used for canceling to display the chessboard element to be eliminated in the target chessboard under the condition that the chessboard element to be eliminated meets the first elimination condition; wherein the first elimination condition comprises that attribute parameters of the chessboard elements to be eliminated are all the same; or under the condition that the chessboard element to be eliminated meets a second elimination condition, canceling to display the chessboard element to be eliminated in the target chessboard, and adding and displaying at least one newly added chessboard element in the target chessboard; wherein the second elimination condition includes that the attribute parameters of the chessboard elements to be eliminated are partially identical.
In some embodiments, the apparatus further comprises: an element style display module (not shown in the figure) for: responsive to an operation of a set control for an element in the user interface, displaying a selection of a plurality of candidate element styles; in response to an operation of a selection item for a target element style, a display style of the chessboard element displayed in the user interface is set to the target element style.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the content structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Fig. 22 shows a block diagram of a computer device 2200 provided in an exemplary embodiment of the present application. The computer device may be the configuration generating device described above for implementing the above-described information processing method; the terminal device described above may also be used to implement the interface display method described above.
In general, the configuration generating apparatus 2200 includes: a processor 2201 and a memory 2202.
The processor 2201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 2201 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (FieldProgrammable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 2201 may also include a main processor and a coprocessor, wherein the main processor is a processor for processing data in an awake state, and is also called a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2201 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 2201 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 2202 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 2202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 2202 stores at least one instruction, at least one program, a set of codes, or a set of instructions that are loaded and executed by the processor 2201 to implement the information processing methods or interface display methods provided by the method embodiments described above.
The embodiment of the application also provides a computer device, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, code set or instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the information processing method or the interface display method provided by each method embodiment.
The embodiment of the application also provides a computer readable storage medium, in which at least one instruction, at least one section of program, a code set or an instruction set is stored, where the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by a processor to implement the information processing method or the interface display method provided in the above method embodiments.
Embodiments of the present application also provide a computer program product or a computer program, where the computer program product or the computer program includes computer instructions, where the computer instructions are stored in a computer readable storage medium, and a processor reads and executes the computer instructions from the computer readable storage medium, so as to implement the information processing method or the interface display method provided in the foregoing method embodiments.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely illustrative of the present application and is not intended to limit the invention to the particular embodiments shown, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and principles of the invention.
Claims (19)
1. An information processing method, characterized in that the method comprises:
obtaining chessboard information of a target chessboard, wherein the chessboard information comprises layout information of space units contained in the target chessboard, the number of space units filled by initialization and the number of space units reserved by initialization; the space unit is used for placing chessboard elements, and the chessboard elements are eliminated in the target chessboard based on filling positions and attribute information of the chessboard elements;
generating a first number of initialization elements according to the number of the space units filled by initialization, and determining attribute information of each initialization element, wherein the initialization elements refer to chessboard elements filled in the target chessboard in an initializing mode;
determining filling positions of the initialization elements in the target chessboard to obtain filling information of the initialization elements;
generating a second number of elements to be filled according to the number of the space units reserved by initialization, and determining attribute information of each element to be filled, wherein the elements to be filled are chessboard elements to be filled into the target chessboard;
And generating configuration information corresponding to the target chessboard according to the chessboard information of the target chessboard, the number of the initialization elements, the attribute information and the filling information, and the number and the attribute information of the elements to be filled.
2. The method of claim 1, wherein determining the filling position of each initializing element on the target board, and obtaining filling information of the initializing element, comprises:
randomly determining filling positions of the initialization elements in the target chessboard;
if the initialization elements have the removable condition in the target chessboard, executing the step of randomly determining the filling positions of the initialization elements in the target chessboard again;
and if the initialization elements do not have the erasable condition in the target chessboard, generating filling information of the initialization elements according to filling positions of the initialization elements in the target chessboard.
3. The method of claim 1, wherein generating a second number of elements to be filled according to the number of space units reserved by the initializing, and determining attribute information of each element to be filled, comprises:
Determining the number value range of the elements to be filled according to the number of the space units reserved by initialization;
generating random numbers from the number value range to obtain the second number;
and generating the second number of elements to be filled, and determining attribute information of each element to be filled.
4. The method of claim 1, wherein the attribute information for each checkerboard element includes at least two attribute parameters.
5. The method according to claim 1, wherein the method further comprises:
based on the configuration information corresponding to the target chessboard, performing a plurality of simulation elimination processes to obtain simulation passing probability; the simulation elimination process is a simulation process of filling the element to be filled into the target chessboard so as to obtain a simulation result of whether the element to be filled passes or not;
and determining the prediction passing probability according to the simulation passing probability and the configuration information corresponding to the target chessboard.
6. The method of claim 5, wherein determining the predicted pass probability based on the simulated pass probability and the configuration information corresponding to the target board comprises:
Generating input data of a probability prediction model according to the simulation passing probability and the configuration information corresponding to the target chessboard; wherein the input data includes the simulation passing probability, the total number of space units contained in the target chessboard, the number of space units reserved by the initialization, the second number, and the number of elements to be filled with specific attribute information;
and processing the input data through the probability prediction model, and outputting the prediction passing probability, wherein the probability prediction model is a model obtained by training a neural network in a machine learning mode.
7. The method of claim 5, wherein performing a simulation elimination process multiple times based on the configuration information corresponding to the target board to obtain a simulation passing probability comprises:
determining the total times of the simulation elimination process, wherein the total times are accumulated times of the simulation elimination process that the pointer performs repeated times on the same target chessboard;
based on the falling probabilities of the elements to be filled falling to a plurality of idle space units of the target chessboard, respectively, performing the simulation elimination process;
Recording the passing times of the simulation elimination process, wherein the passing times refer to the times of the simulation elimination process meeting the passing conditions in the simulation elimination process of the total times;
and calculating the simulation passing probability according to the passing times and the total times.
8. The method of claim 7, wherein the performing the simulated elimination process based on falling probabilities corresponding to a plurality of free space units of the element to be filled falling onto the target board, respectively, comprises:
for any one element to be filled in the second number of elements to be filled, determining falling probabilities of the elements to be filled falling to a plurality of idle space units of the target chessboard, wherein the falling probabilities correspond to the idle space units respectively;
determining a target space unit corresponding to the element to be filled according to the falling probabilities, wherein the target space unit refers to the filling position of the element to be filled in the target chessboard;
if the element to be filled has an erasable condition in the target chessboard, removing the element to be filled and the chessboard element to be erased in the target chessboard; the to-be-eliminated chessboard element is a chessboard element of which the attribute information is completely or partially the same as that of the to-be-filled element in the target chessboard, and the filling position meets the position condition.
9. The method of claim 8, wherein determining a drop probability for the element to be filled to each of the plurality of free space units of the target checkerboard comprises:
for any one of the plurality of free space units, if the to-be-filled element falls into the free space unit and the to-be-eliminated chessboard element does not exist in the target chessboard, determining the falling probability corresponding to the free space unit as a first value;
if the to-be-filled element falls into the free space unit and the to-be-eliminated chessboard element exists in the target chessboard, determining the falling probability corresponding to the free space unit as a second numerical value;
wherein the first value is less than the second value.
10. An interface display method, characterized in that the method comprises:
displaying a target chessboard in a user interface, wherein the target chessboard comprises a plurality of space units for placing chessboard elements, and the target chessboard eliminates the chessboard elements based on filling positions and attribute information of the chessboard elements;
displaying a first number of initializing elements in the target chessboard, wherein the initializing elements are the chessboard elements filled in the target chessboard in an initializing mode; wherein the first number is smaller than the total number of space units contained in the target board;
Displaying at least one element to be filled, wherein the element to be filled refers to a chessboard element to be filled into the target chessboard, the element to be filled is pre-generated according to the number of space units reserved by initialization in the target chessboard, and the space units reserved by initialization refer to space units except for the space units used for filling the initialization element in the target chessboard;
and filling the element to be filled in a target space unit of the target chessboard in response to the operation on the element to be filled.
11. The method of claim 10, wherein displaying a first number of initialization elements in the target board comprises:
acquiring the quantity, attribute information and filling information of the initialization elements from configuration information corresponding to the target chessboard, wherein the filling information of the initialization elements is used for indicating filling positions of the initialization elements in the target chessboard;
and displaying the first number of initialization elements in the target chessboard according to the number of the initialization elements, the attribute information and the filling information.
12. The method of claim 10, wherein displaying at least one element to be filled comprises:
Acquiring the quantity and attribute information of the elements to be filled from the configuration information corresponding to the target chessboard;
and displaying the at least one element to be filled according to the quantity and the attribute information of the elements to be filled.
13. The method of claim 10, wherein after filling the element to be filled in the target space unit of the target board, further comprising:
determining whether a chessboard element to be eliminated meeting an elimination condition exists in the target chessboard or not based on filling positions and attribute information of the filled chessboard elements in the target chessboard;
and if the chessboard element to be eliminated exists, displaying an elimination result corresponding to the chessboard element to be eliminated in the target chessboard.
14. The method of claim 13, wherein the attribute information for each checkerboard element includes at least two attribute parameters;
displaying the elimination result corresponding to the chessboard element to be eliminated in the target chessboard, wherein the elimination result comprises the following steps:
under the condition that the chessboard element to be eliminated meets a first elimination condition, canceling to display the chessboard element to be eliminated in the target chessboard; wherein the first elimination condition comprises that attribute parameters of the chessboard elements to be eliminated are all the same;
Or,
under the condition that the chessboard element to be eliminated meets a second elimination condition, canceling to display the chessboard element to be eliminated in the target chessboard, and adding and displaying at least one newly added chessboard element in the target chessboard; wherein the second elimination condition includes that the attribute parameters of the chessboard elements to be eliminated are partially identical.
15. The method according to claim 10, wherein the method further comprises:
responsive to an operation of a set control for an element in the user interface, displaying a selection of a plurality of candidate element styles;
in response to an operation of a selection item for a target element style, a display style of the chessboard element displayed in the user interface is set to the target element style.
16. An information processing apparatus, characterized in that the apparatus comprises:
the chessboard information acquisition module is used for acquiring chessboard information of a target chessboard, wherein the chessboard information comprises layout information of space units contained in the target chessboard, the number of space units filled by initialization and the number of space units reserved by initialization; the space unit is used for placing chessboard elements, and the chessboard elements are eliminated in the target chessboard based on filling positions and attribute information of the chessboard elements;
The first information determining module is used for generating a first number of initialization elements according to the number of the space units filled by initialization, and determining attribute information of each initialization element, wherein the initialization elements refer to chessboard elements filled in the target chessboard in an initialization mode;
the filling position determining module is used for determining filling positions of the initialization elements in the target chessboard to obtain filling information of the initialization elements;
the second information determining module is used for generating a second number of elements to be filled according to the number of the space units reserved by initialization, and determining attribute information of each element to be filled, wherein the elements to be filled are chessboard elements to be filled into the target chessboard;
and the configuration information generation module is used for generating configuration information corresponding to the target chessboard according to the chessboard information of the target chessboard, the number of the initialization elements, the attribute information and the filling information, and the number and the attribute information of the elements to be filled.
17. An interface display device, the device comprising:
the target chessboard display module is used for displaying a target chessboard in a user interface, the target chessboard comprises a plurality of space units for placing chessboard elements, and the target chessboard eliminates the chessboard elements based on filling positions and attribute information of the chessboard elements;
An initialization element display module, configured to display a first number of initialization elements in the target chessboard, where the initialization elements are chessboard elements that are initialized to be filled in the target chessboard; wherein the first number is smaller than the total number of space units contained in the target board;
the to-be-filled element display module is used for displaying at least one to-be-filled element, wherein the to-be-filled element refers to a chessboard element to be filled into the target chessboard, the to-be-filled element is pre-generated according to the number of space units reserved by initialization in the target chessboard, and the space units reserved by initialization refer to space units in the target chessboard except for the space units used for filling the initialization element;
and the chessboard element filling module is used for filling the element to be filled in the target space unit of the target chessboard in response to the operation on the element to be filled.
18. A computer device comprising a processor and a memory, wherein the memory has stored therein at least one program that is loaded and executed by the processor to implement the information processing method according to any one of claims 1 to 9 or the interface display method according to any one of claims 10 to 15.
19. A computer-readable storage medium, wherein at least one program is stored in the storage medium, the at least one program being loaded and executed by a processor to implement the information processing method according to any one of claims 1 to 9, or the interface display method according to any one of claims 10 to 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111217652.7A CN113952734B (en) | 2021-10-19 | 2021-10-19 | Information processing method, interface display method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111217652.7A CN113952734B (en) | 2021-10-19 | 2021-10-19 | Information processing method, interface display method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113952734A CN113952734A (en) | 2022-01-21 |
CN113952734B true CN113952734B (en) | 2023-07-18 |
Family
ID=79464589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111217652.7A Active CN113952734B (en) | 2021-10-19 | 2021-10-19 | Information processing method, interface display method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113952734B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005124980A (en) * | 2003-10-27 | 2005-05-19 | Namco Ltd | Game system, program, information storage medium, and game image forming method |
CN107376353A (en) * | 2017-07-14 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Outpost of the tax office collocation method and device |
WO2018031060A2 (en) * | 2016-08-10 | 2018-02-15 | Anand Indu M | Enhancing techniques and systems for logical games, activities and puzzles |
CN108888950A (en) * | 2018-06-15 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Interface display method of playing a game, device, equipment and storage medium in terminal |
CN112604292A (en) * | 2020-12-25 | 2021-04-06 | 杭州乐信圣文科技有限责任公司 | Element generation method for elimination-like game and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10115266B2 (en) * | 2015-05-04 | 2018-10-30 | Bally Gaming, Inc. | Gaming machine using randomly triggered symbol array element removal and repopulation |
-
2021
- 2021-10-19 CN CN202111217652.7A patent/CN113952734B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005124980A (en) * | 2003-10-27 | 2005-05-19 | Namco Ltd | Game system, program, information storage medium, and game image forming method |
WO2018031060A2 (en) * | 2016-08-10 | 2018-02-15 | Anand Indu M | Enhancing techniques and systems for logical games, activities and puzzles |
CN107376353A (en) * | 2017-07-14 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Outpost of the tax office collocation method and device |
CN108888950A (en) * | 2018-06-15 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Interface display method of playing a game, device, equipment and storage medium in terminal |
CN112604292A (en) * | 2020-12-25 | 2021-04-06 | 杭州乐信圣文科技有限责任公司 | Element generation method for elimination-like game and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113952734A (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020103723A1 (en) | Method, apparatus and device for scheduling virtual object in virtual environment | |
CN108499108A (en) | The real-time dynamic that game parameter is played in video game application programs is changed and optimization | |
KR102258278B1 (en) | Seasonal reward distribution system | |
US20230336792A1 (en) | Display method and apparatus for event livestreaming, device and storage medium | |
US9498719B2 (en) | Game system, control method for game system, and program | |
JP5901828B1 (en) | Information processing system, program, and server | |
US20140114630A1 (en) | Generating Artifacts based on Genetic and Breeding Simulation | |
JP7454150B2 (en) | Computer program, server device and method | |
KR20220130257A (en) | Adaptive display method and apparatus for virtual scene, electronic device, storage medium and computer program product | |
Lucas et al. | The effect of operating a virtual doppleganger in a 3D simulation | |
Cotton | Virtual reality, empathy and ethics | |
CN112870706A (en) | Teaching content display method, device, equipment and storage medium | |
JP2021037060A (en) | System, method, and program for providing predetermined game, and method for creating classification of decks | |
CN113952734B (en) | Information processing method, interface display method, device and equipment | |
JP7335739B2 (en) | SYSTEM, METHOD AND PROGRAM FOR PROVIDING A GAME | |
CN114681915A (en) | Interactive content display method, interactive content providing device, interactive content equipment and storage medium | |
CN116370959A (en) | Method and device for controlling virtual object in game, terminal equipment and storage medium | |
CN111589118B (en) | User interface display method, device, equipment and storage medium | |
CN115738292A (en) | Friend list display method and device, storage medium and computer equipment | |
US20140018167A1 (en) | User manipulation of voronoi diagram game mechanics | |
Mora et al. | The interactive-token approach to board games | |
CN115068929A (en) | Game information acquisition method and device, electronic equipment and storage medium | |
JP2002263371A (en) | Network game system, recording medium, and program | |
CN113018861A (en) | Virtual character display method and device, computer equipment and storage medium | |
CN110721471A (en) | Virtual application object output method and device and computer storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |