Game card processing method and device, equipment and medium

By displaying the card action sequence in the game interface and responding to the withdrawal operation, the problem of cumbersome and inefficient withdrawal operations in the existing technology is solved, and the accuracy and convenience of card battle operations are improved.

CN122057230APending Publication Date: 2026-05-19NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2026-02-06
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing turn-based card games, the undo operation needs to be triggered repeatedly, which makes the operation cumbersome and inefficient. It is also impossible to intuitively view the historical operation sequence, which increases the cognitive burden on players and affects the game experience.

Method used

The game interface displays the action sequence of the prepared cards, responds to the withdrawal selection operation, determines the target sequence element, and executes the withdrawal through the withdrawal confirmation operation.

Benefits of technology

It improves the accuracy and convenience of card battle operations, reduces the cognitive burden on players, and enhances the efficiency and intuitiveness of undo operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122057230A_ABST
    Figure CN122057230A_ABST
Patent Text Reader

Abstract

The invention provides a game card processing method and device, equipment and a medium, and relates to the technical field of game interaction.The method comprises the steps that in the preparation stage of a current round, in response to a card placement operation, battle preparation cards are placed in a battle area of a game interface according to the card placement operation, and an action sequence for the battle preparation cards is displayed; in response to a withdrawal selection operation for the action sequence, determining a target sequence element corresponding to the withdrawal selection operation in the action sequence; in response to a withdrawal confirmation operation, the target sequence element is withdrawn. The action sequence of the battle preparation card is displayed in the game interface, the withdrawing selection operation is responded, the target sequence element is determined, the withdrawing confirmation operation is responded, and withdrawing of the target sequence element is executed, so that a player clearly knows the action track of the battle preparation card, and the target sequence element is accurately withdrawn; the problems that in traditional operation, card placing steps are not clear, and withdrawing is not targeted are solved, and the accuracy and convenience of game card battle operation are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of game interaction technology, and more specifically, to a game card processing method, apparatus, device, and medium. Background Technology

[0002] In the interactive design of turn-based card games, due to the close sequential relationships between the player's various actions, the implementation of the undo operation must follow the chronological logic of the actions occurring and proceed step by step backward. Currently, most mainstream turn-based card games employ a single-step, sequential undo technique for undo operations. This means that each time a player triggers a undo command, the system can only revert to the previous action step. If multiple action steps need to be reverted, the player must repeatedly trigger the undo command until returning to the target action point.

[0003] The existing single-step sequential undo technology has significant application flaws and fails to meet players' needs for efficient and convenient operation. Firstly, the solution lacks intuitiveness. When players need to undo multiple steps, they cannot directly view the historical sequence of actions and must rely on their memory to recall past actions, which undoubtedly increases the cognitive and memory burden on players, especially in complex matches where backtracking errors are likely. Secondly, the undo efficiency of this solution is extremely low. Repeated operations in multi-step undo scenarios are not only cumbersome but also waste valuable turn time, thus affecting the game experience and match rhythm. Summary of the Invention

[0004] The purpose of this invention is to address the shortcomings of the prior art by providing a game card processing method, apparatus, device, and medium. This allows players to clearly understand the action sequence of the prepared cards and accurately withdraw the target sequence elements by displaying the action sequence of the prepared cards in the game interface, responding to the withdrawal selection operation, determining the target sequence element, responding to the withdrawal confirmation operation, and executing the withdrawal of the target sequence element.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a method for processing game cards, the method comprising: During the preparation phase of the current round, respond to the card placement operation and place the preparation card in the battle area of ​​the game interface according to the card placement operation; Display the action sequence for the prepared cards; In response to a withdrawal selection operation for the action sequence, determine the target sequence element in the action sequence corresponding to the withdrawal selection operation; In response to the withdrawal confirmation operation, the target sequence element is withdrawn.

[0006] In an optional implementation, the action sequence includes at least one sequence element, which includes card information of the prepared card and action information of the prepared card during the battle phase.

[0007] In an optional implementation, the method further includes: Based on the target action information of the target sequence element, determine the action command of the target preparation card corresponding to the target sequence element; The target preparation card is withdrawn according to the action command.

[0008] In an optional implementation, withdrawing the target preparation card according to the action command includes: If the action instruction indicates that the action type of the target preparation card is the first type, the action instruction of the target preparation card is withdrawn.

[0009] In an optional implementation, withdrawing the target preparation card according to the action command includes: If the action instruction indicates that the target preparation card's action type is the second type, remove the target preparation card from the battle area.

[0010] In an optional implementation, the method further includes: A reversal control is displayed in the game interface; The display of the action sequence for the prepared cards includes: In response to a withdrawal trigger operation on the withdrawal control, the action sequence for the prepared card is displayed.

[0011] In an optional implementation, the response to the withdrawal trigger operation of the withdrawal control displays the action sequence for the prepared card, including: In response to a recall trigger operation on the recall control, the action display unit is displayed; The action sequence for the prepared card is displayed in the action display unit.

[0012] In an optional implementation, the withdrawal selection operation is a sliding operation, and the response to the withdrawal selection operation in the action sequence determines the target sequence element corresponding to the withdrawal selection operation in the action sequence, including: In response to the sliding operation for the action sequence, the target sequence element is determined based on the operation trajectory of the sliding operation.

[0013] In an optional implementation, before determining the target sequence element based on the trajectory of the sliding operation in response to the sliding operation of the action sequence, the method further includes: If the end touch point of the sliding operation is within the action display unit, then the target sliding distance of the sliding operation in a preset direction within the action display unit is determined based on the end touch point of the sliding operation; wherein, the preset direction is the arrangement and display direction of the action sequence in the action display unit; Based on the target sliding distance, the sequence element corresponding to the target sliding distance is determined from the action sequence as the target sequence element.

