An interactive control method and device, computer equipment and storage medium
By responding to user drag-and-drop operations in match-3 games, combining elements and updating task information, the problem of unclear changes in game interface elements is solved, improving the consistency of user interaction and the accuracy of task display.
Patent Information
- Application Number
- CN202611424322.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-20
AI Technical Summary
In match-3 puzzle games, how can we present clear and coherent changes in elements based on their arrangement on the board after the user places them, ensuring consistent game interface effects and smooth user interaction?
By displaying the game's interactive interface and responding to the user's drag-and-drop operations, the target element to be placed is placed on the game board. When the preset combination conditions are met, the elements are combined into composite elements. When a row or column is full, the basic elements are eliminated to maintain the complete display of the composite elements. At the same time, the task information is updated to reflect the current board state.
It achieves clear presentation of element changes and accurate updates of task progress during game interaction, improving user experience and the consistency of interactive control.
Smart Images

Figure CN123127682A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer interaction technology, and in particular to an interactive control method, device, computer equipment and storage medium. Background Technology
[0002] Match-3 puzzle games typically display a game board and interactive elements through a user interface, changing the arrangement of elements based on user actions. During gameplay, the interface needs to show the placement of elements and the board's changes after each action, allowing for continued user interaction.
[0003] As the arrangement of elements on the board changes, the game interface needs to process the element objects and their displayed content accordingly. How to present a clear and consistent result of element changes based on the arrangement of elements on the board after the user places them is a problem that needs to be solved in this type of game interaction. Summary of the Invention
[0004] In view of this, this application provides an interactive control method, apparatus, computer device, and storage medium.
[0005] Specifically, this application is implemented through the following technical solution: In a first aspect, this application provides an interactive control method, the method comprising: The game interactive interface is displayed, which includes a game board, an element candidate area and task information. The element candidate area is used to display at least one element to be placed, and the task information is used to indicate the target size of the composite element to be formed and the number of targets corresponding to each target size. In response to a drag operation targeting a element to be placed in the element candidate region, the target element to be placed is placed in the target placement region indicated by the drag operation on the game board. When multiple elements on the game board meet preset combination conditions, the multiple elements are combined into a composite element, and the composite element is displayed at the position where the multiple elements are located. If at least one row or column in the game board is filled with elements, the basic elements in the row or column filled with elements are eliminated, while the composite elements involved in the row or column are kept fully displayed in the game board. The display content of the task information is updated based on the number of composite elements of each target size currently displayed on the game board.
[0006] In one possible implementation, the preset combination conditions include: the multiple elements have the same color, are arranged adjacently, and jointly fill an area with a preset shape; The combination of the plurality of elements into a composite element includes: Multiple elements within the region are combined to form a composite element covering the region; The plurality of elements involved in the combination include at least one of the basic elements and the already formed composite elements.
[0007] In one possible implementation, the method further includes: An indicator box for identifying at least one target area is displayed on the game board; The step of updating the display content of the task information based on the number of composite elements of each target size currently displayed on the game board includes: The task information display content is updated based on the number of composite elements currently displayed that match the size of each target and are completely located within the target area indicated by the corresponding indicator box.
[0008] In one possible implementation, the method further includes, prior to a drag operation targeting the element to be placed: Based on the preset initial board information, at least one preset element is displayed in the target area of the game board. The preset element includes at least one of the basic element and the composite element.
[0009] In one possible implementation, the method further includes: After the target element is placed on the game board, if there are rows or columns filled with elements and multiple elements that satisfy the preset combination conditions, the basic elements in the rows or columns filled with elements are eliminated first. If multiple elements that satisfy the preset combination conditions still exist on the game board after elimination, the multiple elements are combined into a composite element, and the composite element is displayed at the position where the multiple elements are located.
[0010] In one possible implementation, updating the display content of the task information includes: When the number of composite elements of each target size currently displayed on the game board reaches the corresponding target number, a task completion message is displayed.
[0011] In one possible implementation, the game interface also displays the remaining number of moves, and the method further includes: After placing the target element on the game board, the remaining number of moves is reduced, and the updated remaining number of moves is displayed. If the remaining steps are zero and the number of at least one composite element of the target size currently displayed on the game board has not reached the corresponding target number, a task failure message is displayed.
[0012] Secondly, this application provides an interactive control device, the device comprising: The interface display module is used to display the game interaction interface, which includes a game board, an element candidate area, and task information. The element candidate area is used to display at least one element to be placed, and the task information is used to indicate the target size of the composite element to be formed and the number of targets corresponding to each target size. An element placement module is used to place the target element to be placed in the target placement area indicated by the drag operation in response to a drag operation on the element candidate area; The element combination module is used to combine multiple elements in the game board into a composite element when the multiple elements meet the preset combination conditions, and to display the composite element at the position of the multiple elements. The element elimination module is used to eliminate the basic elements in the row or column filled with elements when at least one row or column in the game board is filled with elements, while maintaining the complete display of the composite elements involved in the row or column in the game board. The task update module is used to update the display content of the task information based on the number of composite elements of each target size currently displayed on the game board.
[0013] Thirdly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the interactive control method as described in the first aspect or any possible implementation of the first aspect.
[0014] Fourthly, this application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the interactive control method as described in the first aspect or any possible implementation of the first aspect.
[0015] In this embodiment, by responding to a drag operation targeting a desired element in the element candidate area, the element is placed in the target placement area indicated by the drag operation. This ensures that the user-input position directly corresponds to the element placement position on the disk, facilitating the user to specify and observe the element placement result during the same interaction. Furthermore, multiple elements meeting preset combination conditions are combined into a composite element and displayed in its original position. When a row or column is full, the basic element is eliminated while maintaining the complete display of the composite elements involved, ensuring that the composite element objects and their occupied areas remain identifiable before and after elimination. The task information is further updated based on the number of composite elements of each target size currently displayed, ensuring that the task display corresponds to the disk result after element combination and elimination, allowing the user to continue placement operations based on the actual disk state. Attached Figure Description
[0016] Figure 1 A flowchart illustrating the interactive control method provided in an embodiment of this application; Figure 2 A schematic diagram of the interface for dragging and placing elements provided in the embodiments of this application; Figure 3 A schematic diagram of the interface for the combination of elements provided in the embodiments of this application; Figure 4 A schematic diagram of the interface for basic element elimination and composite element retention provided in the embodiments of this application; Figure 5 A schematic diagram of the interface for the target area and preset elements provided in the embodiments of this application; Figure 6 A schematic diagram of the interface for updating task information provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of the interactive control device provided in the embodiments of this application; Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0017] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0018] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0019] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0020] The embodiments of this application will now be described with reference to the accompanying drawings. The interactive control method in the embodiments of this application can be executed by a computer device running a game program. The computer device displays the game board through a display interface and receives drag-and-drop operations from the user on elements in the interface.
[0021] Figure 1 This is a flowchart illustrating the interactive control method provided in an embodiment of this application. Figure 1 As shown, the method includes the following steps: S101. Display the game interaction interface, which includes a game board, an element candidate area, and task information. The element candidate area is used to display at least one element to be placed, and the task information is used to indicate the target size of the composite element to be formed and the number of targets corresponding to each target size. S102. In response to a drag operation on a target element to be placed in the element candidate area, the target element to be placed is placed in the target placement area indicated by the drag operation on the game board. S103. When multiple elements on the game board meet the preset combination conditions, the multiple elements are combined into a composite element, and the composite element is displayed at the position of the multiple elements. S104. If at least one row or column in the game board is filled with elements, eliminate the basic elements in the row or column filled with elements, and maintain the complete display of the composite elements involved in the row or column in the game board. S105. Update the display content of the task information according to the number of composite elements of each target size currently displayed on the game board.
[0022] Figure 1 In this process, S103 and S104 are executed based on whether the corresponding conditions are met. The branches shown do not indicate that the two processes must occur simultaneously. After placement, only combination, only elimination, both conditions may be met simultaneously, or neither may be met. After executing the triggered process, S105 is performed according to the current board state. When neither condition is met, the task information is updated according to the board state after placement.
[0023] For S101, the game board is used to display placed basic elements and composite elements formed by their combination, the element candidate area is used to display elements to be placed that can be dragged later, and the task information is used to display the target size and its corresponding number. The game board and the element candidate area are display areas with different functions in the interface; for example, the game board is located at the top of the interface, and the element candidate area is located below the game board.
[0024] Elements are interactive objects controlled by the game program. Their appearance is not limited to squares; they can be circles, rounded rectangles, or spheres with a three-dimensional appearance. The displayed appearance of an element is determined by its position and area on the board. For example, a sphere can present a three-dimensional appearance through its projection on the interface, and its placement, combination, and row / column filling are still determined based on its corresponding area on the board.
[0025] In an embodiment where the disk surface is organized using a grid, the disk surface comprises multiple disk surface cells arranged in rows and columns. A basic element can occupy one disk surface cell; an element to be placed can be composed of one or more component cells, which are placed in a single drag-and-drop operation. A composite element is an interactive object formed by combining multiple elements. The difference between basic elements and composite elements lies in the relationship between the combined objects, rather than solely in whether the appearance has right-angled boundaries.
[0026] The target size indicates the dimensions of the composite element to be formed on the disk surface. In the mesh example, the size can be represented by the number of rows and columns covered by the composite element; for example, 3×3 represents a region covering three rows and three columns. Task information can include multiple target sizes, each corresponding to a target quantity. For example, if the task requires forming one 3×3 composite element and one 4×4 composite element, the corresponding target quantity for each is one.
[0027] In S102, the computer device determines the target placement area based on the position indicated by the drag operation, and places the target element to be placed in that area. When the element to be placed contains multiple constituent units, the target placement area corresponds to the arrangement of these constituent units, thereby mapping the interactive objects and their arrangement relationships in the candidate area to the corresponding positions on the game board.
[0028] Figure 2This is a schematic diagram of the interface for dragging and placing elements provided in an embodiment of this application. Figure 2 The two sub-graphs in the figure show the element to be placed being dragged from the candidate area to the game board and the display result after placement; the position indicators in the figure are used to illustrate the relationship between the drag position and the placement result. Figure 2 The diagram illustrates the general drag-and-drop interaction, and displays the size and number of tasks, along with subsequent accompanying illustrations.
[0029] For S103, the judgment object is the multiple elements currently existing on the game board. When the preset combination conditions are met, the multiple elements participating in the combination are presented as a composite element. The composite element is displayed at the location where these elements were originally, rather than being moved off the board and displayed separately. After the combination, the original elements participating in the combination are no longer displayed or counted repeatedly as independent objects.
[0030] In some embodiments of the above combination process, the preset combination conditions include: multiple elements having the same color, being arranged adjacently, and jointly filling an area with a preset shape. When this condition is met, the multiple elements within the area are combined to form a composite element covering the area; wherein, the multiple elements participating in the combination include at least one of the basic elements and the already formed composite elements.
[0031] Adjacent arrangement and shared filling means that the areas occupied by the selected elements are contiguous, and these occupied areas together cover the area corresponding to the preset shape, leaving no empty spaces in that area that have not yet been occupied by the selected elements. The shape in the combination condition refers to the disk area jointly occupied by the elements, and does not require each element that makes up the area to have the same display shape as the area. For example, a basic element that is displayed as a circle can still occupy adjacent disk units and form the preset area.
[0032] The preset shape can be a square or other pre-defined shapes, such as a rectangle. In embodiments with a square area, the size can be 2×2, 3×3, 4×4, etc.; these dimensions are for illustrative purposes only. For other preset shapes, the target size and the area formed by the combination are described using corresponding dimensional methods. The accompanying drawings use square grids and square composite elements as examples, and do not limit the display shape of the elements or the shape of the combined area in all embodiments.
[0033] Figure 3 This is a schematic diagram of the interface for the combination of elements provided in the embodiments of this application. Figure 3 In (a), a 2×2 composite element and five adjacent basic elements of the same color fill a 3×3 area; Figure 3 In (b), the above elements are combined to display as a 3×3 composite element. The original 2×2 composite element no longer exists independently. The different gray levels and the letters A and B in the diagram are used to distinguish different colors; the letters are not mandatory game content.
[0034] For S104, a row or column is filled when all disk cells in that row or column are occupied by elements. Elements occupying that row or column can include basic elements and composite elements. During elimination, the basic elements are eliminated, and the entire area covered by the involved composite elements is preserved, even if only a portion of the composite element is located within the filled row or column; no part of the composite element is eliminated.
[0035] Figure 4 A schematic diagram of the interface for eliminating basic elements and retaining composite elements provided in the embodiments of this application. Figure 4 In (a), the fifth row from the top is filled, and this row passes through both a 2×2 composite element and a 3×3 composite element; Figure 4 In (b), the basic element in the row is eliminated, both composite elements are retained intact, and other elements that were not eliminated continue to be displayed.
[0036] The retention of composite elements is not contingent on whether their size meets the task objective or whether their position is within the indicator box. In the square combination example, composite elements of 2×2 size and larger are not eliminated due to filling a row or column; even if the preset base element is within the target area, it is still processed according to the base element elimination rules. Retention in this case indicates non-participation in the elimination process, not a prohibition on further participation in combination.
[0037] For S105, the computer device determines the quantity based on the composite elements currently displayed as independent objects on the disk. For each target size in the task information, it selects composite elements whose size matches the target size, counts their current quantity, and then associates this quantity with the corresponding target quantity for display. For example, if the task requires forming a 3×3 composite element, and one is currently displayed, it can display "3×3 1 / 1"; if none is currently displayed, it can display "3×3 0 / 1".
[0038] Size matching here refers to meeting the specified size requirements of the task, not that a larger size can replace a smaller size. Historically formed composite elements that no longer exist independently after participating in subsequent combinations are not counted in the current quantity of their original size; nor are sub-regions covered by larger composite elements counted repeatedly as multiple smaller composite elements.
[0039] For tasks with location requirements, in addition to the interface described above, indicator boxes can be displayed on the game board to identify at least one target area. At this time, the task information display is updated based on the number of composite elements currently displayed that match the size of each target and are completely located within the target area identified by the corresponding indicator box.
[0040] The indicator frame can use a dashed boundary. "Completely within the target area" means that all disk units covered by the composite element are within the corresponding target area. Composite elements with only partial overlap with the indicator frame are not counted in the task count for that target area. For tasks containing multiple target areas, the count and display are based on the target size and quantity corresponding to each target area.
[0041] Figure 5 This is a schematic diagram of the target area and preset elements provided in the embodiments of this application. Figure 5 (a) The dashed box marks the 3×3 target area, which displays a 2×2 preset composite element and four basic elements. One basic element is missing in the lower right corner. Figure 5 (b) indicates that after placing and combining basic elements of the same color in the empty position, a 3×3 composite element will be displayed in the indicator box, and the task progress will be updated from 0 / 1 to 1 / 1. The 2×2 composite elements outside the box are not counted in the number of 3×3 tasks in this target area.
[0042] for Figure 5 The initial board shown, before responding to a drag operation targeting the element to be placed, displays at least one preset element in the target area of the game board based on preset initial board information; wherein the preset element includes at least one of basic elements and composite elements. The preset element is an element that has already been displayed at the start of the level, and its position and type are determined by the initial board information.
[0043] Preset basic elements and subsequently placed basic elements are subject to the same combination and elimination rules; preset composite elements and subsequently formed composite elements are subject to the same retention and continued combination rules. When the size and position of a preset composite element meet the counting conditions of the task, it belongs to the corresponding composite element currently displayed on the disk and is not excluded from the count range simply because it is a preset object.
[0044] In embodiments where the indicator box needs to be filled, the area covered by the target composite element can be made consistent with the area marked by the indicator box, such as... Figure 5 As shown; alternatively, multiple target composite elements that meet the quantity requirements can be formed within a target area, allowing them to collectively fill the target area. The corresponding position and quantity requirements are associated through task information.
[0045] In another implementation, the game board does not display an indicator box to define the task position, and the task does not limit the formation position of the composite elements. In this case, as long as there are composite elements of a specified size and corresponding number on the current game board, the task can be counted; the composite elements are not required to be located in a specific position on the board.
[0046] When a single placement simultaneously generates elimination and combination conditions, in some embodiments, the basic elements in the rows or columns filled with elements are first eliminated. If multiple elements that satisfy the preset combination conditions still exist on the game board after elimination, these elements are then combined into a composite element, and the composite element is displayed at its original position.
[0047] The above re-evaluation uses the eliminated board. For example, if a basic element that could originally participate in a combination was eliminated during a full-row elimination, then a composite element will no longer be formed based on the arrangement before elimination; if the combination conditions are still met after elimination, then combination continues. This ensures that the displayed combinations correspond to the elements actually retained on the board.
[0048] Composite elements that have already reached the target size can continue to participate in subsequent combinations and will not be automatically prohibited from combining as the task progresses. After the composite element meets the preset combination conditions again with other elements of the same color, a composite element covering the combined area is formed, and the current quantity of each target size is re-determined according to the state of the combined disk.
[0049] Figure 6 This is a schematic diagram of the interface for updating task information provided in an embodiment of this application. This example requires one 3×3 composite element and two 4×4 composite elements. Figure 6 In (a), there is currently one 3×3 composite element and one 4×4 composite element, and the task quantity has not been fully satisfied; the 3×3 composite element in the upper left corner and the seven adjacent basic elements of the same color satisfy the 4×4 combination condition.
[0050] Figure 6 In (b), after a 4×4 composite element is formed in the upper left corner, the current quantity of the 3×3 composite element becomes zero, and the current quantity of the 4×4 composite element becomes two. The displayed content changes accordingly to 0 / 1 and 2 / 2. This state cannot be used to determine that the task is completed based on the fact that a 3×3 composite element was previously formed. Figure 6 (c) shows the state where a 3×3 composite element is subsequently formed in another location, at which point all quantity requirements have been met. Figure 6 (c) is an example of the subsequent state of the screen and does not necessarily mean that it is formed by a single drag.
[0051] In some embodiments, updating the displayed task information includes: displaying task completion information when the number of composite elements of each target size currently displayed on the game board has reached the corresponding target number. Here, reaching the target number means that the current number is not less than the corresponding target number, and composite elements of other sizes may also exist on the board.
[0052] For example, if a task requires a 3×3 composite element and a 4×4 composite element, and the current board contains composite elements of both sizes, the presence of 2×2 or other larger composite elements does not affect the fulfillment of the task quantity requirement. However, if the 3×3 composite elements are combined to form a 4×4 composite element, and no more 3×3 composite elements remain on the board, then the task completion condition is not met. The task cannot be deemed a failure simply because composite elements exceeding the target size are present on the board.
[0053] For embodiments with indicator boxes, task information is updated according to the number of composite elements that meet the size requirements and are completely located within the corresponding target area. The task completion display also uses the same counting range to avoid using the number of elements outside the box to determine the completion status of the task inside the box.
[0054] For tasks with a limited number of moves, the game interface also displays the remaining moves. After placing the target element on the game board, the remaining moves decrease, and the updated remaining moves are displayed. If the remaining moves are zero, and the number of composite elements of at least one target size currently displayed on the game board does not reach the corresponding target quantity, a task failure message is displayed.
[0055] For example, one valid placement corresponds to one step. For the final placement, after completing the elimination and combination processes triggered by that placement, the task quantity is checked against the resulting board state: if all quantities are satisfied, a task completion message is displayed; if at least one quantity is not satisfied, a task failure message is displayed when the remaining steps are zero. The task result of that placement cannot be ignored simply because the number of steps has decreased to zero.
[0056] Therefore, the task information reflects the current board state, and the remaining steps indicate the number of placement attempts remaining. After the formed target composite elements are combined again, the user can adjust the subsequent placement positions based on the updated task quantity and remaining steps. This method does not require setting a separate lock state to prevent combination for composite elements that have reached a certain target size.
[0057] Corresponding to the embodiments of the aforementioned interactive control method, this application also provides embodiments of the interactive control device.
[0058] Embodiments of the interactive control device of this application can be applied to computer devices running game programs. The device can be implemented in software, hardware, or a combination of both. Taking software implementation as an example, the processor of the computer device reads and executes computer program instructions in memory to implement the functions of the corresponding modules.
[0059] Figure 7 A schematic diagram of the structure of the interactive control device provided in an embodiment of this application. The device includes: The interface display module 701 is used to display the game interaction interface, which includes a game board, an element candidate area and task information. The element candidate area is used to display at least one element to be placed, and the task information is used to indicate the target size of the composite element to be formed and the number of targets corresponding to each target size. The element placement module 702 is used to place the target element to be placed in the target placement area indicated by the drag operation in response to a drag operation on the element candidate area; The element combination module 703 is used to combine multiple elements in the game board into a composite element when multiple elements meet preset combination conditions, and to display the composite element at the position of the multiple elements. The element elimination module 704 is used to eliminate the basic elements in the row or column filled with elements when at least one row or column in the game board is filled with elements, while maintaining the complete display of the composite elements involved in the row or column in the game board. The task update module 705 is used to update the display content of the task information according to the number of composite elements of each target size currently displayed on the game board.
[0060] In one possible implementation, the preset combination conditions adopted by the element combination module 703 include: the multiple elements have the same color, are arranged adjacently, and jointly fill an area with a preset shape; The element combination module 703 is specifically used for: Multiple elements within the region are combined to form a composite element covering the region; The plurality of elements involved in the combination include at least one of the basic elements and the already formed composite elements.
[0061] In one possible implementation, the interface display module 701 is further configured to: An indicator box for identifying at least one target area is displayed on the game board; The task update module 705 is specifically used for: The task information display content is updated based on the number of composite elements currently displayed that match the size of each target and are completely located within the target area indicated by the corresponding indicator box.
[0062] In one possible implementation, prior to a drag operation targeting the element to be placed, the interface display module 701 is further configured to: Based on the preset initial board information, at least one preset element is displayed in the target area of the game board. The preset element includes at least one of the basic element and the composite element.
[0063] In one possible implementation, the element elimination module 704 is further configured to: After the target element is placed on the game board, if there are rows or columns filled with elements and multiple elements that satisfy the preset combination conditions, the basic elements in the rows or columns filled with elements are eliminated first. The element combination module 703 is also used for: If multiple elements that satisfy the preset combination conditions still exist on the game board after elimination, the multiple elements are combined into a composite element, and the composite element is displayed at the position where the multiple elements are located.
[0064] In one possible implementation, the task update module 705 is specifically used for: When the number of composite elements of each target size currently displayed on the game board reaches the corresponding target number, a task completion message is displayed.
[0065] In one possible implementation, the game interface also displays the remaining number of moves, and the interface display module 701 is further configured to: After placing the target element on the game board, the remaining number of moves is reduced, and the updated remaining number of moves is displayed. The task update module 705 is also used for: If the remaining steps are zero and the number of at least one composite element of the target size currently displayed on the game board has not reached the corresponding target number, a task failure message is displayed.
[0066] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0067] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0068] This application also provides a computer-readable storage medium storing a computer program that can be used to execute the interactive control method described in the above embodiments.
[0069] This application also provides a computer device, Figure 8 The schematic diagram of the computer device provided in the embodiments of this application shows that, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to implement the interactive control method described in the above embodiments. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0070] The embodiments of the subject matter and functional operation described in this specification can be implemented in the following ways: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or combinations thereof. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible, non-transitory program carrier for execution by a data processing apparatus or for controlling the operation of a data processing apparatus. Alternatively or additionally, the program instructions may be encoded on artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information and transmit it to a suitable receiving device for execution by the data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or combinations thereof.
[0071] The processing and logic flow described in this specification can be executed by one or more programmable computers that execute one or more computer programs to perform corresponding functions by operating on input data and generating output. The processing and logic flow can also be executed by dedicated logic circuitry—such as FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits), and the device can also be implemented as dedicated logic circuitry.
[0072] Suitable computers for executing computer programs include, for example, general-purpose and / or special-purpose microprocessors, or any other type of central processing unit. Typically, the central processing unit receives instructions and data from read-only memory and / or random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as disks, magneto-optical disks, or optical disks, or the computer will be operatively coupled to such mass storage devices to receive data from or transfer data to them, or both. However, a computer is not required to have such devices. Furthermore, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name a few.
[0073] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. Processors and memory may be supplemented by or incorporated into dedicated logic circuitry.
[0074] While this specification contains numerous specific implementation details, these should not be construed as limiting the scope of any invention or the scope of the claims, but rather are primarily intended to describe features of specific embodiments of a particular invention. Certain features described in the various embodiments herein may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in various embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described above and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation thereof.
[0075] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0076] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.
[0077] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An interactive control method, characterized in that, The method includes: The game interactive interface is displayed, which includes a game board, an element candidate area and task information. The element candidate area is used to display at least one element to be placed, and the task information is used to indicate the target size of the composite element to be formed and the number of targets corresponding to each target size. In response to a drag operation targeting a element to be placed in the element candidate region, the target element to be placed is placed in the target placement region indicated by the drag operation on the game board. When multiple elements on the game board meet preset combination conditions, the multiple elements are combined into a composite element, and the composite element is displayed at the position where the multiple elements are located. If at least one row or column in the game board is filled with elements, the basic elements in the row or column filled with elements are eliminated, while the composite elements involved in the row or column are kept fully displayed in the game board. The display content of the task information is updated based on the number of composite elements of each target size currently displayed on the game board.
2. The method according to claim 1, characterized in that, The preset combination conditions include: the multiple elements have the same color, are arranged adjacently, and jointly fill an area with a preset shape; The combination of the plurality of elements into a composite element includes: Multiple elements within the region are combined to form a composite element covering the region; The plurality of elements involved in the combination include at least one of the basic elements and the already formed composite elements.
3. The method according to claim 1, characterized in that, The method further includes: An indicator box for identifying at least one target area is displayed on the game board; The step of updating the display content of the task information based on the number of composite elements of each target size currently displayed on the game board includes: The task information display content is updated based on the number of composite elements currently displayed that match the size of each target and are completely located within the target area indicated by the corresponding indicator box.
4. The method according to claim 3, characterized in that, Prior to responding to a drag operation on the target element to be placed, the method further includes: Based on the preset initial board information, at least one preset element is displayed in the target area of the game board. The preset element includes at least one of the basic element and the composite element.
5. The method according to claim 1, characterized in that, The method further includes: After the target element is placed on the game board, if there are rows or columns filled with elements and multiple elements that satisfy the preset combination conditions, the basic elements in the rows or columns filled with elements are eliminated first. If multiple elements that satisfy the preset combination conditions still exist on the game board after elimination, the multiple elements are combined into a composite element, and the composite element is displayed at the position where the multiple elements are located.
6. The method according to claim 1, characterized in that, The update of the task information display content includes: When the number of composite elements of each target size currently displayed on the game board reaches the corresponding target number, a task completion message is displayed.
7. The method according to claim 6, characterized in that, The game interface also displays the remaining number of moves, and the method further includes: After placing the target element on the game board, the remaining number of moves is reduced, and the updated remaining number of moves is displayed. If the remaining steps are zero and the number of at least one composite element of the target size currently displayed on the game board has not reached the corresponding target number, a task failure message is displayed.
8. An interactive control device, characterized in that, The device includes: The interface display module is used to display the game interaction interface, which includes a game board, an element candidate area, and task information. The element candidate area is used to display at least one element to be placed, and the task information is used to indicate the target size of the composite element to be formed and the number of targets corresponding to each target size. An element placement module is used to place the target element to be placed in the target placement area indicated by the drag operation in response to a drag operation on the element candidate area; The element combination module is used to combine multiple elements in the game board into a composite element when the multiple elements meet the preset combination conditions, and to display the composite element at the position of the multiple elements. The element elimination module is used to eliminate the basic elements in the row or column filled with elements when at least one row or column in the game board is filled with elements, while maintaining the complete display of the composite elements involved in the row or column in the game board. The task update module is used to update the display content of the task information based on the number of composite elements of each target size currently displayed on the game board.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the interactive control method according to any one of claims 1 to 7.
10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the interactive control method according to any one of claims 1 to 7.
