Virtual piece-based equipment deployment method and apparatus, device, medium, and product

The virtual piece-based equipment deployment method addresses the complexity of equipment wearer changes in turn-based board games by allowing direct transfer between virtual pieces, enhancing efficiency and interaction.

US20260373601A1Pending Publication Date: 2026-11-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/735336
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2024-02-08
Filing Date
2026-07-08
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing methods for changing the wearer of virtual equipment in turn-based board games require complex operations, leading to low equipment deployment efficiency and poor human-computer interaction efficiency.

Method used

A virtual piece-based equipment deployment method that allows direct transfer of virtual equipment between virtual pieces within a board area, simplifying operations and improving flexibility and efficiency.

Benefits of technology

The method enhances equipment deployment efficiency and human-computer interaction by enabling direct transfer of virtual equipment between virtual pieces, thereby improving battle preparation efficiency in turn-based board games.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260373601A1-D00000_ABST
    Figure US20260373601A1-D00000_ABST
Patent Text Reader

Abstract

A virtual piece-based equipment deployment method is performed by a computer device. The method includes: displaying a match interface of a turn-based board game, the match interface including a board area and a hand-held area, the hand-held area including a piece card and an equipment card, and the board area including a first virtual piece and a second virtual piece; receiving a deployment operation of applying a first equipment card in the hand-held area on the first virtual piece; in response to the deployment operation, displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece; receiving a transfer operation of transferring the first virtual equipment to a second virtual piece; and in response to the transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a continuation application of PCT Patent Application No. PCT / CN2025 / 075839, entitled “VIRTUAL PIECE-BASED EQUIPMENT DEPLOYMENT METHOD AND APPARATUS, DEVICE, MEDIUM, AND PRODUCT” filed on Feb. 5, 2025, which claims priority to Chinese Patent Application No. 202410178231.5, entitled “VIRTUAL PIECE-BASED EQUIPMENT DEPLOYMENT METHOD AND APPARATUS, DEVICE, MEDIUM, AND PRODUCT” filed with the China National Intellectual Property Administration on Feb. 8, 2024, all of which are incorporated herein by reference in their entirety.FIELD OF THE TECHNOLOGY

[0002] This application relates to the field of animation generation, and to a virtual piece-based equipment deployment method and apparatus, a device, a medium, and a product.BACKGROUND OF THE DISCLOSURE

[0003] In turn-based board games, players may engage in a virtual match by attacking each other with virtual pieces controlled via accounts. When obtaining virtual equipment, a player can assign the virtual equipment to a specified virtual piece for wearing.

[0004] In related technologies, when it is necessary to change a wearer of virtual equipment, the virtual equipment needs to be removed from a virtual piece, or recycled along with the virtual piece, so that the virtual equipment is returned to a virtual inventory, and then the virtual equipment is reassigned from the virtual inventory to another virtual piece for wearing.

[0005] However, the foregoing method has complex operations, poor flexibility, low equipment deployment efficiency, and low human-computer interaction efficiency during change of a wearer of virtual equipment.SUMMARY

[0006] Embodiments of this application provide a virtual piece-based equipment deployment method and apparatus, a device, a medium, and a product, which can improve equipment deployment efficiency. The technical solutions are as follows.

[0007] According to an aspect, a virtual piece-based equipment deployment method is performed by a computing device, and the method including:

[0008] displaying a match interface of a turn-based board game, the match interface including a board area and a hand-held area, the hand-held area including a piece card and an equipment card, and the board area including a first virtual piece and a second virtual piece;

[0009] receiving a deployment operation of applying a first equipment card in the hand-held area on the first virtual piece;

[0010] displaying, in response to the deployment operation, that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece;

[0011] receiving a transfer operation of transferring the first virtual equipment to the second virtual piece; and

[0012] displaying, in response to the transfer operation, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0013] According to another aspect, a computer device is provided, the computer device including a processor and a memory, the memory having at least one instruction, at least one program, a code set, or an instruction set stored therein, and the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to cause the computer device to implement the virtual piece-based equipment deployment method in any of the foregoing embodiments of this application.

[0014] According to another aspect, a non-transitory computer-readable storage medium is provided, the storage medium having at least one instruction, at least one program, a code set, or an instruction set stored therein, and the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by a processor of a computer device to cause the computer device to implement the virtual piece-based equipment deployment method in any of the foregoing embodiments of this application.

[0015] According to another aspect, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, and the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, to enable the computer device to perform the virtual piece-based equipment deployment method in any of the foregoing embodiments.

[0016] The beneficial effects brought by the technical solutions provided in the embodiments of this application at least include:

[0017] The transfer operation of transferring the first virtual equipment to the second virtual piece is received, and under the control of the transfer operation, it is displayed that the first virtual equipment is transferred from the first virtual piece to the second virtual piece, thereby implementing the equipment deployment method for a virtual piece in the board area in the turn-based board game. Virtual equipment deployed for a virtual piece can be directly transferred between a plurality of virtual pieces in the board area, to simplify equipment transfer operations, improve flexibility and efficiency of equipment deployment, and improve equipment transfer efficiency, thereby improving battle preparation efficiency of the turn-based board game, and improving human-computer interaction efficiency.BRIEF DESCRIPTION OF THE DRAWINGS

[0018] FIG. 1 is a structural block diagram of a computer system according to an exemplary embodiment of this application.

[0019] FIG. 2 is a flowchart of a match interaction method for a turn-based board game according to an exemplary embodiment of this application.

[0020] FIG. 3 is a schematic interface diagram of a match interface of a turn-based board game according to an exemplary embodiment of this application.

[0021] FIG. 4 is a schematic card diagram of a piece card according to an exemplary embodiment of this application.

[0022] FIG. 5 is a schematic card diagram of an effect card according to an exemplary embodiment of this application.

[0023] FIG. 6 is a schematic card diagram of an equipment card according to an exemplary embodiment of this application.

[0024] FIG. 7 is a schematic card diagram of an avatar card according to an exemplary embodiment of this application.

[0025] FIG. 8 is a flowchart of a match interaction method for a turn-based board game according to an exemplary embodiment of this application.

[0026] FIG. 9 is a schematic interface diagram of an avatar selection interface according to an exemplary embodiment of this application.

[0027] FIG. 10 is a schematic interface diagram of a match interface in a battle preparation phase according to an exemplary embodiment of this application.

[0028] FIG. 11 is a schematic interface diagram of playing a card in a battle preparation phase according to an exemplary embodiment of this application.

[0029] FIG. 12 is a schematic diagram of an upgrade process of an upgrade button according to an exemplary embodiment of this application.

[0030] FIG. 13 is a schematic diagram of automatic battling according to an exemplary embodiment of this application.

[0031] FIG. 14 is a schematic interface diagram of a match interface in a battle phase according to an exemplary embodiment of this application.

[0032] FIG. 15 is a schematic interface diagram of a settlement interface according to an exemplary embodiment of this application.

[0033] FIG. 16 is a flowchart of a virtual piece-based equipment deployment method according to an exemplary embodiment of this application.

[0034] FIG. 17 is a schematic diagram of a match interface according to an exemplary embodiment of this application.

[0035] FIG. 18 is a schematic diagram of a first animation effect according to an exemplary embodiment of this application.

[0036] FIG. 19 is a schematic diagram of a second animation effect according to an exemplary embodiment of this application.

[0037] FIG. 20 is a schematic diagram of displaying a second animation effect based on a first transfer operation according to an exemplary embodiment of this application.

[0038] FIG. 21 is a schematic diagram of displaying a second animation effect based on a second transfer operation according to an exemplary embodiment of this application.

[0039] FIG. 22 is a flowchart of a method for displaying a second animation effect according to an exemplary embodiment of this application.

[0040] FIG. 23 is a schematic diagram of a third animation effect according to an exemplary embodiment of this application.

[0041] FIG. 24 is a schematic diagram of a third animation effect according to an exemplary embodiment of this application.

[0042] FIG. 25 is a flowchart of a method for displaying a first animation effect according to an exemplary embodiment of this application.

[0043] FIG. 26 is a flowchart of a method for recycling virtual equipment according to an exemplary embodiment of this application.

[0044] FIG. 27 is a schematic diagram of equipment recycling according to an exemplary embodiment of this application.

[0045] FIG. 28 is a schematic flowchart of virtual piece-based equipment deployment according to an exemplary embodiment of this application.

[0046] FIG. 29 is a structural block diagram of a virtual piece-based equipment deployment apparatus according to an exemplary embodiment of this application.

[0047] FIG. 30 is a structural block diagram of a terminal according to an exemplary embodiment of this application.DESCRIPTION OF EMBODIMENTS

[0048] First, terms in embodiments of this application are described.

[0049] A turn-based board game is a board game in which “pieces” are arranged in advance before a board game battle is started, and in a battle process, the “pieces” can automatically battle based on the preset arrangement. A “piece” is usually represented by a virtual character, and for example, may be referred to as a virtual hero. In a battle process, the virtual character automatically casts various skills to battle. Battles are usually turn-based. When “pieces” on one side of the battle are eliminated (that is, the health points of a virtual character drop to zero), the side loses the current turn of battle. In some embodiments, in addition to “piece-type virtual characters” engaging in a match, two sides of a battle are each provided with an avatar character representing a current user participating in the battle. The avatar character cannot be moved to a battle area or a piece standby area as a “piece”. The avatar character is also provided with health points (or health). The health points of the avatar character are correspondingly reduced (winning a battle) or kept unchanged (losing a battle) based on a battle result of each round. When the health points of the avatar character drop to zero, the user corresponding to the avatar character leaves the battle, and the remaining users continue with the battle. In some embodiments, the turn-based board game includes Auto Chess.

[0050] Auto Chess is a multiplayer turn-based strategy game featuring in-game collectible hero pieces. For example, there are a total of eight or six players in a game, and the players each occupy an area on a board. Two of the multiple players engage in a one-on-one battle. Each turn of a battle includes two phases a battle preparation phase and a battle phase. In the battle preparation phase, a user purchases pieces (heroes) in a shop and arranges the pieces on a board. In the battle phase, the lineups on two sides are locked, and the pieces automatically battle until all the pieces on one side are wiped out.

[0051] A board is an area for battle preparation and battling in a battle interface of a turn-based board game. The board may be any one of a two-dimensional virtual board, a 2.5-dimensional virtual board, and a three-dimensional virtual board. This is not limited in this application.

[0052] A conventional board of Auto Chess is divided into a battle area and a piece standby area. The battle area includes a plurality of identically sized cells, and the cells are configured for placing pieces battling in the battle process. The piece standby area includes a plurality of standby piece positions, the standby piece positions are configured for placing standby pieces, and the standby pieces do not participate in the battle process and can be dragged and placed in the battle area in the battle preparation phase. The board area provided in this embodiment of this application does not include the piece standby area and includes only the battle area.

[0053] Regarding an arrangement manner of the cells in the battle area, in some embodiments, the battle area includes n (rows)×m (columns) cells. For example, n is an integer multiple of 2, and two adjacent rows of cells are aligned, or two adjacent rows of cells are staggered. In addition, the battle area is equally divided into two parts along the rows, which are respectively a friendly battle area and an enemy battle area, users participating in the battle are respectively located on upper and lower sides of the battle interface, and in the battle preparation phase, a user can place pieces only in the friendly battle area. In some other embodiments, the battle area is equally divided into two parts along the columns, which are respectively a friendly battle area and an enemy battle area, and users participating in the battle are respectively located on left and rights side or upper and lower sides of a battle interface.

[0054] A card is a common term of a game type, and derives from a tabletop game. Different from chess in which piece models are directly manipulated, a card represents game content on cards. Compared with pieces, cards can more conveniently convey some text descriptions, card attribute information, and some key numerical values. “Card-based representation” converts hero resources into card resources, facilitating reading and classification of card effects by players, and enabling conveyance of information across more dimensions.

[0055] Energy is a resource form in a game. In this application, energy is defined as a resource for playing a card by a player, and when a card is played, energy of a corresponding numerical value marked on the card needs to be consumed.

[0056] Equipment: In an Auto Chess game each piece can wear three pieces of equipment (or another quantity of pieces of equipment), and the equipment may provide a hero with attributes such as attack power, defense power, and health points or effects such as healing, penetration, and shield. An Auto Chess game in the related technology usually has a PvE round. After defeating creeps, a player obtains equipment dropped by the creeps, picks up the equipment, and stores the equipment in an inventory. Moreover, equipment can also be synthesized from individual pieces to obtain higher-quality equipment.

[0057] An avatar is a virtual character played by a player. Each avatar has unique special abilities to assist a player in achieving better gameplay.

[0058] FIG. 1 is a structural block diagram of a computer system according to an exemplary embodiment of this application. The computer system 100 includes a first terminal 110, a server 120, and a second terminal 130.

[0059] A client 111 supporting a virtual environment is installed and run on the first terminal 110. The client 111 may be a turn-based board game program. When the first terminal runs the client 111, a user interface of the client 111 is displayed on a screen of the first terminal 110. The client may be a client of an Auto Chess game. The first terminal 110 is a terminal used by a first user 112. The first user 112 arranges pieces in a battle area of a board using the first terminal 110 in a battle preparation phase of a match. The first terminal 110 or the server 120 automatically controls the pieces to battle in a battle phase based on attributes, skills, and the arrangement of the pieces in the battle area.

[0060] A client 131 supporting a virtual environment is installed and run on the second terminal 130. The client 131 may be a turn-based board game program. When the second terminal 130 runs the client 131, a user interface of the client 131 is displayed on a screen of the second terminal 130. The client may be a client of an Auto Chess game. The second terminal 130 is a terminal used by a second user 132. The second user 132 arranges pieces in a battle area of a board using the second terminal 130 in the battle preparation phase of the match. The second terminal 130 or the server 120 automatically controls the pieces to battle in the battle phase based on attributes, skills, and the arrangement of the pieces in the battle area.

[0061] In some embodiments, the pieces arranged by the first user using the first terminal 110 and the pieces arranged by the second user using the second terminal 130 are in different battle areas on the same board, that is, the first user and the second user are in the same board of the same match. Alternatively, the pieces arranged by the first user using the first terminal 110 and the pieces arranged by the second user using the second terminal 130 are located on different boards, that is, the first user and the second user are in different boards of the same match. In an embodiment, six user accounts participate in a match of the turn-based board game. The six user accounts are matched in pairs in each turn, and the two matched user accounts battle in the same board in the current turn.

[0062] In some embodiments, the client installed on the first terminal 110 is the same as that installed on the second terminal 130, or the clients installed on the two terminals are clients of the same type on different operating system platforms (Android or iOS). The first terminal 110 may refer to one of a plurality of terminals, and the second terminal 130 may refer to another one of the plurality of terminals. In this embodiment, the first terminal 110 and the second terminal 130 are only used as an example for description. Device types the first terminal 110 and the second terminal 130 are the same or different. The device types include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer. In the following embodiments, an example in which a terminal includes a smartphone is used for description.