[0014] In an optional implementation, the method further includes: If the end touch point of the swipe operation is outside the action display unit, then the withdrawal selection operation is determined to be canceled.

[0015] In an optional implementation, the response withdrawal confirmation operation, withdrawing the target sequence element, includes: If there are multiple target sequence elements, the withdrawal order of the multiple target sequence elements is determined according to the input order of the multiple target sequence elements; According to the withdrawal order, withdrawal operations are performed sequentially on multiple target sequence elements.

[0016] In an optional implementation, the method further includes: Displays the sub-recall controls corresponding to each sequence element in the action sequence.

[0017] Secondly, embodiments of this application also provide a game card processing device, the device comprising: The placement module is used to respond to the card placement operation during the preparation phase of the current round and place the preparation cards in the battle area of ​​the game interface according to the card placement operation. The display module is used to display the action sequence for the prepared cards; The determination module is used to respond to the withdrawal selection operation for the action sequence and determine the target sequence element corresponding to the withdrawal selection operation in the action sequence; The withdrawal module is used to respond to the withdrawal confirmation operation and withdraw the target sequence element.

[0018] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the game card processing method as described in any of the first aspects.

[0019] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the game card processing method as described in any of the first aspects.

[0020] The beneficial effects of this application are: This application provides a method, apparatus, device, and medium for processing game cards. The method includes: during the preparation phase of the current round, responding to a card placement operation, placing a preparation card in the battle area of ​​the game interface according to the card placement operation, and displaying an action sequence for the preparation card; responding to a withdrawal selection operation for the action sequence, determining the target sequence element corresponding to the withdrawal selection operation in the action sequence; and responding to a withdrawal confirmation operation, withdrawing the target sequence element. This method, by displaying the action sequence of the preparation card in the game interface, responding to the withdrawal selection operation, determining the target sequence element, and responding to the withdrawal confirmation operation to execute the withdrawal of the target sequence element, allows players to clearly understand the action trajectory of the preparation card and accurately withdraw the target sequence element. This solves the problems of unclear card placement steps and non-targeted withdrawals in traditional operations, reduces cognitive burden, and improves the accuracy and convenience of game card battle operations. Attached Figure Description

[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is one of the flowcharts illustrating a game card processing method provided in an embodiment of this application; Figure 2 This application provides a schematic diagram of a game scene for a game card. Figure 3 A second schematic flowchart illustrating a game card processing method provided in this application embodiment; Figure 4 A third schematic flowchart illustrating a game card processing method provided in this application embodiment; Figure 5 This is a schematic diagram of a game scene for another game card provided in an embodiment of this application; Figure 6 A fourth flowchart illustrating a game card processing method provided in this application embodiment; Figure 7 The fifth flowchart illustrating a game card processing method provided in this application embodiment; Figure 8 This application provides another example of a game scene illustration for a game card. Figure 9 A flowchart illustrating a game card processing method provided in this application embodiment is shown in Figure 6. Figure 10 This is a schematic diagram of a game scene for another type of game card provided in an embodiment of this application; Figure 11 This is a schematic diagram of the functional modules of a game card processing device provided in an embodiment of this application; Figure 12 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0024] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0025] In the description of this application, it should be noted that if the terms "upper", "lower", etc. appear to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of this application is usually placed in, it is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0026] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.

[0028] The game card processing method provided in this application is applied to a game interface, enabling the withdrawal of cards in preparation through the current player's actions within the game interface. The game interface is provided by a terminal device, which may have a game application pre-installed. This game application can be a game card application. When the game card application runs and enters a game, the game scene can be displayed on the game interface. The terminal device may include devices such as smartphones, tablets, laptops, desktop computers, and smart TVs.

[0029] Currently, in card game matches, due to the close sequential relationship between the various actions of the players, the implementation of the undo operation must follow the chronological logic of the actions and proceed step by step in order. In other words, if a player wants to undo a card that has been deployed, but other cards have been deployed after that card, the player must first undo the other cards in the deployment order before undoing the original card. When undoing multiple actions, players need to rely on their memory to recall the previous operation process, which can easily lead to undo errors.

[0030] Therefore, in order to improve the efficiency of withdrawal, this application provides a game card processing method, which displays the current player's prepared cards in the current player's battle area during the preparation phase of the current round; displays the action sequence of the prepared cards in the game interface; responds to the withdrawal selection operation for the action sequence, determines the target sequence element corresponding to the withdrawal selection operation in the action sequence, responds to the withdrawal confirmation operation, and withdraws the target sequence element. By displaying the action sequence of the prepared cards, the method assists the current player in performing the withdrawal operation, thereby improving the accuracy and convenience of card battle operations.

[0031] The following detailed explanation, with reference to the accompanying drawings and specific examples, illustrates a game card processing method provided by this application. A game interface is provided via a terminal device, comprising a battle area and an information display area. The battle area includes a card placement area and a terrain area. The card placement area is divided into the opponent's card placement area and the current player's card placement area, used by both players to place game cards for battle. The card placement area includes multiple card sub-areas. Each terrain area corresponds to a set of the opponent's card area and the current player's card area. Game cards in each set of the opponent's card area and the current player's card area engage in game battles based on their corresponding terrain area, and game settlement is performed. The final game result is determined based on the game settlement results of each terrain area. The information display area includes the account identifiers, account names, and current round information of both players. Figure 1 This is one of the flowcharts illustrating a game card processing method provided in this application embodiment. Figure 2 This is a schematic diagram of a game card game scene provided as an embodiment of this application. Figure 1 As shown, the method includes: S101. During the preparation phase of the current round, respond to the card placement operation and place the preparation card in the battle area of ​​the game interface according to the card placement operation.