[0063] A person skilled in the art may understand that more or fewer terminals may be provided.

[0064] FIG. 1 shows only two terminals, but a plurality of other terminals 140 may access the server 120 in different embodiments. The first terminal 110, the second terminal 130, and the other terminals 140 are connected to the server 120 via a wireless network or a wired network. The server 120 is configured to provide backend services for a client (a client of a turn-based board game / a client of an Auto Chess game) supporting a three-dimensional virtual environment.

[0065] In an exemplary example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-oriented input / output (I / O) interface 125.

[0066] An embodiment of this application provides a turn-based board game (an Auto Chess game) based on card operations. Various complex operations such as shop purchase, shop upgrade, piece battle preparation, piece deployment, piece upgrade, and equipment attachment to pieces in conventional Auto Chess games are all streamlined into a card playing procedure. On one hand, a card-based playing procedure is simple, and is suitable for use on a small-screen terminal such as a mobile phone or a tablet computer. In another aspect, a three-dimensional model of a virtual piece can carry only limited text information, and a card can carry more information such as “tags”, “numerical values”, “attributes”, and “entry effects” on a card face, thereby improving utilization efficiency of a display area in which cards are located.

[0067] FIG. 2 is a flowchart of a match interaction method for a turn-based board game according to an exemplary embodiment of this application. The method is performed by a computing device. In this embodiment, an example in which the method is performed by a terminal is used. A client supporting a turn-based board game runs on the terminal. The method includes the following operations:

[0068] Operation 220: Display a match interface of a turn-based board game, the match interface including a board area and a hand-held area, and the hand-held area displaying at least one card.

[0069] The match interface is an interface on which two player objects engage in a turn-based battle in the turn-based board game. The player object may be understood as at least one concept of a user, an account, a player, an avatar, and a virtual avatar.

[0070] With reference to FIG. 3, the match interface includes a board area 10 and a hand-held area 11. The board area 10 is configured for accommodating at least one friendly piece and at least one enemy piece participating in a combat. The board area 10 includes a plurality of cells 12 arranged in an array. In some embodiments, the board area 10 is a two-dimensional board or a three-dimensional board. A three-dimensional board in this specification means that the board is in a three-dimensional environment, rather than that the board itself is in a three-dimensional form. The hand-held area 11 is configured for displaying at least one card held by or distributed to a friendly player object. The at least one card includes at least one of a card automatically drawn or distributed by a background program to the friendly player object, a card obtained after some cards having a card-drawing effect are played, and an avatar card that can be obtained due to an avatar skill. The plurality of cards is subject to an upper quantity limit, and excess cards are automatically discarded. In some embodiments, the plurality of cards are arranged in the hand-held area 11 in a fan shape, and an arrangement order may be determined based on at least one factor of drawing time, card types, a quantity of cards of the same type, a quantity of identity cards, and card rarity. The friendly player object may play all or some cards in each turn of battle. In some embodiments, in each turn of battle, the friendly player object may alternatively exchange all or some cards. In some embodiments, different cards have different card types. Different card types have different battle preparation functions.

[0071] A match in the turn-based board game includes a plurality of turns. Each turn includes a battle preparation phase and a battle phase.

[0072] Operation 240: Perform, in response to a card playing operation on the at least one card, a battle preparation operation related to the friendly side in the battle preparation phase.

[0073] The card playing operation is an operation of playing one or more held cards. For example, the card playing operation is an operation of dragging a selected card toward the board area. Alternatively, the card playing operation includes a first tap operation and a second tap operation, the first tap operation is an operation of selecting a card with a tap, and the second tap operation is an operation of tapping a cell in the board area. A specific form of the card playing operation is not limited in this embodiment of this application. In some embodiments, a function of intelligently recommending a card to play may further be provided to play cards in place of the friendly player object in some turns. For example, the client intelligently recommends cards to play in first several turns of a new player.

[0074] The at least one friendly piece is a virtual piece participating in a battle in at least one turn (including the current turn). In an initial state, there may be zero friendly pieces located in the board area, and friendly pieces are added, deleted, or supplemented in the board area by the friendly player object. Friendly pieces that survive a previous turn may be automatically carried over to a next turn.

[0075] The battle preparation operation includes at least one of: adding a friendly piece, removing a friendly piece, upgrading a friendly piece, adding equipment to a friendly piece, removing equipment from a friendly piece, upgrading equipment of a friendly piece, and being buffed by a friendly piece.

[0076] Because different card types have different effects, the battle preparation operation is performed on at least one friendly piece in the board area based on a card type of the selected card. In the battle preparation phase, a friendly player object prepares at least one friendly piece in the board area, and an enemy player object prepares at least one enemy piece in the board area.

[0077] Operation 260: In the battle phase, display the friendly piece and the enemy piece automatically battling in the board area.

[0078] A process of automatic battling between the friendly piece and the enemy piece in the board area does not require manual control by the friendly player object. The client or the server automatically controls, based on factors such as cell positions of the pieces on the two sides on the board, piece attributes, piece levels, piece skills, and joint attribute enhancement between pieces, the pieces on the two sides to battle until pieces on one side are wiped out.

[0079] Both the friendly player object and the enemy player object have health points. After the current turn ends, a portion of health points is deducted from the health points of a player object on the losing side. The portion of health points may be determined based on a quantity of remaining pieces on the winning side, or may be fixed values. This is not limited in this embodiment.

[0080] In summary, a “card” mechanism is introduced into the turn-based board game, and a plurality of battle preparation operations are streamlined and integrated into a process of playing a plurality of cards, thereby canceling a shop concept, and a player does not need to complete obtaining, upgrading, and battling of pieces based on repeated interactions between a plurality of sub-areas such as a shop, a piece battle preparation area, and a piece battle area on a conventional battle interface. A purchase process of actively selecting pieces is replaced with passive reception of distributed cards, and a game system handles some complex operations for users, and users can complete various battle preparation operations only by using card playing operations the same as those of a card game, thereby improving human-computer interaction efficiency.

[0081] Especially when a turn-based board game is operated on a small-screen terminal such as a mobile phone or a tablet computer, a player may complete various battle preparation operations based on limited operations in the hand-held area, which can significantly improve human-computer interaction efficiency compared with conventional Auto Chess games.

[0082] Card type classification: In some embodiments, the card type includes at least one of a piece card, an effect card, an equipment card, and an avatar card.

[0083] Piece card: The piece card is a card configured to call a friendly piece or increase a piece level of a friendly piece in the board area. FIG. 4 is a schematic card diagram of a piece card. The piece card displays at least one item of the following information: a piece image 21, a piece name 22, an energy value 23 consumed to play the card, a piece type or faction 24 to which the piece belongs, an increased level 25 of the piece after the card is played, and an additional effect description 26 of the piece.

[0084] The piece image 21 may be at least one of a profile picture, an icon, a portrait, a full-body image, and a display animation of a virtual piece. In FIG. 4, an example in which the piece image 21 is a portrait of a virtual piece is used for description.

[0085] The piece name 22 is a name of a virtual piece. Taking an example in which the virtual piece is a hero, the piece name is a hero name.

[0086] The energy value 23 is an energy value that needs to be consumed to play the piece card, and the energy value is an integer. Energy is a resource in a turn-based board game. In some embodiments, different amounts of energy are consumed to play cards of different rarities.

[0087] The piece type 24 is a classification attribute indicating a character played by a piece in a combat process. A faction is a classification attribute indicating the same piece group to which pieces belong in a virtual world view. In different embodiments, the piece type and the faction may be considered as a same classification attribute. In this embodiment, an example in which the piece type and the faction are different classification attributes is used.

[0088] The increased level 25 of the piece after the card is played is an upgraded piece level for an existing piece having a same name (that is, a same piece) after the card is played when the piece exists in the board area. In some embodiments, after being played, the cards of different rarities increase different levels for a piece having a same name.

[0089] The additional effect description 26 of the piece is an effect description of an additional effect of the piece. The additional effect may be triggered to take effect as soon as a card is played, or may take effect when a trigger condition is met in a battle process.

[0090] Effect card: The effect card is a card configured to apply an effect to at least one game factor in a game match. The at least one game factor includes a piece, a skill, equipment, a boost effect, a level, a combat process, a hand obtaining process, and the like. FIG. 5 is a schematic card diagram of an effect card. The effect card displays at least one item of the following information: an effect icon 31, an effect name 32, an energy value 33 consumed to play the card, and an effect description 34 of the effect card.

[0091] The effect icon 31 may be an icon configured to represent a buff effect of the effect card. FIG. 5 is described using an icon with a hexagonal frame as an example. The effect name 32 is a name of the effect card or a name of the buff effect.

[0092] The energy value 33 is an energy value that needs to be consumed to play the effect card, and the energy value is an integer. Energy is a resource in a turn-based board game. In some embodiments, different amounts of energy are consumed to play cards of different rarities.

[0093] The effect description 34 of the effect card is configured for describing an effect of the effect card after use. The effect of the effect card includes but is not limited to at least one of the following: 1. increasing a probability and / or a quantity when a friendly avatar obtains piece cards; 2. increasing a probability or a quantity when a friendly avatar obtains same-name piece cards associated with pieces on the battlefield; 3. reducing energy that needs to be consumed to obtain a piece card by a friendly avatar; 4. increasing a quantity when a friendly avatar exchanges piece cards; 5. reducing energy that needs to be consumed to exchange piece cards by a friendly avatar; 6. increase a piece level of at least one piece on the battlefield; 7. adding equipment to at least one piece on the battlefield; 8. increasing an equipment level for at least one piece on the battlefield; 9. reducing energy consumed to play / exchange cards; 10. increasing obtaining probabilities of some cards; 11. increasing obtaining quantities of some cards; and 12. increasing card exchange opportunities, and so on. Details are not described one by one again.

[0094] In some embodiments, the effect card may be classified into at least one of a universal effect card, a piece type effect card, and a faction effect card. The universal effect card is an effect card whose card attribute is not related to a piece type / faction, and the card attribute includes at least one of an obtaining condition, a use condition, a card effect, and an effect range. The piece type effect card is an effect card whose card attribute is related to a piece type. The faction effect card is an effect card whose card attribute is related to a faction. For example, an effect card of a piece type may be obtained with a probability only when a piece card of the piece type is played.

[0095] Equipment card: The equipment card is a card configured to equip at least one friendly piece with equipment. FIG. 6 is a schematic card diagram of an equipment card according to an exemplary embodiment of this application. The equipment card displays at least one item of the following information: an equipment icon 41, an equipment name 42, an energy value 43 consumed to play the card, and an equipment description 44 of the equipment card.

[0096] The equipment icon 41 may be an icon configured to represent an equipment image or an equipment effect. FIG. 6 is described using an icon with a circular frame as an example. The equipment name 42 is a name of the equipment card or a name of equipment. Different equipment can enhance combat abilities of a friendly piece or weaken combat abilities of an enemy piece in various dimensions such as health, armor, defense, and mana.

[0097] The energy value 43 is an energy value consumed to play the equipment card. Energy is a resource in a turn-based board game.

[0098] The equipment description 44 of the equipment card is configured for describing effects of equipment after being worn.

[0099] Avatar card: The avatar card is a card obtained through an avatar skill of an avatar virtual character. The avatar card may be a card triggered to be obtained through a passive skill of an avatar virtual character, a card that can be obtained by only an avatar virtual character, a card that can be used by only an avatar virtual character, a card exclusive to only an avatar virtual character, or the like. This is not limited in this embodiment of this application.

[0100] FIG. 7 is a schematic card diagram of an avatar card according to an exemplary embodiment of this application. The avatar card displays at least one item of the following information: a card icon 51, an avatar card name 52, an energy value 53 consumed to play the card, and an equipment description 54 of the avatar card.

[0101] The card icon 51 may be an icon configured to represent an effect of the card. FIG. 7 is described using an icon with a hexagonal frame as an example. The avatar card name 52 is a name of the avatar card or a name of the effect.

[0102] The energy value 53 is an energy value that needs to be consumed to play the avatar card, and the energy value is an integer. Energy is a resource in a turn-based board game. In some embodiments, different amounts of energy are consumed to play cards of different rarities. In some embodiments, energy values consumed by different cards may be periodically or irregularly adjusted based on game balance.

[0103] The effect description 54 of the avatar card is configured for describing an effect that can be added after the avatar card is used. Effects of the avatar card may be the same as or like those of the piece card, the equipment card, and the effect card, and may alternatively exceed the effect scopes of the piece card, the equipment card, and the effect card. The effects of the avatar card may be designed to be in any form of effects such as calling a piece, upgrading a piece, adding equipment, adding a buff effect, reducing energy consumption, and affecting a hand obtaining process.

[0104] It can be known based on the introduction of the foregoing four types of cards that different types of cards have different functions. Shops in conventional Auto Chess games can be removed based on playing features of cards by using the piece card. An effect button or control in conventional Auto Chess games can be removed by using the effect card. A PvE round in conventional Auto Chess games can be removed by using the equipment card. An avatar-related playing features can be integrated by using the avatar card. Based on different types of cards, different mechanisms in the turn-based board game are streamlined into a card playing process, which can reduce user interface elements that need to be displayed on a battle interface, and can also reduce difficulty of operating the friendly player object, thereby improving human-computer interaction efficiency of the friendly player object. In addition, compared with a three-dimensional piece that cannot adequately carry text information because the three-dimensional piece can carry only limited text information, card features of a two-dimensional card can naturally carry more text information and icon information, so that compared with a conventional three-dimensional piece in a battle preparation phase, the two-dimensional card can further increase an amount of information carried in a limited display area on a small-screen terminal, thereby improving information conveyance efficiency.

[0105] The foregoing cards can be played in the battle preparation phase, and some of the cards may be played in a battle phase, for example, some equipment cards, and an effect card for drawing two more cards at once.

[0106] Card obtaining manner: A friendly player object obtains at least one card when meeting an obtaining condition. The obtaining condition includes at least one of the following: Obtaining condition 1: A new round of turn-based combat is started. Each time a new round of turn-based combat is started, several cards are obtained. For example, four cards are drawn in the first round of turn-based combat, and two cards are drawn in a subsequent round of turn-based combat. Obtaining condition 2: A preset piece card is used. The preset piece card is a piece card having an additional skill such as drawing, adding, or copying cards. For example, an effect card is additionally obtained during playing of a piece card with a same name corresponding to a piece on the battlefield. Obtaining condition 3: A preset effect card is used. The preset effect card is an effect card having an action effect such as drawing, adding, or copying cards. Obtaining condition 4: A preset avatar card is used. The preset avatar card is an effect card having an action effect such as drawing, adding, or copying cards. Obtaining condition 5: Resources possessed by the friendly side are consumed for exchange. For example, energy is consumed for drawing or exchange. Obtaining condition 6: An avatar level of an avatar virtual character is upgraded. After the avatar level is upgraded, rarer or more cards may be unlocked and obtained. Obtaining condition 7: A card pool level is upgraded. After the card pool level is upgraded, rarer or more cards may be unlocked and obtained. Obtaining condition 8: An operation of purchasing a card. Obtaining condition 9: A preset avatar skill is triggered. The preset avatar skill is a passive skill having an action effect such as drawing, adding, or copying cards. One avatar card may be drawn every time three cards are played.