[0032] S102, Display the action sequence for the prepared cards.

[0033] In this embodiment, when the current player initiates a card game battle, they will randomly enter the same card game match with the opponent. At this time, the game interface of the current player's terminal device includes a battle area, within which multiple terrain areas can be set. These terrain areas can be located in the center of the battle area. It is understood that the battle area can render a game scene background pattern matching the game style to enhance the player's immersion. A card placement area can also be set within the battle area, which can be divided into the opponent's card placement area and the current player's card placement area. The opponent's card placement area and the current player's card placement area can be set on the upper and lower sides of the terrain areas, respectively. The game interface also includes a candidate card area, which can be located below the battle area to display the game cards that the current player has not yet deployed. The player can drag game cards from the candidate card area to place them within the battle area.

[0034] In addition, the game interface includes an information display area to show the account identifiers and names of the current player and the opponent, as well as the current round information, including: remaining time, remaining energy, and the current round number. The account identifiers and names of the current player and the opponent, and the remaining time of the current round, can be placed at the top of the battle area. For example, the account identifiers and names of the current player, the remaining time of the current round, and the account identifiers and names of the opponent can be displayed from left to right at the top of the battle area; there are no restrictions on this. The current round number can be placed at the bottom of the candidate card area. Below the candidate card area, game function controls are also provided, including a retreat control and an end-of-round control. For example, below the candidate card area, from left to right, the retreat control, the remaining energy, and the end-of-round control are displayed, with the current round number displayed in the end-of-round control. There are no restrictions on this.

[0035] Each terrain area has additional game conditions. For example... Figure 2 As shown, the game interface includes a battle area 200, which includes multiple terrain areas, such as terrain area 201, terrain area 202, and terrain area 203. The battle area 200 also includes a card placement area, which includes the current player's card placement area 210 and the opponent's card placement area 220. The current player's card placement area 210 includes multiple card sub-areas, such as card sub-areas 2101, card sub-areas 2102, and card sub-areas 2103. The opponent's card placement area 220 includes multiple card areas, such as card sub-areas 2201, card sub-areas 2202, and card sub-areas 2203. Each terrain region can have different battle conditions. For example, the battle condition for terrain region 201 is that cards with an energy cost of 1, 2, or 3 cannot be placed in this region; the battle condition for terrain region 202 is that the battle power of a card placed in this region is doubled; and the battle condition for terrain region 203 is that the energy cost of a card is reduced by 1. Each terrain region corresponds to a set of card sub-regions for the opponent and the current player. The game cards in each set of card sub-regions for the opponent and the current player engage in game battles based on their corresponding terrain region, and the game is resolved accordingly. For example, terrain region 201 corresponds to card sub-regions 2101 and 2201, and the game cards in card sub-regions 2101 and 2201 engage in game battles based on the battle conditions of terrain region 201.

[0036] Specifically, each preparation card has a corresponding energy consumption value and combat power value. This can be understood as follows: when placing preparation cards during the preparation phase of the current round, the player needs to determine whether each card can be placed based on the remaining energy and its energy consumption value. For example, if the remaining energy is greater than or equal to the energy consumption value of a preparation card, the player can place that card in any of the three terrain areas, depending on the game's combat conditions. If the remaining energy is less than the energy consumption value of a preparation card, the player cannot place that card. After the preparation phase ends, the combat phase begins. Based on the combat power values ​​of the preparation cards placed in each terrain area's sub-area, the cumulative combat power value of each terrain area is updated, and the combat effects of the placed preparation cards are triggered. This ensures that the player wins the game at the end of the final round. The preparation phase can be ended by having both players trigger the end-turn control, thus entering the battle phase; alternatively, the preparation phase can end when the countdown reaches zero, thus entering the battle phase (for example, the preparation phase for each round is set to 30 seconds, which can be a fixed system setting or a player-defined setting; when a player sets a custom setting, the system will match the player with a player whose set time is the same).

[0037] In this game, if the current player's cumulative combat power is greater than the opponent's cumulative combat power in at least two of the three terrain areas after the final round, the current player wins the game; otherwise, the opponent wins. If the current player's cumulative combat power is greater than the opponent's in only one terrain area, and equal to the opponent's in the other terrain area, the game is considered a draw.

[0038] Because the placement of each prepared card in the same terrain area during the preparation phase of each round can affect the combat power of previously placed prepared cards, for example, if prepared card A and prepared card B are placed in card area 2101, and prepared card B has a skill that doubles the total combat power of its surrounding terrain area, then after prepared card B is placed in the same terrain area as prepared card A, upon entering the battle phase after the preparation phase ends, prepared card B's skill will double the cumulative combat power of the terrain area 2101, thus affecting prepared card A's combat power and doubling it as well. Therefore, if multiple prepared cards are placed during the preparation phase of the current round and need to be withdrawn, they must be withdrawn in the order they appear in the terrain area. For example, withdraw prepared card B first, then withdraw prepared card A.

[0039] During the preparation phase of the current round, responding to the card placement operation, i.e., moving the reserve card to the card sub-area of ​​the battle area, the reserve card is placed in the battle area of ​​the game interface according to the card placement operation, and the reserve card placed by the current player is displayed in the current player's battle area. The action sequence of the reserve card is also displayed in the game interface, so that the current player can withdraw the reserve card according to the action sequence of the reserve card.