[0107] FIG. 8 is a flowchart of a match interaction method for a turn-based board game according to an exemplary embodiment of this application. The method is performed by a computing device. In this embodiment, an example in which the method is performed by a terminal is used. The method includes the following operations:Avatar Selection PhaseOperation 320: Select a friendly avatar virtual character, the avatar virtual character being configured for representing a virtual character controlling at least one friendly piece.

[0109] Before a game match is started each time, a friendly player character selects a preferred avatar virtual character. Different avatar virtual characters have different avatar skills. An avatar skill is usually related to obtaining an avatar card, but may also be related to other game factors.

[0110] In some embodiments, for different avatar skills, there are some respective passive trigger mechanisms to enable the friendly player character to obtain some cards with special effects.

[0111] For example, as shown in FIG. 9, before a game match is started, an avatar selection interface is displayed. The avatar selection interface displays avatar virtual characters selected by six player objects. In some embodiments, an avatar virtual character 61 by a friendly player object is highlighted. Taking an example in which the friendly player object is a player object 4, an avatar virtual character selected by the player object 4 is highlighted in a manner of standing, having an enlarged size, and being centered in the foreground, and avatar virtual characters selected by other player objects are normally displayed in a manner of sitting, having a normal size, and being distributed on two sides.

[0112] Several candidate avatar virtual characters 62, for example, candidate avatars 1 to 5, are displayed on the avatar selection interface. Other candidate avatars may be viewed by swiping left and right, or all candidate avatars may be viewed by tapping an “All” button 63.

[0113] An avatar skill button 64 is further displayed on the avatar selection interface. In response to the avatar skill button 64 being tapped, a name and an effect description of an avatar skill of a currently selected avatar virtual character may be viewed in a pop-up window on the right side. After the avatar virtual character selected by the friendly player object is determined, an “OK” button 65 may be tapped to enter a ready state.

[0114] n player objects participating in a game match engage in turn-based combats in pairs. Each turn includes a battle preparation phase and a battle phase.Battle Preparation Phase of Each Turn

[0115] Operation 340: Display a match interface of a turn-based board game, the match interface including a board area and a hand-held area.

[0116] With reference to FIG. 10, a board area 10 is configured for placing at least one friendly piece and at least one enemy piece. In some embodiments, the upper half of the board area 10 is configured for placing at least one enemy piece, and the lower half of the board area 10 is configured for placing at least one friendly piece. A hand-held area 11 is configured for displaying at least one card held by a friendly player object. In an initial state or some cases (for example, all cards in a current turn are played), a quantity of cards displayed in the hand-held area 11 is 0.

[0117] In some embodiments, attribute information of n player objects participating in the current game match is further displayed at an upper left corner of the match interface. The attribute information includes at least one of a player nickname, a player profile picture, player health, and an avatar level of a player. An avatar skill button 64 is displayed at a lower left corner of the match interface. A card exchange button 14 and an upgrade button 15 are further displayed at a lower right corner of the match interface. The card exchange button 14 is configured to exchange one or more cards in the hand-held area 11. The upgrade button 15 is configured to upgrade a level of an avatar virtual character, to unlock rarer cards and capabilities and obtain equipment.

[0118] In some embodiments, an energy control 16 is further displayed at an upper right corner of the match interface, and the energy control 16 is configured to display an energy value possessed by the friendly player object. Energy is a game resource that may need to be used in each phase of an entire game match.

[0119] Operation 360: Perform, in response to a card playing operation on at least one card, a battle preparation operation related to the friendly piece.

[0120] The card type includes at least one of a piece card, an equipment card, an effect card, and an avatar card. The friendly player object may perform a battle preparation operation with different functions using card playing operations on different piece cards. This operation includes at least one of the following operations: Operation 362: Perform, in response to a card playing operation on a piece card, a battle preparation operation related to the at least one friendly piece in the board area. Operation 364: Equip virtual equipment on all or some pieces of at least one piece in response to a card playing operation on an equipment card. Operation 366: Perform, in response to a card playing operation on an effect card, a battle preparation operation of adding an effect to at least one factor in the game match. Operation 368: Perform, in response to a card playing operation on an avatar card, a battle preparation operation related to at least one factor in the game match. A quantity of times and a sequence of performing operation 362, operation 364, operation 366, and operation 368 in each round of turn-based combat may vary. This is not limited in this embodiment.

[0121] For operation 362 (the piece card), in some embodiments, cards located in the hand-held area include a first piece card. A first friendly piece is added to the board area in response to a card playing operation on the first piece card, and the first friendly piece is a piece corresponding to the first piece card. In some embodiments, the first friendly piece is a piece that is not called to the board area.

[0122] That is, when the first friendly piece does not exist in the board area, the first friendly piece is added to the board area in response to the card playing operation on the first piece card.

[0123] At least two candidate cells are displayed in the board area in response to the card playing operation on the first piece card, and a first indication element corresponding to the first piece card is displayed. The first indication element includes at least one of a reduced-size first piece card, a first friendly piece, and a first indication arrow. The first friendly piece is added to a first candidate cell in response to a drag operation of dragging the first indication element to the first candidate cell; The first candidate cell is one of the at least two candidate cells.

[0124] The at least two candidate cells may be all candidate cells, or may be candidate cells only belonging to the friendly side. The at least two candidate cells may always be displayed, or may be displayed only when a card playing operation is detected.

[0125] An example in which the first piece card is the fourth card in FIG. 10 is used. With reference to FIG. 11, in response to a drag operation on the first piece card, a first friendly piece 17 and a first indication arrow 18 are displayed. The first friendly piece 17 is a three-dimensional piece, and slides following a real-time position of the drag operation. A start point of the first indication arrow 18 is a position of the first piece card before being played, and an end point is the real-time position of the drag operation. When a hand release position of the drag operation is in the first candidate cell, the first friendly piece 17 is called to the first candidate cell. It can be known based on FIG. 11 that, in the interaction manner, a piece battle preparation area is removed, and the hand-held area provides both piece obtaining and battle preparation functions, so that one display area achieves multiple functions, thereby improving human-computer interaction efficiency.

[0126] In some embodiments, cards located in the hand-held area include a second piece card. In response to a card playing operation on the second piece card and a second friendly piece already exists in the board area, a piece level of the second friendly piece is upgraded in the board area, and the second friendly piece is a piece corresponding to the second piece card.

[0127] The card playing operation on the second piece card may be alternatively a drag operation. However, because the second friendly piece already exists in the board area, the drag operation can be completed when a hand release position of the drag operation is at any position in the board area, and can take effect without requiring the friendly player object to accurately drag the second piece card onto the second friendly piece.

[0128] For operation 364 (the equipment card), in some embodiments, cards located in the hand-held area include an equipment card. In response to a card playing operation on the equipment card, a second indication element corresponding to the equipment card is displayed. The second indication element includes at least one of a reduced-size equipment card, virtual equipment corresponding to the equipment card, and a second indication arrow. Virtual equipment is equipped on the second friendly piece in response to a drag operation of dragging the second indication element to the second friendly piece. The second friendly piece is a friendly piece that already exists in the board area.

[0129] For operation 366 (the effect card), in some embodiments, cards located in the hand-held area include an effect card. In response to a card playing operation on the effect card, an effect is added to at least one friendly piece, and / or an effect is added to a card obtaining procedure.

[0130] Classified by action object, effect cards fall in two types: Type 1: An effect is added to a friendly piece in the board area. Type 2: An effect is added to a card obtaining process. In response to a card playing operation on an effect card of Type 1, an effect is added to at least one friendly piece. For example, a buff exclusive to a piece type is added, and a joint buff is added when at least two pieces belonging to the same faction exist on the battlefield. In response to a card playing operation on an effect card of Type 2, an effect is added to a card obtaining procedure. For example, two identical piece cards are consecutively drawn.

[0131] For operation 368 (the avatar card): At least one of the following battle preparation operations is performed in response to a card playing operation on the avatar card: adding a friendly piece, removing a friendly piece, upgrading a friendly piece, adding an effect to a friendly piece, equipping a friendly piece with equipment, an operation related to card obtaining, an operation related to card selling, an operation related to card exchange, an operation related to a subsequent turn, and an operation related to the health points of a friendly player object.

[0132] That is, the function of the avatar card is special, and may be any one of functions of a piece card, an equipment card, and an effect card, or may be a function related to a card obtaining procedure, or may be a function related to health points of an avatar.

[0133] In the battle preparation phase, the friendly player object may further use at least one of a card exchange function, a card deletion function, and an avatar level upgrade function. Card exchange function: In the battle preparation phase, the friendly player object may further exchange one or more cards in the hand-held area, and exchange the one or more cards by tapping a card exchange button. Card exchange needs to consume energy. Card deletion function: In a card playing process, a card may be deleted or sold by dragging the card to a specified position, resources consumed by the deleted card cannot be recovered, a part of resources may be recovered, or fixed energy can be recovered. Avatar level upgrade function: The friendly player object obtains several pieces of energy in each turn, energy that is not used in the current turn may be accumulated to a next turn, and an avatar level can be upgraded using energy. A higher avatar level indicates rarer cards that can be drawn in each turn, and some new abilities such as talents and purchasable equipment are unlocked at the same time. In some embodiments, rarity identifiers of different colors may be displayed on the upgrade button 15, and as the avatar level is upgraded, a rarity identifier corresponding to a current avatar level is illuminated to indicate a card rarity that can be obtained at the current avatar level. The rarity identifiers may be small rounded rectangles shown in FIG. 12 as an example, or may be in another shape or form.

[0134] Battle phase of each turn: Operation 380: In the battle phase, display the friendly piece and the enemy piece automatically battling in the board area.

[0135] A process of automatic battling between the friendly piece and the enemy piece in the board area does not require manual control by the friendly player object. The client or the server automatically controls, based on factors such as cell positions of the pieces on the two sides on the board, piece attributes, piece levels, piece skills, piece attributes, and joint attribute enhancement between pieces, the pieces on the two sides to battle until pieces on one side are wiped out.

[0136] FIG. 13 is a schematic diagram of automatic battling between friendly pieces 17 and an enemy piece 19 in melee combat in a board area. None of the actions such as movement, skill casting, and functions of the pieces on two sides in a battle process requires manual control by players.

[0137] Combat settlement phase: Operation 390: Settle health points of the friendly avatar virtual character, and start a next round of turn-based combat or end a current game match based on the health points.

[0138] Both the friendly player object and the enemy player object have health points. After the current turn ends, a portion of health points is deducted from the health points of a player object on the losing side. The portion of health points may be determined based on a quantity of remaining pieces on the winning side, or may be fixed values. This is not limited in this embodiment.

[0139] When the health points are reduced to zero, a player object is eliminated from the current game match. When the health points are not reduced to zero, a next round of turn-based combat is started in the current game match, and the player object continues to combat one of the n player objects until being eliminated, or win the current game match as the last one that is not eliminated.

[0140] In some embodiments, damage calculation is determined based on a quantity of remaining pieces on the winning side. FIG. 14 shows an animation effect of settlement on health points of a friendly piece virtual character 61 when the friendly side is the losing side and one of 19 enemy pieces remains. A health point progress bar may be displayed above the head top the piece virtual character 61.

[0141] For example, referring to FIG. 15, settlement information of the current game match is displayed on a settlement interface. The settlement information includes information such as player rankings as well as avatars, lineups, and piece types used by each player.

[0142] According to the method provided in this embodiment, shops in conventional Auto Chess games can be removed based on playing features of cards by using the piece card, and the complex process that a user originally needs to purchase preferred pieces in tens of sellable pieces in the shop is changed to a process in which a game system automatically distributes several cards to a player. The user does not need to manually select cards, thereby reducing a quantity of interaction operations required when the user obtains pieces and an amount of information that the user needs to process.

[0143] According to the method provided in this embodiment, an effect button or control in conventional Auto Chess games can be removed by using the effect card. A PvE round in conventional Auto Chess games can be removed by using the equipment card. An avatar-related playing features can be integrated by using the avatar card. Based on different types of cards, different mechanisms in the turn-based board game are streamlined into a card playing process, which can reduce user interface elements that need to be displayed on a battle interface, thereby reducing the time for actively searching for related function entries by a user, and can also reduce difficulty of operating the friendly player object, thereby improving human-computer interaction efficiency of the friendly player object.

[0144] With reference to the foregoing overall description of turn-based board games, FIG. 16 is a flowchart of a virtual piece-based equipment deployment method according to an exemplary embodiment of this application. The method is performed by a computing device. That is, the method may be performed by a terminal, or may be performed by a server, or may be performed by both a terminal and a server. This embodiment of this application is described by using an example in which the method is performed by the first terminal shown in FIG. 1. As shown in FIG. 16, the method includes the following operations:

[0145] Operation 1610: Display a match interface of a turn-based board game.

[0146] The match interface includes a board area and a hand-held area, the hand-held area includes a piece card and an equipment card, the piece card is configured for invoking a virtual piece in the board area, the virtual piece is configured for participating in a turn-based virtual battle in the board area, the equipment card is configured for deploying virtual equipment to the virtual piece, and the board area includes a first virtual piece and a second virtual piece.

[0147] The virtual battle includes a friendly faction and an enemy faction. The hand-held area is configured for displaying cards held by the friendly side in a current turn. Card types include but are not limited to a piece card, an equipment card, an effect card, and an avatar card. The board area is configured for displaying virtual pieces that are separately used by the friendly faction and / or the enemy faction to participate in the turn-based virtual battle. The virtual battle includes at least one enemy faction.

[0148] In some embodiments, a card includes card information such as a card type, a card name, a card function, and a card consumption value. The card consumption value is configured for indicating virtual resources that need to be consumed to play the card. The virtual resources may be any resources that are configured for playing a card and that are provided in the turn-based board game, for example, virtual resources such as energy, gold coins, or diamonds in the game. This embodiment of this application is described by using energy as an example.

[0149] Taking a piece card as an example, the piece card includes piece card information such as a piece card type identifier, a piece name, piece combat power information, and a piece consumption value. Taking an equipment card as an example, the equipment card includes equipment card information such as an equipment card type identifier, an equipment name, an equipment function, and an equipment consumption value.

[0150] Based on different game phases of the turn-based board game, virtual pieces of different factions participating in a battle may be displayed in the board area in the match interface. For example, in a battle preparation phase, only virtual pieces called by the friendly faction are displayed in the board area. Virtual pieces called by the enemy faction to the board area in the battle preparation phase may be viewed by switching faction perspectives. In a battle phase, virtual pieces that are separately called by a plurality of factions participating in the match are displayed in the board area.

[0151] In some embodiments, cards in the hand-held area may be obtained in any game phase of the turn-based board game. Cards obtained in the battle preparation phase of each turn may start to be used in the current turn, cards obtained in the battle phase of each turn may start to be used in a next turn, and cards obtained in a combat settlement phase may start to be used in a next match.

[0152] The first virtual piece and the second virtual piece in the board area are friendly pieces, and a calling process of friendly pieces is included before operation 1610. Taking the first virtual piece and the second virtual piece as an example, before operation 1610, the hand-held area includes a first piece card and a second piece card, the first piece card is configured for calling the first virtual piece to the board area in the battle preparation phase, and the second piece card is configured for calling the second virtual piece to the board area in the battle preparation phase. The first virtual piece and the second virtual piece are displayed in the board area in response to receiving a card playing operation on each of the first piece card and the second piece card.

[0153] The card playing operation is configured for triggering execution of a battle preparation operation related to the friendly side, and the card playing operation is an operation of playing one or more held cards. For example, the card playing operation is an operation of dragging a selected card toward the board area. Alternatively, the card playing operation includes a first tap operation and a second tap operation, the first tap operation is an operation of selecting a card with a tap, and the second tap operation is an operation of tapping a cell in the board area. A specific form of the card playing operation is not limited in this embodiment of this application. In some embodiments, a function of intelligently recommending a card to play may further be provided to play cards in place of the friendly player object in some turns. For example, the client intelligently recommends cards to play in first several turns of a new player.

[0154] For example, FIG. 17 is a schematic diagram of a match interface according to an exemplary embodiment of this application. As shown in FIG. 17, a match interface 1700 includes a board area 1710 and a hand-held area 1720. The board area 1710 includes a first virtual piece 1711 and a second virtual piece 1712. The first virtual piece 1711 and the second virtual piece 1712 are virtual pieces that are called by the friendly side in the board area 1710 based on piece cards. The hand-held area includes a first equipment card 1721. The first equipment card 1721 is configured for deploying first virtual equipment for a virtual piece in the board area.

[0155] Operation 1620: Receive a deployment operation of applying a first equipment card in the hand-held area on the first virtual piece.

[0156] The deployment operation is a card playing operation on the first equipment card based on the first virtual piece. In some embodiments, the deployment operation may be implemented as at least one of an operation triggered by a control, an operation triggered by a gesture, an operation triggered by a shortcut key, and an operation triggered by a user voice. This is not limited herein. In some embodiments, when the deployment operation is implemented as an operation triggered by a gesture, the deployment operation may be implemented as a touch-and-hold operation, a tap operation, a drag operation, a heavy tap operation, a double-tap operation, or the like. This is not limited herein.

[0157] In an example, taking the drag operation as an example, the first equipment card selected from the hand-held area is dragged to a cell in which the first virtual piece is located, to implement the deployment operation of applying the first equipment card in the hand-held area to the first virtual piece. That is, a received drag operation with a drag start position being the first equipment card and a drag end position being the cell in which the first virtual piece is located is used as the deployment operation of applying the first equipment card in the hand-held area to the first virtual piece.

[0158] For example, taking a drag operation as an example, detection of the drag operation by the terminal is implemented as follows: When a user touches a screen of the terminal, a sensor of the screen detects a capacitance change at a touch point, the capacitance change is converted into a coordinate signal, a drag start position of the drag operation is determined based on the initial coordinate signal at the touch point, and when the start position falls within a position range corresponding to the first equipment card, the terminal determines that a card selected by the drag operation is the first equipment card. When detecting consecutive touch points, the terminal continuously detects coordinate signals corresponding to the touch points, and converts the coordinate signals into a drag path of the drag operation. After detecting that the consecutive touch points disappear, the terminal determines a drag end position of the drag operation based on an end coordinate signal corresponding to the last touch point. When the drag end position is in a position range corresponding to the first virtual piece, the terminal determines that the drag operation indicates to deploy the first equipment card to the first virtual piece.

[0159] In some embodiments, a display state of the first equipment card selected by the deployment operation is different from a display state of an unselected card. In some embodiments, the selected first equipment card has a highlighting effect, and the highlighting effect includes: a bold frame, a highlighted frame, a dynamic frame, and a movement of a placement position in a card queue toward the board area by a preset distance.

[0160] Operation 1630: Display, in response to the deployment operation, that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece.

[0161] For example, a first animation effect of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece is displayed in response to the deployment operation.

[0162] For example, when the terminal detects an equipment deployment event triggered by the deployment operation of applying the first equipment card in the hand-held area to the first virtual piece, the terminal executes equipment binding logic, that is, updates a game status while recording an equipment binding relationship between the first virtual equipment and the first virtual piece in a data cache area of a match and displaying the corresponding first animation effect. In some embodiments, the terminal uploads the equipment binding relationship between the first virtual equipment and the first virtual piece to the server, and the server updates a game status stored in the server based on the foregoing information.

[0163] In some embodiments, the deploying virtual equipment to a virtual piece may be equipping the virtual piece with the virtual equipment, and displaying a wearing effect of the virtual piece wearing the virtual equipment after the virtual equipment is deployed to the virtual piece. Alternatively, the virtual equipment may be only allocated to the virtual piece, and the virtual equipment does not actually wear the virtual piece in a display process. No matter whether a wearing effect is displayed, an action effect of the virtual equipment can be achieved provided that the virtual piece is deployed with the virtual equipment. This is not limited in this embodiment of this application.

[0164] A card in the hand-held area is consumed when being played. Taking an equipment card as an example, a virtual piece in the board area may be recycled, and virtual equipment currently deployed to the virtual piece may be recycled as a corresponding equipment card.

[0165] A corresponding virtual resource needs to be consumed to play a card in the hand-held area. Taking an equipment card as an example, in response to receiving the deployment operation of applying the first equipment card in the hand-held area to the first virtual piece, virtual resources that need to be consumed to play the first equipment card are deducted, and the first animation effect of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece is displayed.

[0166] In some embodiments, a playing status of the equipment card is determined based on a holding quantity of virtual resources and a quantity of pieces of virtual equipment deployed to a virtual piece. The playing status includes that the card is successfully played and that the card fails to be played. When the card is successfully played, corresponding virtual equipment is deployed to the virtual piece based on the equipment card. When the card fails to be played, the equipment card returns to the hand-held area.

[0167] Specifically, when the holding quantity of virtual resources is greater than a quantity of virtual resources that need to be consumed by the equipment card and the quantity of pieces of virtual equipment deployed to the virtual piece is less than a deployment quantity threshold corresponding to the virtual piece, the card is successfully played.

[0168] In some embodiments, operation 1630 includes the following three cases.

[0169] First, a holding quantity and a first consumption quantity of virtual resources are determined in response to the deployment operation, the virtual resources being configured for playing the first equipment card, and the first consumption quantity indicating a quantity of virtual resources that need to be consumed to play the first equipment card; a quantity of pieces of virtual equipment deployed to the first virtual piece is determined in response to the holding quantity being greater than or equal to the first consumption quantity; and virtual resources corresponding to the first consumption quantity are consumed in response to the quantity of pieces of virtual equipment deployed to the first virtual piece being less than the deployment quantity threshold corresponding to the first virtual piece, and display of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece is triggered.

[0170] Second, a holding quantity and a first consumption quantity of virtual resources are determined in response to the deployment operation; and use of the first equipment card and displaying a deployment failure prompt is canceled in response to the holding quantity being less than the first consumption quantity.

[0171] Third, a holding quantity and a first consumption quantity of virtual resources are determined in response to the deployment operation; a quantity of pieces of virtual equipment deployed to the first virtual piece is determined in response to the holding quantity being greater than or equal to the first consumption quantity; and the use of the first equipment card is canceled and the deployment failure prompt is displayed in response to the quantity of pieces of virtual equipment deployed to the first virtual piece being greater than or equal to the deployment quantity threshold corresponding to the first virtual piece.

[0172] That is, based on holding of the equipment card, virtual equipment further needs to be deployed to the virtual piece through consumption of virtual resources, and it is determined whether the quantity of pieces of virtual equipment of the virtual piece meets a deployment requirement for the first virtual equipment, thereby improving strategy in a virtual equipment deployment process, improving user experience of players, and balancing fairness between players in a game match to ensure the progress of the match.

[0173] For example, FIG. 18 is a schematic diagram of a first animation effect according to an exemplary embodiment of this application. As shown in FIG. 18, a match interface 1800 of a turn-based board game includes a board area 1810 and a hand-held area 1820. In response to receiving a deployment operation of applying a first equipment card 1802 in the hand-held area 1820 to a first virtual piece 1801, a first animation effect of the first equipment card 1802 to deploy a first virtual equipment 1803 to the first virtual piece 1801 is displayed.

[0174] Operation 1640: Receive a transfer operation of transferring the first virtual equipment to the second virtual piece.

[0175] The transfer operation is configured for transferring the virtual equipment deployed to a virtual piece between friendly pieces, and the transfer operation is an operation of transferring one or more pieces of virtual equipment deployed to a virtual piece to another virtual piece. For example, the transfer operation is an operation of dragging selected equipment to a cell in which another piece is located. Alternatively, the transfer operation includes a first tap operation and a second tap operation, the first tap operation is an operation of selecting equipment with a tap, and the second tap operation is an operation of tapping a piece in the board area. A specific form of the transfer operation is not limited in this embodiment of this application. In some embodiments, a function of intelligently recommending a transfer may further be provided to transfer equipment in place of the friendly player object in some turns. For example, for the first several matches of a new player, the client intelligently recommends equipment transfer schemes in the matches.

[0176] In some embodiments, the transfer operation may be configured for transferring a single piece of virtual equipment, or may batch-transfer a plurality of pieces of virtual equipment. In some embodiments, the transfer operation may be implemented as at least one of an operation triggered by a control, an operation triggered by a gesture, an operation triggered by a shortcut key, and an operation triggered by a user voice. This is not limited herein. In some embodiments, when the transfer operation is implemented as an operation triggered by a gesture, the transfer operation may be implemented as a touch-and-hold operation, a tap operation, a drag operation, a heavy tap operation, a double-tap operation, or the like. This is not limited herein. In an example, taking a drag operation as an example, a first equipment card selected from virtual equipment equipped on the first virtual piece is dragged to a cell in which a second virtual piece is located to implement a transfer operation of transferring the first virtual equipment from the first virtual piece to the second virtual piece. That is, a received drag operation with a drag start position being the first equipment card equipped on the first virtual piece and a drag end position being the cell in which the second virtual piece is located is used as the transfer operation of transferring the first virtual equipment from the first virtual piece to the second virtual piece.

[0177] For example, taking a drag operation as an example, detection of the drag operation by the terminal is implemented as follows: When a user touches a screen of the terminal, a sensor of the screen detects a capacitance change at a touch point, the capacitance change is converted into a coordinate signal, a drag start position of the drag operation is determined based on the initial coordinate signal at the touch point, and when the start position falls within a position range corresponding to the first virtual equipment, the terminal determines that virtual equipment selected by the drag operation is the first virtual equipment. When detecting consecutive touch points, the terminal continuously detects coordinate signals corresponding to the touch points, and converts the coordinate signals into a drag path of the drag operation. After detecting that the consecutive touch points disappear, the terminal determines a drag end position of the drag operation based on an end coordinate signal corresponding to the last touch point. When the drag end position is in a position range corresponding to the second virtual piece, the terminal determines that the drag operation indicates to transfer the first virtual equipment from the first virtual piece to the second virtual piece.

[0178] Operation 1650: Display, in response to the transfer operation, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0179] For example, a second animation effect of transferring the first virtual equipment from the first virtual piece to the second virtual piece is displayed in response to the transfer operation.

[0180] For example, when detecting an equipment transfer event triggered by the transfer operation of transferring the first virtual equipment to the second virtual piece, the terminal executes equipment transfer logic, that is, modifies the recorded equipment binding relationship between the first virtual equipment and the first virtual piece into an equipment binding relationship between the first virtual equipment and the second virtual piece in the data cache area of the match, and updates a game status while displaying the corresponding second animation effect. In some embodiments, the terminal uploads the equipment binding relationship between the first virtual equipment and the second virtual piece to the server, and the server updates a game status stored in the server based on the foregoing information.

[0181] Taking an example in which a first transfer operation is configured for selecting the first virtual equipment from a plurality of pieces of virtual equipment and transferring the first virtual equipment to the second virtual piece when the first virtual piece is deployed with the plurality of pieces of virtual equipment, operation 1650 may be implemented as: in response to receiving the first transfer operation, displaying a second animation effect of transferring the first virtual equipment from the first virtual piece to the second virtual piece.

[0182] Taking an example in which a second transfer operation being configured for batch-transferring, when the first virtual piece is deployed with a plurality of pieces of virtual equipment, the plurality of pieces of virtual equipment deployed to the first virtual piece to the second virtual piece, operation 1650 may be implemented as: displaying, in response to receiving the second transfer operation, displaying a second animation effect of transferring the first virtual equipment together with at least one piece of second virtual equipment from the first virtual piece to the second virtual piece, the plurality of pieces of virtual equipment deployed to the first virtual piece including the first virtual equipment and the at least one piece of second virtual equipment.

[0183] In some embodiments, the second animation effect may include a one-way transfer animation in which the virtual equipment is transferred from the first virtual piece to the second virtual piece, or may include a two-way transfer animation in which the virtual equipment is transferred between the first virtual piece and the second virtual piece. The one-way transfer animation is an animation effect that only the virtual equipment deployed to the first virtual piece is transferred from the first virtual piece to the second virtual piece. The two-way transfer animation is an animation effect that as the virtual equipment deployed to the first virtual piece is transferred from the first virtual piece to the second virtual piece, at least one virtual equipment deployed to the second virtual piece is transferred from the second virtual piece to the first virtual piece.

[0184] In some embodiments, a first equipment quantity is determined in response to receiving a transfer operation of transferring the first virtual equipment to the second virtual piece, the first equipment quantity being a sum of a quantity of pieces of the virtual equipment deployed to the second virtual piece and a quantity of pieces of the first virtual equipment; and it is displayed, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0185] When the transfer of the first virtual equipment is implemented using the second animation effect, for example, the second animation effect is displayed based on the first equipment quantity.

[0186] In some embodiments, in response to the first equipment quantity being less than or equal to a deployment quantity threshold corresponding to the second virtual piece, it is displayed that the first virtual equipment is transferred to the second virtual piece; and in response to the first equipment quantity being greater than the deployment quantity threshold corresponding to the second virtual piece, it is displayed that the first virtual equipment is transferred to the second virtual piece and third virtual equipment is transferred to the first virtual piece, the third virtual equipment being virtual equipment deployed by the second virtual piece within a historical time period.