[0040] S103. In response to the withdrawal selection operation for the action sequence, determine the target sequence element in the action sequence corresponding to the withdrawal selection operation.

[0041] S104. Respond to the withdrawal confirmation operation and withdraw the target sequence element.

[0042] Specifically, based on the player's current withdrawal selection, the target sequence element is determined from the action sequence. A withdrawal confirmation action is then initiated, canceling the target sequence element's display in the action sequence. This withdrawal confirmation action can be either clicking the confirmation button corresponding to the target sequence element, or the touch point being in the area of ​​the target sequence element and then leaving the game interface.

[0043] For example, if in the preparation phase of the current round, preparation card A, preparation card B, and preparation card C are placed in sequence, the action sequence will display the sequence elements of preparation card A, preparation card B, and preparation card C in sequence. If the target sequence elements corresponding to the withdrawal selection operation are the sequence elements of preparation card B and preparation card C, then after responding to the withdrawal confirmation operation, the display of the sequence elements of preparation card B and preparation card C in the action sequence will be withdrawn.

[0044] Optionally, the action sequence includes at least one sequence element, which includes card information of the preparation card and action information of the preparation card during the battle phase.

[0045] Specifically, the action information of the preparation card during the battle phase includes action type and action sequence number. The action type includes a first type and a second type. The first type can be a movement type, which means dragging the preparation card from the card area of ​​the previous terrain area to the card area of ​​the current terrain area. For example, dragging preparation card A from card area 2101 to card area 2102. In a specific embodiment, during the preparation phase of the current round, the player drags preparation card A from the candidate card area to the card area 2101 of terrain area 201, and then drags preparation card A from card area 2101 to the terrain area 201. In the current round's battle phase, card A is placed in card area 2102 of terrain area 202. In this case, card A first uses its skill in card area 2101 of terrain area 201, then moves to card area 2102 of terrain area 202 and uses its skill again. In another specific embodiment, in the previous round, card A was already in card area 2101. In the current round's preparation phase, the player drags card A from card area 2101 to card area 2102, so that in the current round's battle phase, card A moves to card area 2102 and uses its skill. It should be noted that only cards with movement skills can move between card areas corresponding to different terrain areas.

[0046] The second type can be the deployment type, which involves dragging the prepared card from the candidate card area to any card sub-area. For example, during the preparation phase of the current turn, the player drags the prepared card B from the candidate card area to card sub-area 2101.

[0047] For example, such as Figure 2 As shown, the sequence elements for displaying the prepared card A in the action sequence include: action type is type 2, card information and action number 1; the sequence elements for displaying the prepared card B include: action type is type 1, card information and action number 2; the sequence elements for displaying the prepared card C include: action type is type 1, card information and action number 3.

[0048] In summary, this application provides a game card processing method, which includes: during the preparation phase of the current round, responding to a card placement operation, placing a preparation card in the battle area of ​​the game interface according to the card placement operation, and displaying an action sequence for the preparation card; responding to a withdrawal selection operation for the action sequence, determining the target sequence element corresponding to the withdrawal selection operation in the action sequence; and responding to a withdrawal confirmation operation, withdrawing the target sequence element. This method, by displaying the action sequence of the preparation card in the game interface, responding to the withdrawal selection operation, determining the target sequence element, and responding to the withdrawal confirmation operation to execute the withdrawal of the target sequence element, allows players to clearly understand the action trajectory of the preparation card and accurately withdraw the target sequence element. This solves the problems of unclear card placement steps and non-targeted withdrawals in traditional operations, reduces cognitive burden, and improves the accuracy and convenience of game card battle operations.

[0049] This application also provides another possible implementation of the game card processing method. Figure 3 This is a second flowchart illustrating a game card processing method provided in an embodiment of this application. Figure 3 As shown, the method also includes: S201. Based on the target action information of the target sequence element, determine the action command of the target preparation card corresponding to the target sequence element.

[0050] S202, withdraw the target preparation card according to the action order.

[0051] In this embodiment, based on the target action information of the target sequence element, the action command of the target preparation card corresponding to the target sequence element is determined. The action command is the combat command of the target preparation card under the corresponding action type. This can be understood as follows: if the target preparation card's action command is of type one (movement type), then the corresponding action command is that, in the current round of combat, the target preparation card moves to the card sub-area of ​​the target terrain area to release its game skill, or the target preparation card first releases its game skill in the card sub-area of ​​the previous terrain area, then moves to the card sub-area of ​​the next terrain area and releases its game skill again. If the target preparation card's action command is of type two (deployment type), then the corresponding action command is that, in the current round of combat, the target preparation card releases its game skill in the card sub-area of ​​the target terrain area. Then, the target preparation card is withdrawn according to the action command.

[0052] Optionally, if the action instruction indicates that the action type of the target preparation card is Type 1, the action instruction of the target preparation card is withdrawn.

[0053] Specifically, the first type is the movement type. For example, if the current player moves a prepared card A with a movement skill from the card area of ​​the previous terrain area to the card area of ​​the current terrain area during the preparation phase of the current turn, then the first type of information of prepared card A (such as the text "Move") will be displayed in the target sequence element corresponding to prepared card A. In response to the withdrawal confirmation operation for the target sequence element, the target sequence element is withdrawn, and the action command of prepared card A is withdrawn, moving prepared card A from the card area of ​​the current terrain area back to the card area of ​​the previous terrain area. This allows prepared card A to release its skill in the card area of ​​the previous terrain area during the combat phase of the current turn, instead of moving to the card area of ​​the current terrain area.