[0187] In some embodiments, a third animation effect is used to display that the first virtual equipment is transferred to the second virtual piece, a fourth animation effect is used to display that the first virtual equipment is transferred to the second virtual piece, and fourth virtual equipment is transferred to the first virtual piece.

[0188] Taking an example in which the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, the third virtual equipment configured for being transferred to the first virtual piece needs to be determined from the plurality of pieces of virtual equipment deployed to the second virtual piece. Specifically, the third virtual equipment meeting an equipment transfer requirement is determined from the plurality of pieces of virtual equipment deployed to the second virtual piece.

[0189] The plurality of pieces of virtual equipment deployed to the second virtual piece respectively have corresponding deployment timestamps, and the equipment transfer requirement includes at least one of the following: a deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment falls within the historical time period, or the deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment is earlier than deployment moments of the other virtual equipment, or the deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment is later than the deployment moments of the other virtual equipment.

[0190] For example, FIG. 19 is a schematic diagram of a second animation effect according to an exemplary embodiment of this application. As shown in FIG. 19, a match interface 1900 of a turn-based board game includes a board area 1910 and a hand-held area 1920. The board area 1910 includes a second virtual piece 1902 and a first virtual piece 1901 deployed with first virtual equipment 1910. In response to receiving a transfer operation of transferring the first virtual equipment 1910 to the second virtual piece 1902, a second animation effect of transferring the first virtual equipment 1910 from the first virtual piece 1901 to the second virtual piece 1902 is displayed.

[0191] In summary, according to the method provided in this embodiment of this application, the transfer operation of transferring the first virtual equipment to the second virtual piece is received, and under the control of the transfer operation, it is displayed that the first virtual equipment is transferred from the first virtual piece to the second virtual piece, thereby implementing the equipment deployment method for a virtual piece in the board area in the turn-based board game. Virtual equipment deployed for a virtual piece can be directly transferred between a plurality of virtual pieces in the board area, to simplify equipment transfer operations, improve flexibility and efficiency of equipment deployment, and improve equipment transfer efficiency, thereby improving battle preparation efficiency of the turn-based board game, and improving human-computer interaction efficiency.

[0192] In some embodiments, taking an example in which the transfer operation includes a first transfer operation or a second transfer operation, the foregoing operation 1640 and operation 1650 include the following two cases.

[0193] In the first case, the first transfer operation of transferring the first virtual equipment to the second virtual piece is received; and in response to the first transfer operation, it is displayed that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0194] The first transfer operation is configured for selecting, when the first virtual piece is deployed with a plurality of pieces of virtual equipment, the first virtual equipment from the plurality of pieces of virtual equipment to transfer the first virtual equipment to the second virtual piece.

[0195] In some embodiments, the first transfer operation may be a drag operation or a tap operation on the first virtual piece. A form of the first transfer operation is not limited in this embodiment of this application.

[0196] In some embodiments, when a friendly player object selects the first virtual piece, an equipment deployment identifier corresponding to the first virtual piece is displayed. In some embodiments, the equipment deployment identifier includes an equipment deployment identifiers that respectively correspond to a plurality of pieces of virtual equipment deployed to the first virtual piece and a batch equipment deployment identifier.

[0197] The equipment deployment identifiers that respectively correspond to the plurality of pieces of virtual equipment deployed to the first virtual piece are configured for receiving an independent deployment operation for the specified virtual equipment, and the batch equipment deployment identifier is configured for receiving a unified deployment operation for the plurality of pieces of virtual equipment.

[0198] The foregoing independent deployment operation is configured for performing transfer, recycling, deployment canceling, and the like on specified virtual equipment of the plurality of pieces of virtual equipment deployed to the first virtual piece. The foregoing unified deployment operation is configured for performing batch transfer, recycling, deployment canceling, and the like on the plurality of pieces of virtual equipment deployed to the first virtual piece. In some embodiments, the independent deployment operation is implemented as the first transfer operation.

[0199] For example, FIG. 20 is a schematic diagram of displaying a second animation effect based on a first transfer operation according to an exemplary embodiment of this application. As shown in FIG. 20, a match interface 2000 includes a board area 2010 and a hand-held area 2020. The board area 2010 includes a first virtual piece 2011 and a second virtual piece 2012. The first virtual piece 2011 is deployed with equipment A, equipment B, and equipment C. In response to selecting the first virtual piece 2011, four equipment deployment identifiers corresponding to the first virtual piece 2011 are displayed. The equipment deployment identifier 2001 is configured for receiving an independent transfer operation on the equipment A, the equipment deployment identifier 2002 is configured for receiving an independent transfer operation on the equipment B, and the equipment deployment identifier 2003 is configured for receiving an independent transfer operation on the equipment C. The equipment deployment identifier 2004 is a batch equipment deployment identifier. The equipment deployment identifier 2004 is configured for receiving a batch transfer operation on the equipment A, the equipment B, and the equipment C. In response to receiving the first transfer operation for the equipment deployment identifier 2003, a second animation effect of transferring the equipment C from the first virtual piece 2011 to the second virtual piece 2012 is displayed.

[0200] That is, when the first virtual piece is equipped with a plurality of pieces of virtual equipment, the player may transfer specified virtual equipment of the plurality of pieces of virtual equipment to another virtual piece using the first transfer operation, to optimize allocation of equipment resources between virtual pieces, thereby improving utilization of the virtual equipment, accelerating a match, and further reducing calculation resource overheads of the terminal and the server for the match.

[0201] In the second case, the first transfer operation of transferring the first virtual equipment to the second virtual piece is received; and in response to the second transfer operation, it is displayed that the first virtual equipment is transferred together with at least one piece of second virtual equipment from the first virtual piece to the second virtual piece.

[0202] The second transfer operation is configured for batch-transferring, when the first virtual piece is deployed with a plurality of pieces of virtual equipment, the plurality of pieces of virtual equipment deployed to the first virtual piece to the second virtual piece, and the plurality of pieces of virtual equipment deployed to the first virtual piece include the first virtual equipment and the at least one piece of second virtual equipment.

[0203] In some embodiments, when a friendly player object selects the first virtual piece, an equipment deployment identifier corresponding to the first virtual piece is displayed. In some embodiments, the equipment deployment identifier includes an equipment deployment identifiers that respectively correspond to a plurality of pieces of virtual equipment deployed to the first virtual piece and a batch equipment deployment identifier.

[0204] The equipment deployment identifiers that respectively correspond to the plurality of pieces of virtual equipment deployed to the first virtual piece are configured for receiving an independent deployment operation for the specified virtual equipment, and the batch equipment deployment identifier is configured for receiving a unified deployment operation for the plurality of pieces of virtual equipment.

[0205] The foregoing independent deployment operation is configured for performing transfer, recycling, deployment canceling, and the like on specified virtual equipment of the plurality of pieces of virtual equipment deployed to the first virtual piece. The foregoing unified deployment operation is configured for performing batch transfer, recycling, deployment canceling, and the like on the plurality of pieces of virtual equipment deployed to the first virtual piece.

[0206] In some embodiments, the second transfer operation may be implemented as a unified deployment operation based on a batch equipment deployment identifier, or may be implemented as a batch transfer operation (such as a touch-and-hold operation) for the first virtual equipment. A form of the second transfer operation is not limited in this embodiment of this application.

[0207] Taking an example in which the second transfer operation is implemented as a touch-and-hold operation on the first virtual equipment, at least one second virtual equipment is determined based on duration of the touch-and-hold operation.

[0208] In some embodiments, the second virtual equipment may be determined based on at least one type of equipment data such as an equipment level, a deployment moment, and a matching degree with the second virtual piece of the virtual equipment.

[0209] For example, an example in which the first virtual piece is deployed with equipment A, equipment B, equipment C, and equipment D is used. The equipment A is the first virtual equipment, and the equipment B, the equipment C, and the equipment D are candidate transfer equipment. In response to duration of a touch-and-hold operation based on the equipment A being within a range of 2 to 5 seconds, one piece of second virtual equipment is determined from the foregoing three pieces of candidate transfer equipment. Equipment B with the earliest deployment moment is determined as the second virtual equipment, and a second animation effect of transferring the equipment A together with the equipment B from the first virtual piece to the second virtual piece is displayed. In response to the duration of the touch-and-hold operation being within a the range of 5 to 8 seconds, two pieces of second virtual equipment are determined from the foregoing three pieces of candidate transfer equipment. The equipment B and the equipment C with the earliest deployment moments are determined as the second virtual equipment, and a second animation effect of transferring the equipment A together with the equipment B and the equipment C from the first virtual piece to the second virtual piece is displayed. In response to that the duration of the touch-and-hold operation exceeds 8 seconds, the foregoing three pieces of candidate transfer equipment are all determined as the second virtual equipment, and a second animation effect of transferring the equipment A together with the equipment B, the equipment C, and the equipment D from the first virtual piece to the second virtual piece is displayed.

[0210] For example, FIG. 21 is a schematic diagram of displaying a second animation effect based on a second transfer operation according to an exemplary embodiment of this application. As shown in FIG. 21, a match interface 2100 includes a board area 2110 and a hand-held area 2120. The board area 2110 includes a first virtual piece 2111 and a second virtual piece 2112. The first virtual piece 2111 is deployed with equipment A, equipment B, and equipment C. In response to selecting the first virtual piece 2111, four equipment deployment identifiers corresponding to the first virtual piece 2111 are displayed. The equipment deployment identifier 2101 is configured for receiving an independent transfer operation on the equipment A, the equipment deployment identifier 2102 is configured for receiving an independent transfer operation on the equipment B, and the equipment deployment identifier 2103 is configured for receiving an independent transfer operation on the equipment C. The equipment deployment identifier 2104 is a batch equipment deployment identifier. The equipment deployment identifier 2104 is configured for receiving a batch transfer operation on the equipment A, the equipment B, and the equipment C. In response to receiving the second transfer operation for the equipment deployment identifier 2104, a second animation effect of transferring the equipment A, the equipment B, and the equipment C from the first virtual piece 2111 to the second virtual piece 2112 is displayed.

[0211] That is, when the first virtual piece is equipped with a plurality of pieces of virtual equipment, the player may simultaneously transfer the plurality of pieces of virtual equipment to another virtual piece by using the second transfer operation, which can reduce a quantity of operations when there is a transfer requirement of a plurality of pieces of virtual equipment, and reduce an operation detection requirement of the terminal for a plurality of operations, thereby improving human-computer interaction efficiency.

[0212] With reference to the foregoing two cases, FIG. 22 is a flowchart of a method for displaying virtual equipment transfer according to an exemplary embodiment of this application. The method may be performed by a terminal, or may be performed by a server, or may be performed by both a terminal and a server. This embodiment of this application is described by using an example in which the method is applied to the first terminal shown in FIG. 1. As shown in FIG. 22, operation 1650 includes the following operation 1651 to operation 1652. The equipment transfer scheme based on a transfer operation in the method may be any one of the foregoing two cases.

[0213] Operation 1651: Determine a first equipment quantity in response to the transfer operation.

[0214] The first equipment quantity is a quantity of pieces of virtual equipment deployed to the second virtual piece after the transfer operation is performed. That is, the first equipment quantity is a sum of a quantity of pieces of virtual equipment originally deployed to the second virtual piece and a quantity of pieces of virtual equipment transferred from the first virtual piece to the second virtual piece.

[0215] In some embodiments, the transfer operation may be a drag operation, or may include a first tap operation and a second tap operation. The drag operation is configured for dragging the first virtual equipment to the cell in which the second virtual piece is located, the first tap operation is configured for selecting the first virtual equipment, and the second tap operation is configured for selecting the second virtual piece.

[0216] Operation 1652: Display, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0217] In some embodiments, when the transfer of the virtual equipment is implemented using the second animation effect, when the second virtual piece is deployed with the first virtual equipment, the second animation effect further includes an upgrade animation of the first virtual equipment.

[0218] For example, the first virtual piece is deployed with level 1 equipment A and level 2 equipment B, and the second virtual piece is deployed with level 1 equipment A and level 3 equipment C. In response to transferring the level 1 equipment A deployed to the first virtual piece to the second virtual piece, the level 1 equipment A deployed to the second virtual piece is upgraded to level 2 equipment A.

[0219] In some embodiments, operation 1652 includes the following two cases.

[0220] In the first case, when the first equipment quantity is less than or equal to a deployment quantity threshold corresponding to the second virtual piece, it is displayed that the first virtual equipment is transferred to the second virtual piece.

[0221] In some embodiments, the foregoing transfer process of the virtual equipment is implemented using a third animation effect. That is, the third animation effect includes an animation effect of transferring the first virtual equipment to the second virtual piece. The third animation effect is a one-way transfer animation of the first virtual equipment, that is, includes only an animation effect of transferring the first virtual equipment from the first virtual piece to the second virtual piece.

[0222] For example, FIG. 23 is a schematic diagram of a third animation effect according to an exemplary embodiment of this application. As shown in FIG. 23, a match interface 2300 includes a board area 2310 and a hand-held area 2320. In response to receiving a transfer operation of transferring first virtual equipment 2301 to a second virtual piece 2312, it is determined that a first equipment quantity is 3, and in response to the first equipment quantity being less than or equal to a deployment quantity threshold being 3 corresponding to the second virtual piece 2312, a third animation effect of transferring the first virtual equipment 2301 one-way from a first virtual piece 2311 to the second virtual piece 2312 is displayed.

[0223] In the second case, when the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, it is displayed that the first virtual equipment is transferred to the second virtual piece and third virtual equipment is transferred to the first virtual piece, the third virtual equipment being virtual equipment deployed by the second virtual piece within a historical period.

[0224] In some embodiments, the foregoing transfer process of the virtual equipment is implemented using a fourth animation effect. That is, the fourth animation effect includes an animation effect of transferring the first virtual equipment to the second virtual piece and transferring the fourth virtual equipment to the first virtual piece. The fourth animation effect is a two-way transfer animation of the virtual equipment between the first virtual piece and the second virtual piece, that is, includes an animation effect of transferring the virtual equipment from the first virtual piece to the second virtual piece and includes an animation effect of transferring the virtual equipment from the second virtual piece to the first virtual piece.

[0225] For example, FIG. 24 is a schematic diagram of a third animation effect according to an exemplary embodiment of this application. As shown in FIG. 24, a match interface 2400 includes a board area 2410 and a hand-held area 2420. In response to receiving a transfer operation of transferring first virtual equipment 2401 to a second virtual piece 2412, it is determined that a first equipment quantity is 4, and in response to the first equipment quantity being greater than a deployment quantity threshold being 3 corresponding to the second virtual piece 2412, a fourth animation effect of transferring the first virtual equipment 2401 from a first virtual piece 2411 to the second virtual piece 2412 and transferring third virtual equipment 2402 from the second virtual piece 2412 to the first virtual piece 2411 is displayed.

[0226] That is, a deployment quantity threshold is set for a virtual piece, so that a quantity of pieces of virtual equipment that a virtual piece can be equipped with is restricted, thereby increasing strategy for a player to equip a virtual piece with virtual equipment. In addition, when virtual equipment is transferred between virtual pieces, when a quantity of pieces of equipment of the second virtual piece used as a piece receiving the transferred first virtual equipment reaches the deployment quantity threshold after the transferred first virtual equipment is received, the previously configured third virtual equipment is automatically transferred to the first virtual piece, thereby reducing a quantity of operations in an equipment transfer process, simplifying an operation procedure, and improving human-computer interaction efficiency.

[0227] Taking displaying the fourth animation effect as an example, operation 1632 includes the following operations:

[0228] First operation: When the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, determine, from the plurality of pieces of virtual equipment deployed to the second virtual piece, the third virtual equipment meeting an equipment transfer requirement.

[0229] The plurality of pieces of virtual equipment deployed to the second virtual piece respectively have corresponding deployment timestamps, and the equipment transfer requirement includes at least one of the following: a deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment falls within the historical time period, or the deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment is earlier than deployment moments of the other virtual equipment, or the deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment is later than the deployment moments of the other virtual equipment.

[0230] That is, the third virtual equipment to be exchanged with the first virtual equipment is automatically determined according to the equipment transfer requirement, thereby reducing operations that a user needs to perform, improving transfer efficiency of an equipment transfer process, and improving human-computer interaction efficiency.

[0231] The historical period is a period preset in a game or a period specified by a user.

[0232] In some embodiments, the deployment quantity threshold corresponding to the second virtual piece may be the same as or different from that of the first virtual piece.

[0233] Taking an example in which different virtual pieces correspond to different deployment quantity thresholds, a virtual piece with a higher piece level corresponds to a larger deployment quantity threshold, or a virtual piece in a faction with higher avatar levels corresponds to a larger deployment quantity threshold.

[0234] Second operation: Display that the first virtual equipment is transferred to the second virtual piece and the third virtual equipment is transferred to the first virtual piece.

[0235] That is, the fourth animation effect is displayed based on the determined third virtual equipment. The fourth animation effect is a two-way transfer animation of the virtual equipment between the first virtual piece and the second virtual piece, that is, includes an animation effect of transferring the virtual equipment from the first virtual piece to the second virtual piece and includes an animation effect of transferring the virtual equipment from the second virtual piece to the first virtual piece.

[0236] The fourth animation effect includes an animation effect of transferring the first virtual equipment from the first virtual piece to the second virtual piece and includes an animation effect of transferring the third virtual equipment from the second virtual piece to the first virtual piece.

[0237] In summary, according to the method provided in this embodiment of this application, an independent transfer scheme and a batch transfer scheme of virtual equipment are implemented using two transfer operations, thereby improving the flexibility of equipment transfer operations.

[0238] According to the method provided in this embodiment of this application, the second animation effect is displayed based on the first equipment quantity, and a one-way equipment transfer animation display solution and a two-way equipment transfer animation display solution are provided, thereby improving the automation and flexibility of equipment transfer.

[0239] FIG. 25 is a flowchart of a method for displaying a first animation effect according to an exemplary embodiment of this application. The method may be performed by a terminal, or may be performed by a server, or may be performed by both a terminal and a server. This embodiment of this application is described by using an example in which the method is applied to the first terminal shown in FIG. 1. As shown in FIG. 25, operation 1630 includes the following operations:

[0240] Operation 1631: Determine a holding quantity and a first consumption quantity of virtual resources in response to the deployment operation.

[0241] The virtual resources is configured for playing the first equipment card, and the first consumption quantity indicating a quantity of virtual resources that need to be consumed to play the first equipment card.

[0242] In some embodiments, the virtual resources may be any resources that are configured for playing a card and that are provided in the turn-based board game, for example, virtual resources such as energy, gold coins, or diamonds in the game. This embodiment of this application is described by using energy as an example.

[0243] The deployment operation is a card playing operation on the first equipment card based on the first virtual piece. The card playing operation is configured for triggering execution of a battle preparation operation related to the friendly side, and the card playing operation is an operation of playing one or more held cards.

[0244] For example, taking the drag operation as an example, the first equipment card selected from the hand-held area is dragged to a cell in which the first virtual piece is located, to implement the deployment operation of applying the first equipment card in the hand-held area to the first virtual piece.

[0245] In some embodiments, a function of intelligently recommending a deployment may further be provided to play a card in place of the friendly player object in some turns. For example, for the first several matches of a new player, the client intelligently recommends equipment deployment schemes.

[0246] For example, in the battle preparation phase of each turn, the client automatically obtains a first equipment deployment scheme through analysis based on friendly pieces in the board area and equipment cards in the hand-held area, and displays equipment deployment prompt information in the match interface. The equipment deployment prompt information indicates the first equipment deployment scheme. The first equipment deployment scheme indicates a friendly player object to play the first equipment card to deploy first virtual equipment to the first virtual piece. The first equipment deployment scheme is determined based on a matching degree between a virtual piece and virtual equipment. The matching degree may be determined based on at least one type of data such as an equipment type, a piece type, a correspondence between equipment and a piece, and an equipment action effect. For example, the first virtual piece is a piece of a swordsman type, the first virtual equipment is equipment of a sword type, preset signature equipment of the first virtual piece is the first virtual equipment, and a bonus proportion provided for the first virtual piece after the first virtual equipment is deployed to the first equipment card reaches a preset proportion threshold. It is determined that a matching degree between the first virtual piece and the first virtual equipment corresponding to the first equipment card is 100%, which is greater than a preset matching degree threshold, and playing the first equipment card to deploy the first virtual equipment to the first virtual piece is determined as the first equipment deployment scheme.

[0247] In some embodiments, after automatically determining the first equipment deployment scheme, the client may perform scheme recommendation by displaying the foregoing equipment deployment prompt information, or may automatically perform, when authorized by a friendly player object, a deployment operation according to a feasible equipment deployment scheme after the client determines the equipment deployment scheme, thereby implementing automatic equipment deployment.

[0248] A matching degree between a virtual piece and virtual equipment is determined based on at least one type of data of an equipment type, a piece type, a correspondence between equipment and a piece, and an equipment action effect, and intelligently recommending an equipment deployment scheme based on the matching degree, thereby improving the effectiveness of the equipment deployment scheme, helping a user to reduce a decision-making time for equipment deployment, and improving equipment deployment efficiency. The deployment operation is automatically executed according to the equipment deployment scheme, thereby providing an automatic equipment deployment scheme for the user, thereby improving the automation and flexibility of equipment deployment, and improving human-computer interaction efficiency.

[0249] Operation 1632: Determine, in response to the holding quantity being greater than or equal to the first consumption quantity, a quantity of pieces of virtual equipment deployed to the first virtual piece.

[0250] In some embodiments, the virtual piece corresponds to a deployment quantity threshold, and the deployment quantity threshold is configured for indicating an upper limit of a quantity of pieces of virtual equipment that can be deployed to the virtual piece. Taking an example in which first virtual equipment is deployed, when the quantity of pieces of virtual equipment deployed to the virtual piece reaches the corresponding deployment quantity threshold, first virtual equipment cannot be additionally deployed to the virtual piece.

[0251] If the plurality of pieces of virtual equipment deployed to the virtual piece include the first virtual equipment when the quantity of pieces of virtual equipment deployed to the virtual piece reaches the corresponding deployment quantity threshold, when an equipment level of the first virtual equipment does not reach an equipment level threshold, the first virtual equipment may be upgraded based on a deployment operation, and the deployment operation does not change the quantity of pieces of virtual equipment deployed to the virtual piece.

[0252] Taking deployment of the first virtual equipment as an example, when the quantity of pieces of virtual equipment deployed to the virtual piece reaches the corresponding deployment quantity threshold, fourth virtual equipment may further be determined from the plurality of pieces of virtual equipment deployed to the virtual piece, and the fourth virtual equipment is replaced with the first virtual equipment.

[0253] In some embodiments, the fourth virtual equipment may be determined based on deployment duration that respectively corresponds to the plurality of pieces of deployed virtual equipment. For example, virtual equipment with the longest or shortest deployment duration is determined as the fourth virtual equipment. Alternatively, the fourth virtual equipment may be determined based on matching degrees between the plurality of pieces of deployed virtual equipment and the virtual piece. For example, virtual equipment with the lowest matching degree is determined as the fourth virtual equipment. The fourth virtual equipment may be alternatively determined based on contribution values that respectively correspond to action effects of the plurality of pieces of deployed virtual equipment. For example, an action effect of deployed equipment A is a 30% increase of critical hit chance, and an action effect of deployed equipment B is a 15% increase of attack power. Within a historical period, the virtual piece does not trigger a critical hit based on the equipment A, and a contribution value of the equipment A is 0. Within the historical period, an attack value additionally outputted by the virtual piece based on the equipment B reaches 200, a contribution value of the equipment B is 200, and the equipment A with the lowest contribution value is determined as the fourth virtual equipment. The fourth virtual equipment may be alternatively determined based on a replacement operation, and the replacement operation is configured for selecting the fourth virtual equipment from the plurality of pieces of virtual equipment deployed to the virtual piece.

[0254] The replaced fourth virtual equipment may be transferred to a third virtual piece when being replaced, or the replaced fourth virtual equipment may be recycled. The third virtual piece is any one of friendly virtual pieces in the board area other than the first virtual piece.

[0255] Taking an example in which the replaced fourth virtual equipment is transferred to the third virtual piece, the third virtual piece is determined based on the quantities of pieces of virtual equipment that are respectively deployed to the plurality of other virtual pieces and / or matching degrees between the plurality of pieces of other virtual pieces and the fourth virtual equipment.

[0256] In some embodiments, in a process of determining the third virtual piece, there is a priority relationship between the quantity of pieces of virtual equipment and the matching degree. For example, taking an example in which a priority corresponding to a quantity of pieces of virtual equipment is higher than the matching degree, a virtual piece whose quantity of pieces of deployed virtual equipment does not reach a corresponding deployment quantity threshold is preferentially determined as a candidate piece, a candidate piece whose matching degree with a fourth virtual equipment is the highest is determined as a third virtual piece, and the fourth virtual equipment is transferred to the third virtual piece. For example, taking an example in which the priority corresponding to the quantity of pieces of virtual equipment is lower than the matching degree, a virtual piece whose matching degree with the fourth virtual equipment reaches a preset matching degree threshold is preferentially determined as a candidate piece, a candidate piece whose quantity of pieces of deployed virtual equipment does not reach a corresponding deployment quantity threshold is determined as a third virtual piece, and the fourth virtual equipment is transferred to the third virtual piece.

[0257] For example, it is assumed that the candidate pieces determined based on the matching degree include a piece A and a piece B, and the quantities of pieces of virtual equipment deployed to the piece A and the piece B both reach a deployment quantity threshold. The piece A with the higher matching degree is determined as a third virtual piece. Fifth virtual equipment is determined, based on determining logic of the fourth virtual equipment, from the plurality of pieces of virtual equipment deployed to the piece A, the fourth virtual equipment is transferred to the piece A, the fifth virtual equipment is transferred to the piece B according to the foregoing logic, or the fifth virtual equipment is recycled.

[0258] Recycling of the replaced fourth virtual equipment is used as an example. The fourth virtual equipment is canceled from being deployed to the virtual piece, and the fourth virtual equipment is redeemed for a virtual resource and / or an equipment card again. For example, when the quantity of pieces of virtual equipment deployed to the first virtual piece reaches a corresponding deployment quantity threshold, when the first virtual equipment is deployed to the first virtual piece, fourth virtual equipment deployed to the first virtual piece is recycled, a preset quantity of virtual resources are obtained, and / or a fifth equipment card recovered from the fourth virtual equipment is displayed in the hand-held area.

[0259] When the quantity of pieces of virtual equipment deployed to the virtual piece reaches a corresponding deployment quantity threshold, fourth virtual equipment may further be determined from a plurality of pieces of virtual equipment deployed to the virtual piece, and the fourth virtual equipment is replaced with the first virtual equipment, thereby enriching virtual equipment deployment schemes, so that virtual equipment deployment is more flexible and can better meet an actual deployment requirement of a user. A plurality of solutions for determining fourth virtual equipment are used, thereby improving the applicability of equipment replacement. The fourth virtual equipment is transferred to another virtual piece, or the fourth virtual equipment is recycled, thereby improving utilization of virtual equipment in a virtual equipment deployment scenario.

[0260] In some embodiments, use of the first equipment card and displaying a deployment failure prompt is canceled in response to the holding quantity being less than the first consumption quantity. The deployment failure prompt is configured for prompting that the current holding quantity of virtual resources is insufficient to play the first equipment card. In some embodiments, the deployment failure prompt may further be used to prompt an obtaining manner of virtual resources, and / or a third equipment card that can be played in a current hand-held area, where a quantity of virtual resources that need to be consumed to play the third equipment card is less than the current holding quantity of virtual resources.

[0261] Taking an example in which the deployment operation is dragging the first equipment card to the cell in which the first virtual piece is located, when use of the first equipment card is canceled, an animation effect of automatically restoring display of the first equipment card in the hand-held area from the board area is displayed.

[0262] Operation 1633: Consume virtual resources corresponding to the first consumption quantity in response to the quantity of pieces of virtual equipment deployed to the first virtual piece being less than the deployment quantity threshold corresponding to the first virtual piece, and trigger display of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece.

[0263] For example, taking an example in which the virtual resource is energy, a first consumption quantity corresponding to equipment A is 1, and in response to that a quantity of pieces of virtual equipment deployed to a piece B is 3 and a deployment quantity threshold of the piece B is 5, one point of energy is consumed to trigger display of a first animation effect, and equipment A is deployed to the piece B.

[0264] In some embodiments, the use of the first equipment card is canceled and the deployment failure prompt is displayed in response to the quantity of pieces of virtual equipment deployed to the first virtual piece reaching the deployment quantity threshold corresponding to the first virtual piece.

[0265] The deployment failure prompt indicates that a current equipment deployment state of the first virtual piece does not support playing of the first equipment card based on the first virtual piece.

[0266] In some embodiments, the deployment failure prompt may further indicate an improvement manner of the deployment quantity threshold corresponding to the first virtual piece (for example, upgrading the first virtual piece), and / or, a virtual piece for which the first virtual equipment can be deployed in the current board area.

[0267] Taking an example in which the deployment operation is dragging the first equipment card to the cell in which the first virtual piece is located, when use of the first equipment card is canceled, an animation effect of automatically restoring display of the first equipment card in the hand-held area from the board area is displayed.

[0268] In summary, according to the method provided in this embodiment of this application, a solution of deploying virtual equipment to a virtual piece based on a quantity of virtual resources and an equipment deployment quantity of a virtual piece is clarified, and an alternate mechanism based on a deployment operation between an equipment card and virtual equipment is implemented, thereby simplifying equipment deployment operations, and improving the smoothness of the equipment deployment operations.