[0054] Optionally, if the action command indicates that the target preparation card's action type is Type 2, remove the target preparation card from the battle area.

[0055] In this embodiment, the second type is the deployment type. For example, if the current player deploys the reserve card C in the card sub-area of ​​a terrain area during the preparation phase of the current round, the second type information of the reserve card C (e.g., the text "Deployed") will be displayed in the target sequence element corresponding to the reserve card C. In response to the withdrawal confirmation operation for the target sequence element, the target sequence element is withdrawn, and the reserve card C is removed from the battle area. The reserve card C is withdrawn from the card sub-area of ​​the terrain area where it was deployed to the current player's candidate card area, so that the reserve card C does not participate in the battle during the battle phase of the current round.

[0056] In the method provided in this application embodiment, the action instruction of the target preparation card corresponding to the target sequence element is determined according to the target action information of the target sequence element; the target preparation card is withdrawn according to the action instruction, so that different withdrawal operations are performed for different action instructions.

[0057] This application also provides another possible implementation of the game card processing method. Figure 4 This is the third flowchart illustrating a game card processing method provided in this application embodiment. Figure 5 This is a schematic diagram of a game scene for another game card provided in an embodiment of this application. For example... Figure 4 As shown, the method also includes: S301. Display the undo control in the game interface.

[0058] Based on the above-displayed action sequence for the prepared cards, including: S302, In response to the withdrawal trigger operation of the withdrawal control, display the action sequence for the prepared cards.

[0059] In this embodiment, during the preparation phase of the current round, a withdrawal control is also displayed on the game interface. The display position of the withdrawal control can be below the current player's battle area, and there are no restrictions on this. In response to the withdrawal trigger operation of the withdrawal control, the action sequence for the prepared cards is displayed.

[0060] Specifically, such as Figure 5 As shown, the trigger operation for the recall control can be a long press on the recall control, which will then display the action sequence of the preparation cards in the game interface.

[0061] Figure 6 This is the fourth flowchart illustrating a game card processing method provided in this application embodiment; as shown below. Figure 6 As shown, in response to the revocation trigger operation of the revocation control, the action sequence for the prepared cards is displayed, including: S401, In response to the withdrawal trigger operation of the withdrawal control, display the action display unit.

[0062] S402. Display the action sequence for the prepared cards in the action display unit.

[0063] For details, please refer to [link / reference]. Figure 5 After long-pressing the undo control, an action display unit for the prepared cards is displayed, showing the action sequence of each prepared card. For example, the action display unit shows the sequence elements of prepared card A, prepared card B, and prepared card C. If the sequence elements of prepared card B and prepared card C are determined to be the target sequence elements, then the display of the sequence elements of prepared card B and prepared card C in the action sequence is canceled.

[0064] In the method provided in this application embodiment, the action sequence is presented centrally through the action display unit, so that the sequence elements in the action sequence are orderly and the current player can quickly locate and view them, avoiding the tedious search problem caused by the scattered sequence element information, and further improving the efficiency and intuitiveness of the withdrawal operation.

[0065] This application also provides another possible implementation of the game card processing method. The withdrawal selection operation is a sliding operation; in response to the withdrawal selection operation for the action sequence, determining the target sequence element corresponding to the withdrawal selection operation in the action sequence includes: In response to a sliding operation on an action sequence, the target sequence element is determined based on the sliding operation's trajectory.

[0066] In this embodiment, the sliding operation for the action sequence can be a sliding operation that is continuous with the withdrawal trigger operation, or it can be a sliding operation performed independently within the action sequence. It should be noted that the withdrawal selection operation can also be a click operation on multiple sequence elements. Thus, the target sequence element is determined based on the operation trajectory of the sliding operation.

[0067] Figure 7 The fifth flowchart illustrating a game card processing method provided in this application embodiment; Figure 8 This is a schematic diagram of a game scene for another type of game card provided in an embodiment of this application. For example... Figure 7 As shown, in response to a sliding operation on an action sequence, before determining the target sequence element based on the sliding operation trajectory, the method further includes: S501. If the end touch point of the sliding operation is within the mobile display unit, then the target sliding distance of the sliding operation in a preset direction within the mobile display unit is determined based on the end touch point of the sliding operation.

[0068] The preset direction is the arrangement and display direction of the action sequence in the action display unit.

[0069] S502. Based on the target sliding distance, determine the sequence element corresponding to the target sliding distance from the action sequence as the target sequence element.

[0070] In this embodiment, if the action display unit is located above the withdrawal control, the withdrawal selection operation is determined to be a continuous upward swipe operation starting from the withdrawal control within the action display unit. The distance between the end touch point of the upward swipe operation and the starting point is determined to be the target swipe distance. Based on the target swipe distance, the sequence element corresponding to the target swipe distance is determined from the action sequence as the target sequence element.

[0071] Alternatively, in response to a touch operation on at least one sequence element within the action display unit, a target swipe distance is determined, wherein the starting point of the target swipe distance is the sequence element of the last placed standby card among at least one sequence element, and the ending point of the target swipe distance is the sequence element of any standby card within the action display unit.

[0072] It should be noted that, as Figure 8 As shown, the action display unit displays the sequence elements of preparation card A, preparation card B, and preparation card C. Based on the current swipe distance corresponding to the current touch point of the swipe operation, the pre-selected sequence elements are determined to be the sequence elements of preparation card B and preparation card C. Then, the sequence elements of preparation card B and preparation card C are marked with information, such as being highlighted, to indicate that the sequence elements of preparation card B and preparation card C are in a pre-selected state.

[0073] If, based on the target sliding distance corresponding to the end touch point of the sliding operation, the target sequence elements are determined to include: the sequence elements of preparation card A, the sequence elements of preparation card B, and the sequence elements of preparation card C, then the sequence elements of preparation card A, preparation card B, and preparation card C are all marked with identification information, and a reversal operation is performed on the sequence elements of preparation card A, preparation card B, and preparation card C.

[0074] Optionally, if the end touch point of the swipe operation is outside the action display unit, the withdrawal selection operation is determined to be canceled.

[0075] Specifically, if the end touch point of the swipe operation is outside the action display unit, such as when the swipe finally reaches the display position of the undo control, or other areas outside the action display unit, then the undo selection operation is confirmed to be canceled, which also means that this undo operation is canceled.

[0076] The method provided in this application associates the sliding operation with the direction and distance of the action sequence to determine the target sequence element, achieving precise control of batch withdrawal. Players can quickly select multiple sequence elements without repeating operations, significantly improving the efficiency of multi-step withdrawal and meeting the needs of efficient operation in card games. During the sliding input process, pre-selected sequence elements are marked in real time, allowing players to intuitively understand the current pre-selected withdrawal range, facilitating timely adjustments to the sliding operation, reducing the probability of misoperation, and improving the accuracy and controllability of the withdrawal operation.

[0077] This application also provides another possible implementation of the game card processing method. Figure 9 This is a sixth flowchart illustrating a game card processing method provided in an embodiment of this application; as shown below. Figure 9 As shown, in response to the withdrawal confirmation operation, the target sequence element is withdrawn, including: S601. If there are multiple target sequence elements, the withdrawal order of the multiple target sequence elements shall be determined according to the input order of the multiple target sequence elements.

[0078] S602. Perform withdrawal operations on multiple target sequence elements in sequence according to the withdrawal order.

[0079] In this embodiment, if the number of target sequence elements is determined to be multiple, including the sequence elements of preparation card A, preparation card B, and preparation card C, then the sequence element of preparation card C is withdrawn first, followed by the sequence element of preparation card B, and finally the sequence element of preparation card A. This achieves the sequential withdrawal operation of multiple target sequence elements.

[0080] In the method provided in this application embodiment, multiple target sequence elements are withdrawn sequentially according to the input order, ensuring that the withdrawal process conforms to the logical coherence of game operation, avoiding abnormal game state caused by chaotic withdrawal order, ensuring the stability and reliability of withdrawal operation, and maintaining the normal order of game battle.

[0081] This application also provides another possible implementation of the game card processing method. Figure 10 This is a schematic diagram of a game scene for another type of game card provided in an embodiment of this application. For example... Figure 10 As shown, the method also includes: Displays the sub-recall controls corresponding to each sequence element in the action sequence.

[0082] In this embodiment, the action sequence and the corresponding sub-recall control for each sequence element are displayed in a fixed manner in the game interface. For example, the sequence elements of preparation card A, preparation card B, and preparation card C are displayed in a fixed manner in the game interface, and a sub-recall control is displayed after each sequence element.

[0083] The undo operation is defined as: the selection operation on the child undo control corresponding to the target sequence element. The selection operation can be a click operation on the child undo control corresponding to the target sequence element. For example, if a click operation is performed on the child undo control corresponding to the sequence element of preparation card A, then the sequence elements of preparation card A, preparation card B, and preparation card C are all determined to be the target sequence elements, and the undo operation is performed on the sequence elements of preparation card A, preparation card B, and preparation card C.

[0084] The following will continue to explain the game card processing device and electronic device provided in any of the above embodiments of this application. The specific implementation process and the resulting technical effects are the same as those in the corresponding method embodiments. For the sake of brevity, the parts not mentioned in this embodiment can be referred to the corresponding content in the method embodiment.

[0085] Figure 11 This is a schematic diagram of the functional modules of a game card processing device provided in an embodiment of this application. Figure 11 As shown, the game card processing device 100 includes: The placement module 110 is used to respond to the card placement operation during the preparation phase of the current round and place the preparation card in the battle area of ​​the game interface according to the card placement operation. Display module 120 is used to display the action sequence for the prepared cards; The determination module 130 is used to respond to the withdrawal selection operation for the action sequence and determine the target sequence element corresponding to the withdrawal selection operation in the action sequence; The withdrawal module 140 is used to respond to withdrawal confirmation operations and withdraw the target sequence element.

[0086] Optionally, the action sequence includes at least one sequence element, which includes card information of the preparation card and action information of the preparation card during the battle phase.

[0087] Optionally, the determining module 130 is also used to determine the action instructions of the target preparation card corresponding to the target sequence element based on the target action information of the target sequence element; The withdrawal module 140 is also used to withdraw target preparation cards according to action instructions.

[0088] Optionally, the withdrawal module 140 is also used to withdraw the action instruction of the target preparation card if the action instruction indicates that the action type of the target preparation card is the first type.

[0089] Optionally, the withdrawal module 140 is also used to remove the target preparation card from the battle area if the action command indicates that the action type of the target preparation card is the second type.

[0090] Optionally, the display module 120 is also used to display a withdrawal control in the game interface; and in response to a withdrawal trigger operation on the withdrawal control, to display the action sequence for the prepared cards.

[0091] Optionally, the display module 120 is also configured to display an action display unit in response to a withdrawal trigger operation on the withdrawal control; and to display the action sequence for the preparation card in the action display unit.

[0092] Optionally, the withdrawal selection operation is a sliding operation, and the determination module 130 is also used to respond to the sliding operation for the action sequence and determine the target sequence element based on the operation trajectory of the sliding operation.