[0269] In some embodiments, after the virtual equipment is deployed to the virtual piece using the equipment card, the virtual equipment may further be recycled when the virtual piece is deleted, and an equipment card corresponding to the virtual equipment is obtained again. FIG. 26 is a flowchart of a method for recycling virtual equipment according to an exemplary embodiment of this application. The method may be performed by a terminal, or may be performed by a server, or may be performed by both a terminal and a server. This embodiment of this application is described by using an example in which the method is applied to the first terminal shown in FIG. 1. As shown in FIG. 26, taking an example in which the first virtual equipment deployed to the first virtual piece is recycled, after operation 1630, the following operations are further included.

[0270] Operation 2610: Cancel display of the first virtual piece in the board area in response to receiving a redemption operation of redeeming the first virtual piece in the board area for virtual resources, and obtain a first quantity of virtual resources.

[0271] The foregoing redemption operation may be implemented as a deletion operation on the first virtual piece, and the virtual equipment deployed to the first virtual piece may be recycled by deleting the first virtual piece. The first quantity of virtual resources is obtained based on the foregoing redemption operation. In some embodiments, the first quantity may be a preset and fixed quantity, or may be dynamically determined based on a piece state of the first virtual piece when being deleted.

[0272] Taking an example in which the first quantity is determined based on the piece state of the first virtual piece when being deleted, the first quantity is in a positive correlation with a piece level of the first virtual piece when being deleted, and is in a negative correlation with piece health of the first virtual piece when being deleted.

[0273] Operation 2620: Display, in response to the first virtual piece being deployed with the first virtual equipment, that the first virtual equipment is recovered to the first equipment card.

[0274] In some embodiments, the first equipment card has a corresponding first consumption identifier, the first consumption identifier indicating that the first quantity of virtual resources need to be consumed to use the first equipment card, and the consumption identifier of the first equipment card obtained by recovering the recycled first virtual equipment by deleting the first virtual piece changes.

[0275] For example, in response to the first virtual piece being deployed with the first virtual equipment, it is displayed that the first virtual equipment is recovered to the first equipment card has a corresponding second consumption identifier, the second consumption identifier indicating that a second quantity of virtual resources need to be consumed to use the recovered first equipment card, and the second quantity being greater than the first quantity.

[0276] In some embodiments, the second quantity may be a preset fixed quantity. For example, for an equipment card consuming any quantity of points of energy, an equipment card recycled by deleting a virtual piece is reset to consuming one point of energy. Alternatively, a preset dynamic quantity may be added based on the first quantity. For example, for an equipment card consuming any quantity of points of energy, one point of energy is increased for consumption by an equipment card that is recycled by deleting a virtual piece. For example, when equipment A deployed based on an equipment card Y that needs to consume 0 points of energy is recycled by deleting a virtual piece, an equipment card Y that needs to consume one point of energy is obtained.

[0277] Operation 2630: Display, in the hand-held area, the first equipment card recovered from the first virtual equipment.

[0278] For example, FIG. 27 is a schematic diagram of equipment recycling according to an exemplary embodiment of this application. As shown in FIG. 27, a match interface 2700 includes a board area 2710 and a hand-held area 2720. The board area 2710 includes a first virtual piece 2711 deployed with first virtual equipment. In response to receiving a redemption operation of redeeming the first virtual piece 2711 in the board area 2710 for virtual resources, display of the first virtual piece 2711 in the board area 2710 is canceled, and a first quantity of virtual resources are obtained; and in response to the first virtual piece 2711 being deployed with the first virtual equipment, it is displayed that the first virtual equipment is recovered to the first equipment card 2701. The first equipment card 2701 recovered from the first virtual equipment is displayed in the hand-held area 2720.

[0279] In some embodiments, the recovered first equipment card is displayed based on a quantity of cards in the hand-held area, and when the quantity of cards in the hand-held area reaches a card quantity threshold corresponding to the hand-held area, some cards need to be deleted from the hand-held area to place the recovered first equipment card. In this case, before operation 2630, a card deletion process is further included. The card deletion process includes the following operations:

[0280] First operation: Determine a card holding quantity in the hand-held area. The card holding quantity indicating a total quantity of character cards and function cards in the hand-held area. Second operation: Delete, in response to the card holding quantity reaching a card quantity threshold corresponding to the hand-held area, a card meeting a card deletion requirement from the plurality of character cards or function cards in the hand-held area.

[0281] In some embodiments, the second operation is implemented as: determining, in response to the card holding quantity reaching the card quantity threshold corresponding to the hand-held area, at least one first discard card meeting the card deletion requirement from the plurality of character cards or function cards in the hand-held area; and canceling display of the at least one first discard card in the hand-held area.

[0282] The card deletion requirement includes that the at least one first discard card receives a card deletion operation, an obtaining moment of the at least one first discard card falls within a preset time range, a card level corresponding to the at least one first discard card is lower than a preset level threshold, or a quantity of virtual resources that need to be consumed to use the at least one first discard card is greater than that of the first equipment card.

[0283] When the card holding quantity reaches the card quantity threshold corresponding to the hand-held area, at least one first discard card is determined according to the foregoing plurality of card deletion requirements, and the at least one first discard card is deleted from the hand-held area, so that it is ensured that a recycled first equipment card can be placed in the hand-held area, thereby ensuring utilization of a card reserved in the hand-held area while the first equipment card is recycled, and avoiding incorrect deletion of a spare card of a user when the first equipment card is recycled, improving card recycling efficiency and user experience, and ensuring accuracy of card recycling. In addition, a deleted card is automatically determined according to a card deletion requirement, so that an operation requirement of a user is reduced, thereby improving human-computer interaction efficiency.

[0284] In some embodiments, a recycling score is given to the recovered first equipment card, and it is determined, based on the recycling score, whether to display the first equipment card in the hand-held area. A recycling score of the first equipment card is determined based on at least one piece of information of a card level, a use consumption value, an action effect, and a match compatibility of the first equipment card, the use consumption value indicating a quantity of virtual resources that need to be consumed to use the first equipment card, the action effect indicating bonus data when a virtual piece is deployed with the first virtual equipment, and the match compatibility indicating a quantity of virtual pieces that are in the board area and whose matching degree with the first virtual equipment reaches a preset matching threshold; and the first equipment card recovered from the first virtual equipment is displayed in the hand-held area in response to the recycling score reaching a preset score threshold.

[0285] For example, at least one piece of information of the card level, the use consumption value, the action effect, and the match compatibility corresponding to the first equipment card is obtained, and the obtained information is converted into the recycling score of the first equipment card according to a specified conversion rule.

[0286] In some embodiments, the specified conversion rule may be implemented as a preset mapping relationship table or a preset conversion function. In an example, an example in which the obtained information is an action effect of the first equipment card is used. A mapping relationship table between action effects and recycling scores is obtained. The mapping relationship table includes a correspondence between a candidate action effect and a recycling score corresponding to the candidate action effect. A recycling score corresponding to the action effect of the first equipment card is found in the mapping relationship table and used as the recycling score corresponding to the first equipment card. In another example, an example in which the obtained information is the match compatibility of the first equipment card is used. A conversion function corresponding to the match compatibility is obtained, and the match compatibility is converted using the conversion function to obtain the recycling score of the first equipment card.

[0287] In some embodiments, when the recycling score is determined using at least two types of information, the at least two types of information respectively correspond to score weights. For example, information scores that respectively correspond to the at least two types of information are determined, and the recycling score of the first equipment card is obtained by weighting the information scores based on the score weights.

[0288] In some embodiments, the first equipment card recovered from the first virtual equipment is automatically deleted in response to the recycling score being less than the preset score threshold.

[0289] In some embodiments, the card level, the action effect, and the match compatibility are in a positive correlation with the recycling score, and the use consumption value is in a negative correlation with the recycling score. The card data participating in determining the recycling score correspondingly has a priority relationship. For example, the priority relationship sequentially includes, in descending order, the match compatibility, the use consumption value, the card level, and the action effect. The foregoing priority relationship is merely an exemplary example, and a specific form of the foregoing priority relationship of the card data is not limited in this application.

[0290] For example, a recycling evaluation is performed on the first equipment card using a recycling score model obtained through pre-training to obtain the recycling score of the first equipment card. In a match process of a turn-based board game, a client obtains operation data and match data of a player object in real time. After the first equipment card is recovered, the client reads card information (including a card level, a use consumption value, an action effect, and the like) of the first equipment card from a backend database, and determines the match compatibility corresponding to the first equipment card through analysis based on the real-time operation data and the match data. The client inputs the card data corresponding to the first equipment card into the recycling score model. The recycling score of the first equipment card is outputted, and the first equipment card recovered from the first virtual equipment is displayed in the hand-held area in response to the recycling score reaching the preset score threshold.

[0291] It is determined, based on the recycling score, whether to display the recovered first equipment card in the hand-held area, so that card placement space occupied by an equipment card with a low score in the hand-held area can be freed up to avoid affecting user experience and causing a waste of rendering resources, thereby improving card display efficiency in the hand-held area. The recycling score of the first equipment card is determined based on the card level, the use consumption value, the action effect, and the match compatibility, so that a card score can more accurately indicate the value of the first equipment card to be recycled and displayed, thereby helping the user to automatically decide whether to reserve the recycled first equipment card, and avoiding that the first equipment card with a relatively low use probability is still recycled to the hand-held area. Consequently, the user needs to additionally perform a card deletion operation when card placement space in the hand-held area is insufficient, thereby improving card recycling efficiency.

[0292] In summary, the method provided in this embodiment of this application provides an implementation solution in which a redemption operation is performed on a virtual piece to recycle virtual equipment deployed to a first virtual piece and recover the virtual equipment to an equipment card in a hand-held area, so that an alternate mechanism between equipment and cards is enriched, equipment recycling operations to delete a virtual piece are simplified, and the virtual equipment does not need to be manually recycled before the virtual piece is deleted, thereby improving human-computer interaction efficiency. This also avoids incorrect deletion of virtual equipment caused by deleting a virtual piece when the virtual piece is deployed with the virtual equipment, so that virtual resources consumed to deploy the virtual equipment is kept from being wasted, thereby improving recycling efficiency.

[0293] For example, FIG. 28 is a schematic flowchart of virtual piece-based equipment deployment according to an exemplary embodiment of this application. An example in which the first terminal shown in FIG. 1 performs the virtual piece-based equipment deployment method according to this embodiment of this application is used for description. As shown in FIG. 28, the first terminal performs the following operations:

[0294] Operation 2810: Obtain a first equipment card. Operation 2820: Play the first equipment card for a first virtual piece in a board area. Operation 2830: Determine whether current energy is sufficient to play the first equipment card, and in response to the current energy being sufficient to play the first equipment card, perform operation 2841, or otherwise, perform operation 2842. Operation 2842: Cancel playing of the first equipment card, and display an equipment deployment failure prompt. Operation 2841: Determine whether the first virtual piece meets a deployment condition of the first equipment card, and in response to the first virtual piece meeting the deployment condition, perform operation 2851, or otherwise, perform operation 2852. Operation 2852: Cancel playing of the first equipment card, and display an equipment deployment failure prompt. Operation 2851: Deduct corresponding energy, and deploy first virtual equipment to the first virtual piece. Operation 2860: Sell the first virtual piece. Operation 2870: Return the corresponding energy, and restore display of the first virtual equipment as the first equipment card. Operation 2880: Determine whether a card holding quantity in a hand-held area is less than a card quantity threshold corresponding to the hand-held area, and in response to the card holding quantity being less than the card quantity threshold, perform operation 2891, or otherwise, perform operation 2892. Operation 2891: Display the first equipment card in the hand-held area, and reset energy consumption of the first equipment card. Operation 2892: Delete some cards in the hand-held area.

[0295] FIG. 29 is a structural block diagram of a virtual piece-based equipment deployment apparatus according to an exemplary embodiment of this application. As shown in FIG. 29, the apparatus includes:

[0296] a display module 2910, configured to display a match interface of a turn-based board game, the match interface including a board area and a hand-held area, the hand-held area including a piece card and an equipment card, the piece card being configured for invoking a virtual piece in the board area, the virtual piece being configured for participating in a turn-based virtual battle in the board area, the equipment card being configured for deploying virtual equipment to the virtual piece, and the board area including a first virtual piece and a second virtual piece; and

[0297] a receiving module 2920, configured to receive a deployment operation of applying a first equipment card in the hand-held area to the first virtual piece,

[0298] the display module 2910 being further configured to display, in response to the deployment operation, that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece;

[0299] the receiving module 2920 being further configured to receive a transfer operation of transferring the first virtual equipment to the second virtual piece; and

[0300] the display module 2910 being further configured to display, in response to the transfer operation, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0301] In some embodiments, the receiving module 2920 is further configured to receive a first transfer operation of transferring the first virtual equipment to the second virtual piece, the first transfer operation being configured for selecting, when the first virtual piece is deployed with a plurality of pieces of virtual equipment, the first virtual equipment from the plurality of pieces of virtual equipment to transfer the first virtual equipment to the second virtual piece; and the display module 2910 is further configured to display, in response to the first transfer operation, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0302] In some embodiments, the receiving module 2920 is further configured to receive a second transfer operation of transferring the first virtual equipment to the second virtual piece, the second transfer operation being configured for batch-transferring, when the first virtual piece is deployed with a plurality of pieces of virtual equipment, the plurality of pieces of virtual equipment deployed to the first virtual piece to the second virtual piece; and

[0303] the display module 2910 is further configured to display, in response to the second transfer operation, that the first virtual equipment is transferred together with at least one piece of second virtual equipment from the first virtual piece to the second virtual piece, the plurality of pieces of virtual equipment deployed to the first virtual piece including the first virtual equipment and the at least one piece of second virtual equipment.

[0304] In some embodiments, the display module 2910 is further configured to: determine a first equipment quantity in response to the transfer operation, the first equipment quantity being a quantity of pieces of virtual equipment deployed to the second virtual piece after the transfer operation is performed; and display, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

[0305] In some embodiments, the display module 2910 is further configured to: display, when the first equipment quantity is less than or equal to a deployment quantity threshold corresponding to the second virtual piece, that the first virtual equipment is transferred to the second virtual piece; and display, when the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, that the first virtual equipment is transferred to the second virtual piece and third virtual equipment is transferred to the first virtual piece, the third virtual equipment being virtual equipment deployed by the second virtual piece within a historical time period.

[0306] In some embodiments, the display module 2910 is further configured to: when the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, determine, from the plurality of pieces of virtual equipment deployed to the second virtual piece, the third virtual equipment meeting an equipment transfer requirement; and display that the first virtual equipment is transferred to the second virtual piece and the third virtual equipment is transferred to the first virtual piece, where the plurality of pieces of virtual equipment deployed to the second virtual piece respectively have corresponding deployment timestamps, and the equipment transfer requirement includes at least one of the following: a deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment falls within the historical time period, or the deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment is earlier than deployment moments of the other virtual equipment, or the deployment moment indicated by the deployment timestamp corresponding to the third virtual equipment is later than the deployment moments of the other virtual equipment.