[0093] Optionally, the determining module 130 is further configured to, if the end touch point of the sliding operation is within the action display unit, determine the target sliding distance of the sliding operation in a preset direction within the action display unit based on the end touch point of the sliding operation; wherein, the preset direction is the arrangement and display direction of the action sequence in the action display unit; and determine the sequence element corresponding to the target sliding distance from the action sequence as the target sequence element based on the target sliding distance.

[0094] Optionally, the determining module 130 is further configured to determine that the withdrawal selection operation is cancelled if the end touch point of the swipe operation is outside the action display unit.

[0095] Optionally, the withdrawal module 140 is further configured to, if there are multiple target sequence elements, determine the withdrawal order of the multiple target sequence elements according to the input order of the multiple target sequence elements; and perform withdrawal operations on the multiple target sequence elements in sequence according to the withdrawal order.

[0096] Optionally, the display module 110 is also used to display the sub-recall controls corresponding to each sequence element in the action sequence.

[0097] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0098] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0099] Figure 12 This is a schematic diagram of an electronic device provided in an embodiment of this application, which can be used for game card processing. Figure 12 As shown, the electronic device includes: a processor 310, a storage medium 320, and a bus 330.

[0100] Storage medium 320 stores machine-readable instructions executable by processor 310. When the electronic device is running, processor 310 communicates with storage medium 320 via bus 330. Processor 310 executes the machine-readable instructions, and the execution methods include: During the preparation phase of the current round, respond to the card placement operation and place the preparation cards in the battle area of ​​the game interface according to the card placement operation. Shows the action sequence for the prepared cards; In response to a withdrawal selection operation in an action sequence, determine the target sequence element in the action sequence corresponding to the withdrawal selection operation; In response to the withdrawal confirmation operation, the target sequence element is withdrawn.

[0101] Optionally, the action sequence includes at least one sequence element, which includes card information of the preparation card and action information of the preparation card during the battle phase.

[0102] Optionally, the method further includes: Based on the target action information of the target sequence element, determine the action instructions of the target preparation card corresponding to the target sequence element; Recall the target preparation cards according to the action order.

[0103] Optionally, withdraw target preparation cards according to action instructions, including: If the action command instructs the target preparation card to have the action type of Type 1, withdraw the action command for the target preparation card.

[0104] Optionally, withdraw target preparation cards according to action instructions, including: If the action command instructs the target preparation card to have the second action type, remove the target preparation card from the battle area.

[0105] Optionally, the method further includes: Display the undo control in the game interface; Shows the sequence of actions for the prepared cards, including: In response to a revocation trigger action on the revocation control, display the action sequence for the prepared cards.

[0106] Optionally, in response to a revocation trigger action on the revocation control, the action sequence for the prepared cards is displayed, including: In response to a recall trigger operation on the recall control, display the action display unit; The action display unit shows the action sequence for the prepared cards.

[0107] Optionally, the withdrawal selection operation is a sliding operation. In response to the withdrawal selection operation for the action sequence, the target sequence element corresponding to the withdrawal selection operation in the action sequence is determined, including: In response to a sliding operation on an action sequence, the target sequence element is determined based on the sliding operation's trajectory.

[0108] Optionally, in response to a sliding operation on an action sequence, before determining the target sequence element based on the sliding operation's trajectory, the method further includes: If the end touch point of the swipe operation is within the action display unit, then the target swipe distance of the swipe operation in a preset direction within the action display unit is determined based on the end touch point of the swipe operation; wherein, the preset direction is the arrangement and display direction of the action sequence in the action display unit; Based on the target sliding distance, the sequence element corresponding to the target sliding distance is determined from the action sequence as the target sequence element.

[0109] Optionally, the method further includes: If the end touch point of the swipe operation is outside the action display unit, the withdrawal selection operation is confirmed to be canceled.

[0110] Optionally, in response to a withdrawal confirmation operation, the target sequence element is withdrawn, including: If there are multiple target sequence elements, the withdrawal order of the multiple target sequence elements is determined according to the input order of the multiple target sequence elements; The withdrawal operation is performed sequentially on multiple target sequence elements according to the withdrawal order.

[0111] Optionally, the method further includes: Displays the sub-recall controls corresponding to each sequence element in the action sequence.

[0112] Optionally, this application also provides a storage medium 320, on which a computer program is stored, and the computer program is executed by a processor to perform the steps of the above method embodiments.

[0113] When a program is executed by a processor, the methods that can be performed include: During the preparation phase of the current round, respond to the card placement operation and place the preparation cards in the battle area of ​​the game interface according to the card placement operation. Shows the action sequence for the prepared cards; In response to a withdrawal selection operation in an action sequence, determine the target sequence element in the action sequence corresponding to the withdrawal selection operation; In response to the withdrawal confirmation operation, the target sequence element is withdrawn.

[0114] Optionally, the action sequence includes at least one sequence element, which includes card information of the preparation card and action information of the preparation card during the battle phase.

[0115] Optionally, the method further includes: Based on the target action information of the target sequence element, determine the action instructions of the target preparation card corresponding to the target sequence element; Recall the target preparation cards according to the action order.

[0116] Optionally, withdraw target preparation cards according to action instructions, including: If the action command instructs the target preparation card to have the action type of Type 1, withdraw the action command for the target preparation card.

[0117] Optionally, withdraw target preparation cards according to action instructions, including: If the action command instructs the target preparation card to have the second action type, remove the target preparation card from the battle area.

[0118] Optionally, the method further includes: Display the undo control in the game interface; Shows the sequence of actions for the prepared cards, including: In response to a revocation trigger action on the revocation control, display the action sequence for the prepared cards.

[0119] Optionally, in response to a revocation trigger action on the revocation control, the action sequence for the prepared cards is displayed, including: In response to a recall trigger operation on the recall control, display the action display unit; The action display unit shows the action sequence for the prepared cards.

[0120] Optionally, the withdrawal selection operation is a sliding operation. In response to the withdrawal selection operation for the action sequence, the target sequence element corresponding to the withdrawal selection operation in the action sequence is determined, including: In response to a sliding operation on an action sequence, the target sequence element is determined based on the sliding operation's trajectory.

[0121] Optionally, in response to a sliding operation on an action sequence, before determining the target sequence element based on the sliding operation's trajectory, the method further includes: If the end touch point of the swipe operation is within the action display unit, then the target swipe distance of the swipe operation in a preset direction within the action display unit is determined based on the end touch point of the swipe operation; wherein, the preset direction is the arrangement and display direction of the action sequence in the action display unit; Based on the target sliding distance, the sequence element corresponding to the target sliding distance is determined from the action sequence as the target sequence element.

[0122] Optionally, the method further includes: If the end touch point of the swipe operation is outside the action display unit, the withdrawal selection operation is confirmed to be canceled.

[0123] Optionally, in response to a withdrawal confirmation operation, the target sequence element is withdrawn, including: If there are multiple target sequence elements, the withdrawal order of the multiple target sequence elements is determined according to the input order of the multiple target sequence elements; The withdrawal operation is performed sequentially on multiple target sequence elements according to the withdrawal order.

[0124] Optionally, the method further includes: Displays the sub-recall controls corresponding to each sequence element in the action sequence.

[0125] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0126] The units described as separate components may or may not be physically separate. 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 units can be selected to achieve the purpose of this embodiment according to actual needs.

[0127] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0128] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0129] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for processing game cards, characterized in that, The method includes: During the preparation phase of the current round, respond to the card placement operation and place the preparation card in the battle area of ​​the game interface according to the card placement operation; Display the action sequence for the prepared cards; In response to a withdrawal selection operation for the action sequence, determine the target sequence element in the action sequence corresponding to the withdrawal selection operation; In response to the withdrawal confirmation operation, the target sequence element is withdrawn.

2. The method according to claim 1, characterized in that, The action sequence includes at least one sequence element, which includes card information of the prepared card and action information of the prepared card during the battle phase.

3. The method according to claim 2, characterized in that, The method further includes: Based on the target action information of the target sequence element, determine the action command of the target preparation card corresponding to the target sequence element; The target preparation card is withdrawn according to the action command.

4. The method according to claim 3, characterized in that, The withdrawal of the target preparation card according to the action command includes: If the action instruction indicates that the action type of the target preparation card is the first type, the action instruction of the target preparation card is withdrawn.

5. The method according to claim 3, characterized in that, The withdrawal of the target preparation card according to the action command includes: If the action instruction indicates that the target preparation card's action type is the second type, remove the target preparation card from the battle area.

6. The method according to claim 1, characterized in that, The method further includes: A reversal control is displayed in the game interface; The display of the action sequence for the prepared cards includes: In response to a withdrawal trigger operation on the withdrawal control, the action sequence for the prepared card is displayed.

7. The method according to claim 6, characterized in that, The response to the withdrawal trigger operation of the withdrawal control displays the action sequence for the prepared card, including: In response to a recall trigger operation on the recall control, the action display unit is displayed; The action sequence for the prepared card is displayed in the action display unit.

8. The method according to claim 7, characterized in that, The withdrawal selection operation is a sliding operation. The response to the withdrawal selection operation in the action sequence determines the target sequence element corresponding to the withdrawal selection operation in the action sequence, including: In response to the sliding operation for the action sequence, the target sequence element is determined based on the operation trajectory of the sliding operation.

9. The method according to claim 8, characterized in that, Before determining the target sequence element based on the operation trajectory of the sliding operation in response to the sliding operation of the action sequence, the method further includes: If the end touch point of the sliding operation is within the action display unit, then the target sliding distance of the sliding operation in a preset direction within the action display unit is determined based on the end touch point of the sliding operation; wherein, the preset direction is the arrangement and display direction of the action sequence in the action display unit; Based on the target sliding distance, the sequence element corresponding to the target sliding distance is determined from the action sequence as the target sequence element.

10. The method according to claim 8, characterized in that, The method further includes: If the end touch point of the swipe operation is outside the action display unit, then the withdrawal selection operation is determined to be canceled.

11. The method according to claim 1, characterized in that, The response withdrawal confirmation operation, which withdraws the target sequence element, includes: If there are multiple target sequence elements, the withdrawal order of the multiple target sequence elements is determined according to the input order of the multiple target sequence elements; According to the withdrawal order, withdrawal operations are performed sequentially on multiple target sequence elements.

12. The method according to claim 1, characterized in that, The method further includes: Displays the sub-recall controls corresponding to each sequence element in the action sequence.

13. A game card processing device, characterized in that, The device includes: The placement module is used to respond to the card placement operation during the preparation phase of the current round and place the preparation cards in the battle area of ​​the game interface according to the card placement operation. The display module is used to display the action sequence for the prepared cards; The determination module is used to respond to the withdrawal selection operation for the action sequence and determine the target sequence element corresponding to the withdrawal selection operation in the action sequence; The withdrawal module is used to respond to the withdrawal confirmation operation and withdraw the target sequence element.

14. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the game card processing method as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, performs the steps of the game card processing method as described in any one of claims 1 to 12.