[0307] In some embodiments, the display module 2910 is further configured to: determine a holding quantity and a first consumption quantity of virtual resources in response to the deployment operation, the virtual resources being configured for playing the first equipment card, and the first consumption quantity indicating a quantity of virtual resources that need to be consumed to play the first equipment card; determine, in response to the holding quantity being greater than or equal to the first consumption quantity, a quantity of pieces of virtual equipment deployed to the first virtual piece; and consume virtual resources corresponding to the first consumption quantity in response to the quantity of pieces of virtual equipment deployed to the first virtual piece being less than the deployment quantity threshold corresponding to the first virtual piece, and trigger display of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece.

[0308] In some embodiments, the display module 2910 is further configured to cancel use of the first equipment card and displaying a deployment failure prompt in response to the holding quantity being less than the first consumption quantity.

[0309] In some embodiments, the display module 2910 is further configured to cancel the use of the first equipment card and display the deployment failure prompt in response to the quantity of pieces of virtual equipment deployed to the first virtual piece reaching the deployment quantity threshold corresponding to the first virtual piece.

[0310] In some embodiments, the display module 2910 is further configured to: cancel display of the first virtual piece in the board area in response to receiving a redemption operation of redeeming the first virtual piece in the board area for virtual resources, and obtain a first quantity of virtual resources; display, in response to the first virtual piece being deployed with the first virtual equipment, that the first virtual equipment is recovered to the first equipment card; and display, in the hand-held area, the first equipment card recovered from the first virtual equipment.

[0311] In some embodiments, the display module 2910 is further configured to: determine a card holding quantity in the hand-held area, the card holding quantity indicating a total quantity of character cards and function cards in the hand-held area; and delete, in response to the card holding quantity reaching a card quantity threshold corresponding to the hand-held area, a card meeting a card deletion requirement from the plurality of character cards or function cards in the hand-held area.

[0312] In some embodiments, the display module 2910 is further configured to: determine, in response to the card holding quantity reaching the card quantity threshold corresponding to the hand-held area, at least one first discard card meeting the card deletion requirement from the plurality of character cards or function cards in the hand-held area; and cancel display of the at least one first discard card in the hand-held area, where the card deletion requirement includes that the at least one first discard card receives a card deletion operation, an obtaining moment of the at least one first discard card falls within a preset time range, a card level corresponding to the at least one first discard card is lower than a preset level threshold, or a quantity of virtual resources that need to be consumed to use the at least one first discard card is greater than that of the first equipment card.

[0313] In some embodiments, the display module 2910 is further configured to: determine a recycling score of the first equipment card based on at least one piece of information of a card level, a use consumption value, an action effect, and a match compatibility of the first equipment card, the use consumption value indicating a quantity of virtual resources that need to be consumed to use the first equipment card, the action effect indicating bonus data when a virtual piece is deployed with the first virtual equipment, and the match compatibility indicating a quantity of virtual pieces that are in the board area and whose matching degree with the first virtual equipment reaches a preset matching threshold; and display, in the hand-held area in response to the recycling score reaching a preset score threshold, the first equipment card recovered from the first virtual equipment.

[0314] In some embodiments, the first equipment card has a corresponding first consumption identifier, the first consumption identifier indicating that the first quantity of virtual resources need to be consumed to use the first equipment card; and the display module 2910 is further configured to display, in response to the first virtual piece being deployed with the first virtual equipment, that the first virtual equipment is recovered to the first equipment card has a corresponding second consumption identifier, the second consumption identifier indicating that a second quantity of virtual resources need to be consumed to use the recovered first equipment card, and the second quantity being greater than the first quantity.

[0315] It should be noted that, for the virtual piece-based equipment deployment apparatus provided in the foregoing embodiments, division of the foregoing functional modules is only used as an example for description. During actual application, the foregoing functions may be allocated to different functional modules for implementation as required, to be specific, an inner structure of a device is divided into different functional modules, to implement all or some of the functions described above.

[0316] FIG. 30 is a structural block diagram of a terminal 3000 according to an exemplary embodiment of this application. The terminal 3000 may also be referred to as other names such as user equipment, a portable terminal, a laptop terminal, or a desktop terminal.

[0317] The terminal 3000 includes a processor 3001 and a memory 3002. The processor 3001 may include one or more processing cores. The memory 3002 may include one or more computer-readable storage media. The computer-readable storage medium may be non-transitory. In some embodiments, the non-transitory computer-readable storage medium in the memory 3002 is configured to store at least one instruction. The at least one instruction is configured for being executed by the processor 3001 to implement the virtual piece-based equipment deployment method provided in the method embodiments in this application.

[0318] In some embodiments, the terminal 3000 further include another component. A person skilled in the art may understand that the structure shown in FIG. 30 does not constitute a limitation on the terminal 3000, and the terminal 3000 may include more or fewer components than those shown in the figure, or some components may be combined, or a different component deployment may be used.

[0319] An embodiment of this application further provides a computer device. The computer device may be implemented as the terminal or the server shown in FIG. 1. The computer device includes a processor and a memory. The memory has at least one instruction. At least one program, a code set, or an instruction set stored therein. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the virtual piece-based equipment deployment method in the foregoing method embodiments.

[0320] An embodiment of this application further provides a computer-readable storage medium. The computer-readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the virtual piece-based equipment deployment method in the foregoing method embodiments.

[0321] An embodiment of this application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions. The computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, to enable the computer device to perform the virtual piece-based equipment deployment method in the foregoing method embodiments.

[0322] In this application, the term “module” in this application refers to a computer program or part of the computer program that has a predefined function and works together with other related parts to achieve a predefined goal and may be all or partially implemented by using software, hardware (e.g., processing circuitry and / or memory configured to perform the predefined functions), or a combination thereof. Each module can be implemented using one or more processors (or processors and memory). Likewise, a processor (or processors and memory) can be used to implement one or more modules. Moreover, each module can be part of an overall module that includes the functionalities of the module. In some embodiments, the computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), an optical disc, or the like. The random access memory may include a resistive random access memory (ReRAM) and a dynamic random access memory (DRAM). The above sequence numbers of the embodiments of this application are only for description, and do not represent goodness and badness of the embodiments.

Claims

1. A virtual piece-based equipment deployment method performed by a computing device, and the method comprising:displaying a match interface of a turn-based board game, the match interface including a board area and a hand-held area, the hand-held area including a piece card and an equipment card, and the board area including a first virtual piece and a second virtual piece;receiving a deployment operation of applying a first equipment card in the hand-held area on the first virtual piece;in response to the deployment operation, displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece;receiving a transfer operation of transferring the first virtual equipment to the second virtual piece; andin response to the transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

2. The method according to claim 1, wherein the first virtual piece is deployed with plurality of pieces of virtual equipment and the method comprises:receiving a first transfer operation of selecting the first virtual equipment from the plurality of pieces of virtual equipment to be transferred to the second virtual piece; andin response to the first transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

3. The method according to claim 1, wherein the first virtual piece is deployed with a plurality of pieces of virtual equipment and the method comprises:receiving a second transfer operation of batch-transferring the plurality of pieces of virtual equipment deployed to the first virtual piece to the second virtual piece; andin response to the second transfer operation, displaying that the first virtual equipment is transferred together with at least one piece of second virtual equipment from the first virtual piece to the second virtual piece, the plurality of pieces of virtual equipment deployed to the first virtual piece comprising the first virtual equipment and the at least one piece of second virtual equipment.

4. The method according to claim 1, wherein the displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece comprises:determining a quantity of pieces of virtual equipment deployed to the second virtual piece after the transfer operation is performed as a first equipment quantity; anddisplaying, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

5. The method according to claim 4, wherein the displaying, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece comprises:displaying, when the first equipment quantity is less than or equal to a deployment quantity threshold corresponding to the second virtual piece, that the first virtual equipment is transferred to the second virtual piece; anddisplaying, when the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, that the first virtual equipment is transferred to the second virtual piece and third virtual equipment is transferred to the first virtual piece, the third virtual equipment being virtual equipment deployed by the second virtual piece within a historical period.

6. The method according to claim 1, wherein the displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece comprises:determining a holding quantity and a first consumption quantity of virtual resources in response to the deployment operation, the virtual resources being configured for playing the first equipment card, and the first consumption quantity indicating a quantity of virtual resources that need to be consumed to play the first equipment card;determining, in response to the holding quantity being greater than or equal to the first consumption quantity, a quantity of pieces of virtual equipment deployed to the first virtual piece; andconsuming virtual resources corresponding to the first consumption quantity in response to the quantity of pieces of virtual equipment deployed to the first virtual piece being less than the deployment quantity threshold corresponding to the first virtual piece, and triggering display of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece.

7. The method according to claim 6, wherein after the determining a holding quantity and a first consumption quantity of virtual resources in response to the deployment operation, the method further comprises:canceling use of the first equipment card and displaying a deployment failure prompt in response to the holding quantity being less than the first consumption quantity.

8. The method according to claim 1, wherein the method further comprises:after displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece, canceling display of the first virtual piece in the board area in response to receiving a redemption operation of redeeming the first virtual piece in the board area for virtual resources, and obtaining a first quantity of virtual resources;displaying, in response to the first virtual piece being deployed with the first virtual equipment, that the first virtual equipment is recovered to the first equipment card; anddisplaying, in the hand-held area, the first equipment card recovered from the first virtual equipment.

9. A computer device comprising a processor and a memory, the memory having at least one computer program stored therein, and the at least one computer program, when executed by the processor, causing the computer device to implement a virtual piece-based equipment deployment method including:displaying a match interface of a turn-based board game, the match interface including a board area and a hand-held area, the hand-held area including a piece card and an equipment card, and the board area including a first virtual piece and a second virtual piece;receiving a deployment operation of applying a first equipment card in the hand-held area on the first virtual piece;in response to the deployment operation, displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece;receiving a transfer operation of transferring the first virtual equipment to the second virtual piece; andin response to the transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

10. The computer device according to claim 9, wherein the first virtual piece is deployed with plurality of pieces of virtual equipment and the method comprises:receiving a first transfer operation of selecting the first virtual equipment from the plurality of pieces of virtual equipment to be transferred to the second virtual piece; andin response to the first transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

11. The computer device according to claim 9, wherein the first virtual piece is deployed with a plurality of pieces of virtual equipment and the method comprises:receiving a second transfer operation of batch-transferring the plurality of pieces of virtual equipment deployed to the first virtual piece to the second virtual piece; andin response to the second transfer operation, displaying that the first virtual equipment is transferred together with at least one piece of second virtual equipment from the first virtual piece to the second virtual piece, the plurality of pieces of virtual equipment deployed to the first virtual piece comprising the first virtual equipment and the at least one piece of second virtual equipment.

12. The computer device according to claim 9, wherein the displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece comprises:determining a quantity of pieces of virtual equipment deployed to the second virtual piece after the transfer operation is performed as a first equipment quantity; anddisplaying, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

13. The computer device according to claim 12, wherein the displaying, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece comprises:displaying, when the first equipment quantity is less than or equal to a deployment quantity threshold corresponding to the second virtual piece, that the first virtual equipment is transferred to the second virtual piece; anddisplaying, when the first equipment quantity is greater than the deployment quantity threshold corresponding to the second virtual piece, that the first virtual equipment is transferred to the second virtual piece and third virtual equipment is transferred to the first virtual piece, the third virtual equipment being virtual equipment deployed by the second virtual piece within a historical period.

14. The computer device according to claim 9, wherein the displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece comprises:determining a holding quantity and a first consumption quantity of virtual resources in response to the deployment operation, the virtual resources being configured for playing the first equipment card, and the first consumption quantity indicating a quantity of virtual resources that need to be consumed to play the first equipment card;determining, in response to the holding quantity being greater than or equal to the first consumption quantity, a quantity of pieces of virtual equipment deployed to the first virtual piece; andconsuming virtual resources corresponding to the first consumption quantity in response to the quantity of pieces of virtual equipment deployed to the first virtual piece being less than the deployment quantity threshold corresponding to the first virtual piece, and triggering display of consuming the first equipment card to deploy the first virtual equipment to the first virtual piece.

15. The computer device according to claim 14, wherein after the determining a holding quantity and a first consumption quantity of virtual resources in response to the deployment operation, the method further comprises:canceling use of the first equipment card and displaying a deployment failure prompt in response to the holding quantity being less than the first consumption quantity.

16. The computer device according to claim 9, wherein the method further comprises:after displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece, canceling display of the first virtual piece in the board area in response to receiving a redemption operation of redeeming the first virtual piece in the board area for virtual resources, and obtaining a first quantity of virtual resources;displaying, in response to the first virtual piece being deployed with the first virtual equipment, that the first virtual equipment is recovered to the first equipment card; anddisplaying, in the hand-held area, the first equipment card recovered from the first virtual equipment.

17. A non-transitory computer-readable storage medium having at least one computer program stored therein, and the at least one computer program, when executed by a processor of a computer device, causing the computer device to implement a virtual piece-based equipment deployment method including:displaying a match interface of a turn-based board game, the match interface including a board area and a hand-held area, the hand-held area including a piece card and an equipment card, and the board area including a first virtual piece and a second virtual piece;receiving a deployment operation of applying a first equipment card in the hand-held area on the first virtual piece;in response to the deployment operation, displaying that the first equipment card is consumed to deploy first virtual equipment to the first virtual piece;receiving a transfer operation of transferring the first virtual equipment to the second virtual piece; andin response to the transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

18. The non-transitory computer-readable storage medium according to claim 17, wherein the first virtual piece is deployed with plurality of pieces of virtual equipment and the method comprises:receiving a first transfer operation of selecting the first virtual equipment from the plurality of pieces of virtual equipment to be transferred to the second virtual piece; andin response to the first transfer operation, displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.

19. The non-transitory computer-readable storage medium according to claim 17, wherein the first virtual piece is deployed with a plurality of pieces of virtual equipment and the method comprises:receiving a second transfer operation of batch-transferring the plurality of pieces of virtual equipment deployed to the first virtual piece to the second virtual piece; andin response to the second transfer operation, displaying that the first virtual equipment is transferred together with at least one piece of second virtual equipment from the first virtual piece to the second virtual piece, the plurality of pieces of virtual equipment deployed to the first virtual piece comprising the first virtual equipment and the at least one piece of second virtual equipment.

20. The non-transitory computer-readable storage medium according to claim 17, wherein the displaying that the first virtual equipment is transferred from the first virtual piece to the second virtual piece comprises:determining a quantity of pieces of virtual equipment deployed to the second virtual piece after the transfer operation is performed as a first equipment quantity; anddisplaying, based on the first equipment quantity, that the first virtual equipment is transferred from the first virtual piece to the second virtual piece.