Virtual piece marking

The method enhances virtual piece marking in Auto Chess by allowing users to select and mark pieces through piece type icons and marking control elements, addressing the inefficiencies of existing methods and improving gameplay convenience.

US20260383085A1Pending Publication Date: 2026-12-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/748114
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2024-10-16
Filing Date
2026-07-20
Publication Date
2026-12-03

AI Technical Summary

Technical Problem

The existing virtual piece marking methods in electronic strategy board games like Auto Chess are cumbersome and time-consuming, requiring users to select and mark virtual pieces one by one through a lineup editing function, which is not convenient during fast-paced gameplay.

Method used

A method and apparatus that allows users to select a piece type icon, display multiple avatars of virtual pieces, and use marking control elements to quickly mark the desired pieces within a specified range, reducing the need for interface switching and improving efficiency.

Benefits of technology

This approach enables precise and quick marking of virtual pieces, enhancing marking efficiency, reducing operation time, and improving human-computer interaction by allowing users to mark pieces directly on the match interface without unnecessary interface changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260383085A1-D00000_ABST
    Figure US20260383085A1-D00000_ABST
Patent Text Reader

Abstract

In a virtual piece marking method, at least two piece avatars are displayed when a type selection operation on a piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon. At least one marking control element is displayed when a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces is received. In the method, a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range is received. The first virtual piece within the first marking range is marked on the display when the marking selection operation is received. Apparatus and non-transitory computer-readable storage medium counterparts are also contemplated.
Need to check novelty before this filing date? Find Prior Art

Description

RELATED APPLICATIONS

[0001] The present application is a continuation of International Application No. PCT / CN2025 / 116175, filed on Aug. 21, 2025, which claims priority to Chinese Patent Application No. 202411448879.6, filed on Oct. 16, 2024, and entitled “VIRTUAL PIECE MARKING METHOD AND APPARATUS, DEVICE, MEDIUM, AND PROGRAM PRODUCT.” The entire disclosures of the prior applications are hereby incorporated by reference.FIELD OF THE TECHNOLOGY

[0002] Embodiments of this disclosure relate to the field of human-computer interaction, including a virtual piece marking method and apparatus, a device, a medium, and a program product.BACKGROUND

[0003] Among a variety of game genres, there exists an electronic strategy board game named Auto Chess. A basic game rule of Auto Chess is that a user draws virtual pieces, selects a piece combination of virtual pieces of different types, and deploys the virtual pieces on a chessboard of the user. Finally, a game system automatically controls virtual pieces of a friendly party to battle against virtual pieces of an opponent, and a party whose virtual pieces survive until the end wins the game.

[0004] In some applications, to better arrange a tactic, a user may want to mark a virtual piece, to facilitate obtaining in a subsequent process. For example, the user selects, according to a lineup corresponding to the tactic and through a lineup editing function, virtual pieces required to form the lineup one by one and marks the virtual pieces.

[0005] However, according to a virtual piece marking method in some applications, the user may select the virtual pieces one by one from a large quantity of virtual pieces and mark the virtual pieces after opening an interface corresponding to the lineup editing function, and then close the interface corresponding to the lineup editing function to return to a match interface. The process is cumbersome and time-consuming, and is not sufficiently convenient during fast-paced gameplay.SUMMARY

[0006] This disclosure includes a virtual piece marking method and apparatus, a device, a medium, and a program product. The technical solutions include at least one of the following aspects.

[0007] According to an aspect of this disclosure, in a virtual piece marking method, a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display is received. At least two piece avatars overlapping the match interface are displayed when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon. In the method, a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces is received. At least one marking control element overlapping the match interface is displayed when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range. In the method, a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range is received by processing circuitry. The first virtual piece within the first marking range is marked on the display when the marking selection operation on the first marking control element is received.

[0008] According to an aspect of this disclosure, a virtual piece marking apparatus includes processing circuitry configured to receive a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display. The processing circuitry is configured to display at least two piece avatars overlapping the match interface when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon. The processing circuitry is configured to receive a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces. The processing circuitry is configured to display at least one marking control element overlapping the match interface when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range. The processing circuitry is configured to receive a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range. The processing circuitry is configured to display, on the display, the first virtual piece within the first marking range when the marking selection operation on the first marking control element is received.

[0009] According to an aspect of this disclosure, a non-transitory computer-readable storage medium stores instructions, which when executed by a processor, cause the processor to perform a virtual piece marking method. In the method, a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display is received. At least two piece avatars overlapping the match interface are displayed when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon. In the method, a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces is received. At least one marking control element overlapping the match interface is displayed when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range. In the method, a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range is received. The first virtual piece within the first marking range is marked on the display when the marking selection operation on the first marking control element is received.

[0010] According to an aspect of this disclosure, a virtual piece marking method is provided. The method is performed by a computer device and includes: displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece; displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element; and marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element.

[0011] According to an aspect of this disclosure, a virtual piece marking apparatus is provided. The apparatus includes: a display module, configured to display, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece; and the display module being further configured to display at least one to-be-selected marking control element in response to a selection operation for the first virtual piece, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element; and a marking module, configured to mark, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element.

[0012] According to an aspect of this disclosure, a computer device is provided. The computer device includes: a processor (an example of processing circuitry) and a memory. The memory has at least one program stored therein. The processor is configured to execute the at least one program in the memory, to implement the virtual piece marking method.

[0013] According to an aspect of this disclosure, a computer-readable storage medium (e.g., non-transitory computer-readable storage medium) is provided. The computer-readable storage medium has at least one program stored therein, and the at least one program is loaded and executed by a processor to implement the virtual piece marking method.

[0014] According to an aspect of this disclosure, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions. The computer instructions are stored in a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), and processing circuitry (e.g., a processor) obtains the computer instructions from the computer-readable storage medium, and executes the computer instructions to implement the virtual piece marking method.

[0015] The technical solutions included in this disclosure may include one or more of the following beneficial effects.

[0016] According to the method, the at least two virtual pieces corresponding to the piece type icon are displayed, and after a user selects the first virtual piece in the at least two virtual pieces, the at least one marking control element is displayed. Different marking control elements correspond to different marking ranges. After the user selects the first marking control element in the at least one marking control element, the first virtual piece is marked within the first marking range corresponding to the first marking control element. Because the user selects the first virtual piece and the first marking range through a selection operation for the first marking control element, the first virtual piece required by the user can be marked precisely and quickly. This improves marking efficiency of the first virtual piece. Furthermore, because a smaller quantity of virtual pieces correspond to the piece type icon (instead of all available virtual pieces), selecting the first virtual piece from the virtual pieces corresponding to the piece type icon takes shorter time and is more convenient to operate compared to selecting required virtual pieces one by one from a larger quantity of virtual pieces through a lineup editing function in related technology. In addition, the user does not need to, as in some other implementations, first open an interface corresponding to the line-up editing function and then mark the virtual pieces, and can quickly mark the virtual pieces on a match interface. This reduces unnecessary interface switching, simplifies operations, improves marking convenience, and improves overall human-computer interaction efficiency and computational efficiency.BRIEF DESCRIPTION OF THE DRAWINGS

[0017] FIG. 1 is a schematic diagram of a computer system according to an embodiment of this disclosure.

[0018] FIG. 2 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure.

[0019] FIG. 3 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure.

[0020] FIG. 4 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0021] FIG. 5 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0022] FIG. 6 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure.

[0023] FIG. 7 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0024] FIG. 8 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure.

[0025] FIG. 9 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0026] FIG. 10 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0027] FIG. 11 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0028] FIG. 12 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0029] FIG. 13 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure.

[0030] FIG. 14 is a block diagram of a virtual piece marking apparatus according to an embodiment of this disclosure.

[0031] FIG. 15 is a structural block diagram of a computer device according to an embodiment of this disclosure.DETAILED DESCRIPTION

[0032] The following describes technical solutions in embodiments of this disclosure with reference to the accompanying drawings. The described embodiments are some embodiments of this disclosure. Other embodiments are within the scope of this disclosure.

[0033] The use of “at least one of” or “one of” in the disclosure is intended to include any one or a combination of the recited elements. For example, references to at least one of A, B, or C; at least one of A, B, and C; at least one of A, B, and / or C; and at least one of A to C are intended to include only A, only B, only C or any combination thereof. References to one of A or B and one of A and B are intended to include A or B or (A and B). The use of “one of” does not preclude any combination of the recited elements when applicable, such as when the elements are not mutually exclusive.

[0034] Examples of terms involved in some aspects of the disclosure are briefly introduced. The descriptions of the terms are described as examples only and are not intended to limit the scope of the disclosure.

[0035] Round-based board game: this term may correspond to a board game in which virtual pieces (briefly referred to as pieces) are laid out before a match starts, and during the match, the virtual pieces can automatically engage in battle according to the layout. The virtual piece is typically represented by a virtual character, and may be, for example, referred to as a virtual hero. During the match, the virtual character automatically casts various skills to battle against each other. Typically, the match is based on rounds. When virtual pieces of a party participating in the match are all defeated (that is, health points of a virtual character drop to zero), the party is a loser of a current round of the match. In some embodiments, in addition to the “piece-type virtual character” participating in the match, both parties participating in the match may be separately provided with a chess player character that represents a current user participating in the match. The chess player character is also provided with health points. The health points of the chess player character are correspondingly deducted (losing the match) or unchanged (winning or drawing the match) based on a result of each round of the match. When the health points of the chess player character drop to zero, the user corresponding to the chess player character exits the match, and the remaining users continue the match. In an embodiment, the round-based board game includes an Auto Chess game.

[0036] Auto Chess game: this term may correspond to a multiplayer round-based competitive game featured with in-match collectible hero pieces. For example, there are a total of eight or six users in the game, and the users each occupy an area on a chessboard. Two users in the plurality of users participate in a one-on-one match. One match includes a plurality of rounds, and each round of the match includes two phases: a battle preparation phase and a battle phase. The battle preparation phase is configured for a user to determine types and a quantity of virtual pieces to be deployed, positions of the virtual pieces on the chessboard, and the like. The battle phase refers to a phase in which virtual pieces of both parties engaging in battle automatically battle against each other on the chessboard. When virtual pieces of a party are all defeated, a current round of the battle ends. The party whose pieces are all defeated is a loser of the current round, and health points of a chess player character corresponding to the party are deducted by a specified value. Game rounds may be repeated, the chess player character is paired up with a new opponent, until the health points of the chess player character are less than or equal to 0, which indicates that the chess player character is eliminated from the match. The last remaining user will win the game.

[0037] Chessboard: this term may correspond to an area for preparing matches and performing matches in a user interface of a round-based board game. The chessboard may be any one of a two-dimensional virtual chessboard, a 2.5-dimensional virtual chessboard, and a three-dimensional virtual chessboard. This is not limited in this disclosure.

[0038] A chessboard of an Auto Chess game may be divided into a battle area and a battle preparation area. The battle area includes several tiles of a same size. The tiles are for placing virtual pieces participating in a match during the match. The battle preparation area includes several candidate piece positions. The candidate piece positions are for placing candidate virtual pieces, and the candidate virtual pieces do not participate in the match during the match and can be dragged and placed in the battle area in a battle preparation phase.

[0039] Regarding an arrangement manner of the tiles in the battle area, in some embodiments, the battle area includes n (rows)×m (columns) tiles. In some examples, n is an integer multiple of 2, and two adjacent rows of tiles are aligned, or two adjacent rows of tiles are staggered. In addition, the battle area may be equally divided into two parts based on rows, which are a battle area of a friendly party and a battle area of an opponent (e.g., a non-friendly party), respectively. Users participating in the match are respectively located on upper and lower sides of a match interface. In a battle preparation phase, the user can place a piece in the battle area of the friendly party. In some other embodiments, the battle area is equally divided into two parts based on columns, which are a battle area of a friendly party and a battle area of an opponent, respectively. Users participating in the match are respectively located on left and right sides or upper and lower sides of a match interface. A shape of the tile may be any one of a square, a rectangle, a circle, and a hexagon. The shape of the tile is not limited in this disclosure.

[0040] Virtual piece: this term may correspond to a piece placed on a chessboard in an Auto Chess game, and includes a battle virtual piece and a battle preparation virtual piece. The battle virtual piece is a virtual piece located in a battle area, and the battle preparation virtual piece is a virtual piece located in a battle preparation area. The virtual piece may be referred to as a piece for short.

[0041] Piece category: this term may also be referred to as piece synergy (synergy for short). Each virtual piece corresponds to at least two types of synergy. The synergy may provide additional combat power to the virtual piece. Activating the synergy requires simultaneously deploying at least two virtual pieces having the synergy. In some examples, the piece types may include, but are not limited to, a faction type, a play style type, and a tribe type.

[0042] For example, the faction type may include: Great Wall, Federation, Empire, Kingdom, Northland, Western Region, and the like. The play style type may include: Assassin, Mage, Warrior, Swordsman, Rogue, Fighter, Elementalist, Knight, Ranger, and the like. The tribe type may include: Little Bee, Flower Fairy, Dragon, Robot, Fairy, Beast, Demon Seed, and the like.

[0043] User interface: this term may correspond to a client interface of software, and includes design elements that directly or indirectly interact with a user, such as a button, an animation, a text, a sound, and a window in a screen.

[0044] FIG. 1 is a schematic diagram of a computer system 100 according to an embodiment of this disclosure. The computer system 100 includes: a terminal 110 and a server 120.

[0045] A client 111 supporting a virtual environment is installed and runs on the terminal 110. When the terminal 110 runs the client 111, a user interface of the client 111 is displayed on a screen of the terminal 110. The client 111 may be any one of a virtual reality (VR) application program, an augmented reality (AR) application program, a three-dimensional map program, a VR game, an AR game, a first-person shooting (FPS) game, a third-person shooting (TPS) game, a multiplayer online battle arena (MOBA) game, and a strategy board game. In one or more embodiments of this disclosure, the terms “object”, “user”, “account”, “player”, and the like represent a same meaning. This is not limited in this disclosure.

[0046] The terminal 110 is a terminal used by a user 112, and the terminal 110 may generally refer to one of a plurality of terminals. This embodiment is described by using the terminal 110 as an example. A device type of the terminal 110 includes at least one of a smartphone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop portable computer, and a desktop computer.

[0047] FIG. 1 shows only one terminal, but there is a case that another terminal 130 accesses the server 120 in different embodiments. In an embodiment, there are one or more other terminals 130 that are terminals corresponding to a developer. A development and editing platform of the client 111 supporting the virtual environment is installed on the other terminals 130. The developer may edit and update the client 111 on the other terminals 130, and transmit an updated client installation package to the server 120 over a wireless network or a wired network. The terminal 110 may download the client installation package from the server 120 to update the client 111.

[0048] The terminal 110 and the other terminals 130 are connected to the server 120 via a wireless network or a wired network.

[0049] The server 120 is a network device, and includes at least one of one server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 120 is configured to provide a backend service for the client 111 supporting the virtual environment. In an embodiment, the server 120 undertakes primary computing work, and the terminal 110 undertakes secondary computing work. Alternatively, the server 120 undertakes secondary computing work, and the terminal 110 undertakes primary computing work. Alternatively, a distributed computing architecture is adopted between the server 120 and the terminal 110 for collaborative computing.

[0050] In an embodiment, the server 120 includes a user-oriented input / output (I / O) interface 121, a processor 122, a user account database 123, and a battle service module 124. The processor 122 is configured to load instructions stored in the server 120, and process data in the user account database 123 and the battle service module 124. The user account database 123 is configured to store data of user accounts used by the terminal 110 and the other terminals 130, such as portraits of the user accounts, nicknames of the user accounts, combat power indexes of the user accounts, and service areas of the user accounts. The battle service module 124 is configured to provide a plurality of battle modes for a user to battle, such as a 1V1 battle mode, a 3V3 battle mode, and a 5V5 battle mode, or a battle mode in which one or more users form a faction, and then a plurality of (or more than three) factions battle against each other, and ranking and elimination are performed based on win / loss results of battles to determine the final ranking. The user-oriented I / O interface 121 is configured to establish communication with the terminal 110 and / or the other terminals 130 via a wireless network or a wired network for data exchange.

[0051] There may be more or fewer terminals 110. For example, there may be one terminal 110, or there may be dozens or hundreds of terminals 110, or more. A quantity and a device type of the terminal 110 are not limited in this disclosure.

[0052] Among a variety of game genres, there exists an electronic strategy board game named Auto Chess. A basic game rule of Auto Chess is that a user draws virtual pieces, selects a piece combination of virtual pieces of different types, and deploys the virtual pieces on a chessboard of the user, and finally, a game system automatically controls virtual pieces of a friendly party to battle against virtual pieces of an opponent, until a party whose virtual pieces survive until the end wins the game. In related technology, to better arrange a tactic, a user may need to mark a virtual piece, to facilitate obtaining in a subsequent process. For example, the user selects, according to a lineup corresponding to the tactic and through a lineup editing function, virtual pieces required to form the lineup one by one and marks the virtual pieces. However, according to a virtual piece marking method in related technology, the user may need to select the required virtual pieces one by one from a large quantity of virtual pieces and mark the virtual pieces after opening an interface corresponding to the lineup editing function, and then close the interface corresponding to the lineup editing function to return to a match interface. The process is cumbersome and time-consuming, and is not sufficiently convenient during fast-paced gameplay.

[0053] To solve the foregoing problem, this disclosure provides a virtual piece marking method. FIG. 2 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a terminal 110 and a server 120.

[0054] A client 111 supporting a virtual environment is installed and runs on the terminal 110. The client 111 displays a match interface 200. The match interface 200 includes at least one of the following content: a battle preparation area 210 of a friendly party, an account avatar display area 220, a piece type display area 230, a battle area 240 of the friendly party, and a battle area 250 of an opponent. In one or more embodiments of this disclosure, a virtual piece may be referred to as a piece for short, a piece type may alternatively be referred to as piece synergy, and the piece type display area 230 may alternatively be referred to as a piece synergy display area 230. In this disclosure, the terms “object”, “user”, “account”, “player”, and the like represent a same meaning. This is not limited in this disclosure.

[0055] As shown in FIG. 2, a virtual piece A is displayed in the battle preparation area 210 of the friendly party. Avatars and remaining health points that correspond to a total of eight accounts, namely, an account A and an account B to an account H, are displayed in the account avatar display area 220. An account F is an account (a player-controlled account) of the friendly party.

[0056] The virtual piece A and the virtual piece B are displayed in the battle area 240 of the friendly party. The virtual piece corresponds to one or more types. For example, the virtual piece A corresponds to Assassin and Shapeshifter, and the virtual piece B corresponds to Assassin and Brawler. No virtual piece is displayed in the battle area 250 of the opponent.

[0057] Three piece type icons are displayed in the piece type display area 230, which are an assassin piece type icon, a shapeshifter piece type icon, and a brawler piece type icon, respectively. The piece type may also be referred to as piece synergy (synergy for short). Each virtual piece corresponds to at least two types of synergy. The synergy may provide additional combat power to the virtual piece. Activating the synergy requires simultaneously deploying at least two virtual pieces having the synergy. Because the virtual piece A corresponds to Assassin and Shapeshifter, and the virtual piece B corresponds to Assassin and Brawler, a piece type icon “Assassin 2” is displayed, which indicates that assassin synergy is activated and two virtual pieces of an assassin piece type exist in the battle area 240 of the friendly party, and a piece type icon “Shapeshifter 1” and a piece type icon “Brawler 1” are displayed, which indicate that shapeshifter synergy and brawler synergy are not activated and one virtual piece of the shapeshifter piece type and one virtual piece of a brawler piece type exist in the battle area 240 of the friendly party.

[0058] In some embodiments, avatars of at least two virtual pieces corresponding to a piece type icon are displayed in response to a long-press operation for the piece type icon.

[0059] The piece type display area 230 includes at least one piece type icon. For example, in FIG. 2, the piece type display area 230 includes three piece type icons. An example in which the piece type icon is a shapeshifter piece type icon is used. Avatars of the virtual piece A, a virtual piece C, a virtual piece D, and a virtual piece E that correspond to the shapeshifter piece type icon are displayed in response to a long-press operation for the shapeshifter piece type icon.

[0060] By way of example and not limitation, the piece type includes at least one of the following: a faction type, a play style type, and a tribe type. For example, the faction type includes: Great Wall, Federation, Empire, Kingdom, Northland, Western Region, and the like. The play style type includes: Assassin, Mage, Warrior, Swordsman, Rogue, Fighter, Elementalist, Knight, Ranger, and the like. The tribe type includes: Little Bee, Flower Fairy, Dragon, Robot, Fairy, Beast, Demon Seed, and the like. The piece type may further include another type. This is not limited in this disclosure.

[0061] In an embodiment, in response to the long-press operation for the piece type icon, avatars of the at least two virtual pieces corresponding to the piece type icon are displayed through a sector wheel. Alternatively, in response to the long-press operation for the piece type icon, avatars of the at least two virtual pieces corresponding to the piece type icon are displayed through a circular wheel. Alternatively, in response to the long-press operation for the piece type icon, avatars of the at least two virtual pieces corresponding to the piece type icon are displayed through a list.

[0062] In some embodiments, in response to the long-press operation for the piece type icon, the avatars of the at least two virtual pieces corresponding to the piece type icon are displayed when time of the long-press operation is greater than or equal to a first time threshold; and no content is displayed in a case that the time of the long-press operation is less than the first time threshold.

[0063] For example, in a case that the time of the long-press operation is equal to 1 second, avatars of all virtual pieces corresponding to the piece type icon are displayed, and in a case that the time of the long-press operation is less than 1 second, no content is displayed.

[0064] In some embodiments, the at least two virtual pieces include a first virtual piece, and at least one to-be-selected marking control element is displayed in response to a long-press operation for an avatar of the first virtual piece. The at least one marking control element indicates a marking range for the first virtual piece.

[0065] In some embodiments, in response to the long-press operation for the avatar of the first virtual piece, the at least one to-be-selected marking control element is displayed in a case that time of the long-press operation is greater than or equal to a second time threshold; and no content is displayed in a case that the time of the long-press operation is less than the second time threshold.

[0066] For example, in a case that the time of the long-press operation is equal to 1 second, the at least one to-be-selected marking control element is displayed; and in a case that the time of the long-press operation is less than 1 second, no content is displayed.

[0067] In some embodiments, the marking control element includes at least one of the following: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts.

[0068] For example, a plurality of human-shaped icons represent the marking control element configured to mark the first virtual piece of the another account. A plurality of poker card-style icons represent the marking control element configured to mark the first virtual piece of the account of the friendly party. An icon formed by three squares and one circle represents the marking control element configured to mark the first virtual pieces of all the accounts.

[0069] FIG. 3 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure. A description is made by using an example in which the marking control element configured to mark the first virtual pieces of all the accounts is selected and the first virtual piece is the virtual piece A of the piece type “Shapeshifter”. Marking the first virtual pieces of all the accounts refers to marking the first virtual piece of the friendly party and the first virtual piece of the another account.

[0070] In FIG. 3, content displayed by a client further includes a virtual store 260. The virtual store 260 is configured to provide a to-be-selected virtual piece, such as one virtual piece A, three virtual pieces B, and one virtual piece C that are displayed in the form of cards. A piece card corresponding to the virtual piece A displays that piece types of the virtual piece A are Assassin and Shapeshifter, a piece card corresponding to the virtual piece B displays that piece types of the virtual piece B are Assassin and Brawler, and a piece card corresponding to the virtual piece C displays that piece types of the virtual piece C are Mage and Shapeshifter.

[0071] In response to a selection operation for the marking control element configured to mark the first virtual pieces of all the accounts, the virtual piece A in the virtual store 260, the virtual piece A in the battle area 240 of the friendly party, the virtual piece A in the battle preparation area 210 of the friendly party, and an avatar of an account H holding the virtual piece A are highlighted. In one or more embodiments of this disclosure, highlighted display is implemented by adding thick borders around the virtual piece A, the piece card corresponding to the virtual piece A in the virtual store, and the avatar of the another account.

[0072] In some embodiments, another battle area and another battle preparation area are displayed in response to a tap operation for the avatar of the another account holding the first virtual piece. The another battle area and / or the another battle preparation area include the marked first virtual piece.

[0073] For example, in response to a tap operation for the avatar of the account H, another battle area and another battle preparation area that correspond to the account H are displayed. In a case that the account H holds the virtual piece A and the virtual piece A is deployed in the another battle preparation area, the virtual piece A in the another battle preparation area corresponding to the account H is highlighted.

[0074] In some embodiments, marking of the first virtual piece is canceled in response to a double-tap operation for the piece type icon.

[0075] For example, after marking of the virtual pieces A of all the accounts is selected, in response to a double-tap operation for an icon “Shapeshifter”, marking of the virtual pieces A is canceled. That is, the virtual piece A in the virtual store 260, the virtual piece A in the battle area 240 of the friendly party, and the virtual piece A in the battle preparation area 210 of the friendly party are not highlighted, and the avatar of the account H holding the virtual piece A is not highlighted.

[0076] Based on the foregoing, the method provided in this embodiment provides a method for quickly marking a virtual piece. The at least two virtual pieces corresponding to the piece type icon are displayed, and the at least one marking control element is displayed after the user selects the first virtual piece in the at least two virtual pieces. Different marking control elements correspond to different marking ranges. After the user selects a first marking control element in the at least one marking control element, the first virtual piece is marked within a first marking range corresponding to the first marking control element. Because the user selects the first virtual piece and the first marking range through a selection operation for the first marking control element, the first virtual piece required by the user can be marked precisely and quickly. This improves marking efficiency of the first virtual piece. Furthermore, because a small quantity of virtual pieces correspond to the piece type icon, selecting the first virtual piece from the virtual pieces corresponding to the piece type icon consumes shorter time and is more convenient to operate compared to selecting required virtual pieces one by one from a large quantity of virtual pieces through a lineup editing function in related technology. In addition, the user does not need to, as in related technology, first open an interface corresponding to the line-up editing function and then mark the virtual pieces, and can quickly mark the virtual pieces on a match interface. This reduces unnecessary interface switching, simplifies operations, improves marking convenience, and improves overall human-computer interaction efficiency.

[0077] According to the method provided in this embodiment, the first virtual piece in the virtual store, the first virtual piece in the battle area of the friendly party, the first virtual piece in the battle preparation area of the friendly party, and the avatar of the another account holding the first virtual piece are further highlighted in response to the selection operation for the marking control element configured to mark the first virtual pieces of all the accounts. This improves recognizability of the first virtual piece from the perspective of the account of the friendly party, to help the user obtain the first virtual piece from the virtual store and improve human-computer interaction efficiency. In addition, this helps the user quickly view a situation of the another account. In this way, the user can adjust counter-strategies in a timely manner based on a quantity of first virtual pieces held by the another account, to increase likelihood of victory of the user.

[0078] FIG. 4 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a computer device, and the computer device may be the terminal 110 in FIG. 1. The method includes at least one of the following operations:

[0079] Operation 410: Display, in response to a selection operation for a piece type icon, at least two virtual pieces (e.g., at least two piece avatars indicating the at least two virtual pieces) corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece. For example, a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display is received. At least two piece avatars overlapping the match interface are displayed when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon.

[0080] An Auto Chess game is a multiplayer round-based competitive game featured with in-match collectible hero pieces. For example, there are a total of eight or six users in the game, and the users each occupy an area on a chessboard. Two users in the plurality of users participate in a one-on-one match. One match includes a plurality of rounds, and each round of the match includes two phases: a battle preparation phase and a battle phase. The battle preparation phase is configured for a user to determine types and a quantity of virtual pieces to be deployed, positions of the virtual pieces on the chessboard, and the like. The battle phase refers to a phase in which virtual pieces of both parties engaging in battle automatically battle against each other on the chessboard. When virtual pieces of a party are all defeated, a current round of the battle ends. The party whose pieces are all defeated is a loser of the current round, and health points of a chess player character corresponding to the party are deducted by a specified value. Game rounds may be repeated, the chess player character is paired up with a new opponent, until the health points of the chess player character are less than or equal to 0, which indicates that the chess player character is eliminated from the match. The last remaining user will win the game. In this disclosure, the terms “object”, “user”, “account”, “player”, and the like represent a same meaning. This is not limited in this disclosure.

[0081] The chessboard refers to an area configured for preparing matches and performing matches in a user interface of a round-based board game. The chessboard may be any one of a two-dimensional virtual chessboard, a 2.5-dimensional virtual chessboard, and a three-dimensional virtual chessboard. This is not limited in this disclosure.

[0082] The chessboard of the Auto Chess game is divided into a battle area and a battle preparation area. The battle area includes several tiles of a same size. The tiles are configured for placing virtual pieces participating in a match during the match. The battle preparation area includes several candidate piece positions. The candidate piece positions are configured for placing candidate virtual pieces, and the candidate virtual pieces do not participate in the match during the match and can be dragged and placed in the battle area in a battle preparation phase.

[0083] Regarding an arrangement manner of the tiles in the battle area, in some embodiments, the battle area includes n (rows)×m (columns) tiles. For example, n is an integer multiple of 2, and two adjacent rows of tiles are aligned, or two adjacent rows of tiles are staggered. In addition, the battle area is equally divided into two parts based on rows, which are a battle area of a friendly party and a battle area of an opponent, respectively. Users participating in the match are respectively located on upper and lower sides of a match interface, and in a battle preparation phase, the user can place a piece in the battle area of the friendly party. In some other embodiments, the battle area is equally divided into two parts based on columns, which are a battle area of a friendly party and a battle area of an opponent, respectively. Users participating in the match are respectively located on left and right sides or upper and lower sides of a match interface. A shape of the tile may be any one of a square, a rectangle, a circle, and a hexagon. The shape of the tile is not limited in this disclosure.

[0084] In some embodiments, the Auto Chess game proceeds through a plurality of rounds. The plurality of rounds includes a battle round and a non-battle round. For example, one non-battle round is performed after every five battle rounds, or the 1st round is one non-battle round. In the battle round, a battle between users or between a user and a mirror user is performed. For example, if a quantity of remaining users in a current game is an even number, the users are paired up for battles in a next battle round. If the quantity of remaining users in the current game is an odd number, a user remaining after pairing engage in battle with a mirror image of one of other users in the next battle round. The non-battle round includes a draft round and a neutral creep round. In the draft round, a plurality of chess player characters compete for piece characters in a draft arena, and when a piece character is successfully contested, equipment bound to the piece character is also obtained at the same time. In the neutral creep round, the virtual piece of the friendly party battles against a neutral monster, and obtains equipment dropped by the neutral monster after winning the battle.

[0085] The virtual piece refers to a piece placed on the chessboard in the Auto Chess game, and each virtual piece is configured for representing one corresponding virtual character. The virtual piece includes a battle virtual piece and a battle preparation virtual piece. The battle virtual piece is a virtual piece located in the battle area, and the battle preparation virtual piece is a virtual piece located in the battle preparation area. The virtual piece may be referred to as a piece for short.

[0086] The piece type icon is an icon indicating a piece type. The piece type may alternatively be referred to as piece synergy (synergy for short). Each virtual piece corresponds to at least two piece types, that is, each virtual piece corresponds to at least two types of synergy. The synergy may provide additional combat power to the virtual piece. Activating the synergy requires simultaneously deploying at least two virtual pieces having the synergy. In an embodiment, one piece type icon corresponds to at least two virtual pieces.

[0087] As shown in FIG. 2, it is assumed that a virtual piece A corresponds to piece types Assassin and Shapeshifter, and a virtual piece B corresponds to piece types Assassin and Brawler. Therefore, a piece type icon “Assassin 2” is displayed, which indicates that assassin synergy is activated and two virtual pieces of an assassin piece type exist in the battle area 240 of the friendly party, and a piece type icon “Shapeshifter 1” and a piece type icon “Brawler 1” are displayed, which indicate that shapeshifter synergy and brawler synergy are not activated and one virtual piece of a shapeshifter piece type and one virtual piece of a brawler piece type exist in the battle area 240 of the friendly party.

[0088] In some embodiments, the first virtual piece is a virtual piece that needs to be obtained and / or needs to be marked by the friendly party.

[0089] For example, in FIG. 2, because an account of the friendly party has already held two virtual pieces A and obtaining an additional virtual piece A can increase combat power of the virtual piece A, the friendly party needs to continue obtaining the virtual piece A.

[0090] In some embodiments, the at least two virtual pieces include a first virtual piece and a second virtual piece. Piece types corresponding to the first virtual piece and the second virtual piece may be the same or partially the same, and at least one type of virtual attribute may be different between the first virtual piece and the second virtual piece.

[0091] The virtual attribute includes, but is not limited to, a piece type, a piece avatar, a piece price, and the like. For example, the piece types of the virtual piece A are Assassin and Shapeshifter, a piece avatar is a piece avatar A, and a piece price is 1 virtual resource. The piece types of the virtual piece B are Assassin and Brawler, a piece avatar is a piece avatar B, and a piece price is 2 virtual resources. The virtual piece A and the virtual piece B are not a same virtual piece, provided that, aside from both including Assassin as one of the piece types of the virtual piece A and the virtual piece B, the virtual piece A and the virtual piece B differ in the other piece type, and also differ in the piece avatar and the piece price.

[0092] In some embodiments, in response to the selection operation for the piece type icon, all virtual pieces corresponding to the piece type icon are displayed.

[0093] An example in which the piece type icon is a shapeshifter piece type icon is used. Because all virtual pieces corresponding to the shapeshifter piece type icon are the virtual piece A, a virtual piece C, a virtual piece D, and a virtual piece E, avatars of the virtual piece A, the virtual piece C, the virtual piece D, and the virtual piece E that correspond to the shapeshifter piece type icon are displayed in response to a long-press operation for the shapeshifter piece type icon.

[0094] In one or more embodiments of this disclosure, displaying a virtual piece includes: at least one of various display manners such as displaying an avatar of the virtual piece; displaying a full image of the virtual piece; displaying text corresponding to the virtual piece; displaying a character image of the virtual piece; and displaying a nickname of the virtual piece. In one or more embodiments of this disclosure, displaying an avatar of a virtual piece is described as an example, and the display manner is not limited.

[0095] Operation 420: Display at least one to-be-selected marking control element in response to a selection operation for the first virtual piece, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element. For example, a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces is received. At least one marking control element overlapping the match interface is displayed when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range.

[0096] The marking control element indicates a marking range for a virtual piece. At least one marking control element is included. A display form of each of the at least one marking control element may be different. For example, the at least one marking control element is displayed as at least one of the following: a plurality of human-shaped icons, a plurality of poker card-style icons, and an icon formed by three squares and a circle. The three styles herein are examples, and fewer or more different styles may alternatively be set in practical application.

[0097] The marking range indicates an area in which a marking operation is performed. After the first virtual piece is selected, the marking control element is required to indicate the marking range for the first virtual piece, that is, to define positions at which the first virtual piece is to be marked. Different marking ranges correspond to different areas in which a marking operation is performed. For example, the first marking control element is a marking control element configured to mark a first virtual piece of an account of a friendly party, and the first marking range corresponding to the first marking control element includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; and a virtual store. The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece.

[0098] In some embodiments, the at least one to-be-selected marking control element is displayed in response to the selection operation for the first virtual piece, and the at least two virtual pieces corresponding to the piece type icons are not displayed. Alternatively, the at least one to-be-selected marking control element is displayed in response to the selection operation for the first virtual piece, and the at least two virtual pieces corresponding to the piece type icon are also displayed.

[0099] During display of the at least one to-be-selected marking control element, the at least two virtual pieces corresponding to the piece type icon may still be displayed, to allow the user to confirm whether the selected first virtual piece is correct. Alternatively, the at least two virtual pieces corresponding to the piece type icon may be no longer displayed, to reduce complexity of the user interface and make the user interface tidier and clearer.

[0100] Operation 430: Mark, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element. For example, a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range is received. The first virtual piece within the first marking range is marked on the display when the marking selection operation on the first marking control element is received.

[0101] An example in which eight accounts participate in a same match is used. An account of a friendly party refers to a player-controlled account, such as the account F shown in FIG. 2. All accounts refer to the eight accounts, namely, an account A and an account B to an account H. Another account refers to seven accounts other than the account F in the eight accounts. An account of an opponent refers to an account participating in a match with the account of the friendly party in a current round. For example, when the account (the account F) of the friendly party participates in a match with the account A, the account A is the account of the opponent.

[0102] In some embodiments, different first marking control elements respectively correspond to different first marking ranges.

[0103] For example, an A marking control element corresponds to a marking range related to the account (the player-controlled account) of the friendly party, and a B marking control element corresponds to a marking range related to the another account. The another account refers to all accounts except the account of the friendly party in a current match.

[0104] In response to a selection operation for the A marking control element, the first virtual piece is marked within the marking range related to the account of the friendly party, and the first virtual piece is not marked within the marking range related to the another account. Similarly, in response to a selection operation for the B marking control element, the first virtual piece is marked within the marking range related to the another account, and the first virtual piece is not marked within the marking range related to the account of the friendly party.

[0105] In an embodiment, the selection operation in the foregoing operations includes at least one of operations such as a long-press operation, a tap operation, a double-tap operation, and a slide operation. An implementation may be set according to a corresponding usage scenario. This is not limited in this disclosure.

[0106] Based on the foregoing, according to the method provided in this embodiment, the at least two virtual pieces corresponding to the piece type icon are displayed, and after the user selects the first virtual piece in the at least two virtual pieces, the at least one marking control element is displayed. Different marking control elements correspond to different marking ranges. After the user selects the first marking control element in the at least one marking control element, the first virtual piece is marked within the first marking range corresponding to the first marking control element. Because the first virtual piece and the first marking range are selected, the first virtual piece required by the user can be marked precisely and quickly. This improves human-computer interaction efficiency. In addition, because a small quantity of virtual pieces correspond to the piece type icon, selecting the first virtual piece from the virtual pieces corresponding to the piece type icon consumes shorter time and is more convenient to operate compared to selecting required virtual pieces one by one from a large quantity of virtual pieces through a lineup editing function in one or more other implementations.

[0107] FIG. 5 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a computer device, and the computer device may be the terminal 110 in FIG. 1. The method includes at least one of the following operations:

[0108] Operation 410: Display, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon. In some examples, operation 410 in FIG. 5 corresponds to operation 410 in FIG. 4.

[0109] By way of example and not limitation, the piece type includes at least one of the following: a faction type, a play style type, and a tribe type. For example, the faction type includes: Great Wall, Federation, Empire, Kingdom, Northland, and the like. The play style type includes: Assassin, Mage, Warrior, Swordsman, Rogue Fighter, Knight, Ranger, and the like. The tribe type include: Little Bee, Flower Fairy, Dragon, Robot, Fairy, Flame Demon, and the like. The piece type may further include another type. This is not limited in this disclosure. Correspondingly, the piece type icon includes at least one of the following: a faction type icon indicating a faction type, a play style type icon indicating a play style type, and a tribe type icon indicating a tribe type.

[0110] In some embodiments, operation 410 includes at least one of the following: displaying, in response to a selection operation for the faction type icon, at least two virtual pieces corresponding to the faction type icon, piece types of the at least two virtual pieces being the faction type; displaying, in response to a selection operation for the play style type icon, at least two virtual pieces corresponding to the play style type icon, piece types of the at least two virtual pieces being the play style type; and displaying, in response to a selection operation for the tribe type icon, at least two virtual pieces corresponding to the tribe type icon, piece types of the at least two pieces being the tribe type.

[0111] The selection operation may be a long-press operation. When the at least two virtual pieces corresponding to the piece type icon are displayed, because there are a plurality of piece types, the plurality of piece types may be displayed in at least one manner of a sector wheel, a circular wheel, and a list. The at least two virtual pieces may be displayed as at least one of avatars, nicknames, and character images. In some embodiments, in response to a long-press operation for the piece type icon, avatars of the at least two virtual pieces corresponding to the piece type are displayed through a sector wheel. Alternatively, in response to the long-press operation for the piece type icon, avatars of the at least two virtual pieces corresponding to the piece type icon are displayed through a circular wheel. Alternatively, in response to the long-press operation for the piece type icon, avatars of the at least two virtual pieces corresponding to the piece type icon are displayed through a list.

[0112] In some embodiments, before operation 410, the method further includes: displaying a match interface, the match interface including the piece type icon.

[0113] The piece type icon is located on the match interface, and results of operations for the piece type icon are all displayed on the match interface. Compared with one or more other implementations in which an interface corresponding to a lineup editing function needs to be opened to mark a virtual piece, the process is simpler.

[0114] Operation 422: Display, in response to a selection operation for a first virtual piece, at least one of the following marking control elements: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts, the another account referring to all accounts except the account of the friendly party in a current match (e.g., of a non-friendly party), and all the accounts including the account of the friendly party and the another account.

[0115] In some examples, the displayed match interface is associated with a current account in a current match. In some examples, the display of the at least one marking control element when the piece selection operation is received includes displaying at least one of a marking control element corresponding to marking of the first virtual piece possessed by a first other account in the current match that is of a non-friendly party; a marking control element corresponding to marking of the first virtual piece possessed by a second other account in the current match that is of a friendly party; and a marking control element corresponding to marking of the first virtual piece possessed by a third account in the current match.

[0116] As shown in FIG. 2, an example in which the account F is the account of the friendly party the another account includes seven accounts except the account F among the account A to the account H, and all the accounts include a total of eight accounts, namely, the account A to the account H.

[0117] For example, a plurality of human-shaped icons represent the marking control element configured to mark the first virtual piece of the another account. A plurality of poker card-style icons represent the marking control element configured to mark the first virtual piece of the account of the friendly party. An icon formed by three squares and one circle represents the marking control element configured to mark the first virtual pieces of all the accounts.

[0118] In some embodiments, the marking control element may further include a marking control element configured to mark a first virtual piece of a specified account.

[0119] In an embodiment, the specified account includes at least one of the following: an account that ranks the first; an account that ranks before the jth place, j being a settable value; and an account that ranks higher than the account of the friendly party. The ranking order is sorted in a descending order of remaining health values corresponding to the accounts.

[0120] An example in which the selected first marking control element is the marking control element configured to mark the first virtual piece of the another account is used. Operation 432 is performed.

[0121] Operation 432: Mark, in response to a selection operation for the marking control element configured to mark the first virtual piece of the another account, the first virtual piece within a first marking range, the first marking range including at least one of the following: another battle area; and another battle preparation area; and the another battle area being configured for the another account to deploy a virtual piece engaging in battle in a current round of match, and the another battle preparation area being configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0122] In some examples, the first marking control element is the marking control element corresponding to marking of the first virtual piece possessed by the first other account. In some examples, the first marking range includes at least one of a non-friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in a current round of the current match by the first other account is permissible, and a non-friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the first other account is permissible.

[0123] In some embodiments, in a case that the first virtual piece of the another account is marked, the first virtual piece from the perspective of the account of the friendly party is in a marked state, and the first virtual piece from the perspective of the another account is in a normal state.

[0124] For example, the first virtual piece is marked by highlighting the first virtual piece. The first virtual piece from the perspective of the account of the friendly party is in a highlighted display state, but the first virtual piece from the perspective of the another account is not in a highlighted display state.

[0125] Operation 440: Mark, in response to the selection operation for the marking control element configured to mark the first virtual piece of the another account, the another account holding the first virtual piece. In some examples, the first other account that has the first virtual piece in possession is marked when the marking selection operation on the first marking control element is received.

[0126] A manner of marking the another account holding the first virtual piece may be marking at least one of an avatar, a nickname, and a character image of the another account. In some embodiments, in response to the selection operation for the marking control element configured to mark the first virtual piece of the another account, the avatar of the another account holding the first virtual piece is marked.

[0127] FIG. 6 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure. An example in which the first virtual piece is a virtual piece A is used. After the user selects the marking control element configured to mark the first virtual piece of the another account, an avatar of an account E and an avatar of an account H that hold the virtual piece A are highlighted. In one or more embodiments of this disclosure, highlighted display is implemented by adding thick borders around the avatar of the account E and the avatar of the account H.

[0128] Operation 450: Display the another battle area and the another battle preparation area in response to a tap operation for the another account holding the first virtual piece, the another battle area and / or the another battle preparation area including the marked first virtual piece.

[0129] One match includes a plurality of rounds, and each round of the match includes two phases: a battle preparation phase and a battle phase. The battle preparation phase is configured for the user to determine types and a quantity of virtual pieces to be deployed, positions of the virtual pieces on a chessboard, and the like. The battle phase refers to a phase in which virtual pieces of both parties engaging in battle automatically battle against each other on the chessboard. When virtual pieces of a party are all defeated, a current round of battle ends, and health points of a chess player character corresponding to the party are deducted by a specified value.

[0130] In the battle preparation phase and the battle phase, the user may view the battle area and the battle preparation area of the friendly party. The battle area of the friendly party is a battle area from the perspective of the account of the friendly party, and the battle preparation area of the friendly party is a battle preparation area from the perspective of the account of the friendly party. The user may further view, by tapping the avatar of the another account, the another battle area and the another battle preparation area that correspond to the another account. The another battle area is a battle area from the perspective of the another account, and the another battle preparation area is a battle preparation area from the perspective of the another account.

[0131] For example, in FIG. 6, before the user taps the avatar of the account H, a battle preparation area 210 and a battle area 240 of the friendly party are displayed on a user interface. The battle preparation area 210 of the friendly party is a battle preparation area from the perspective of the account of the friendly party, and the battle area 240 of the friendly party is a battle area from the perspective of the account of the friendly party. After the user taps the avatar of the account H, another battle area 620 and another battle preparation area 610 that correspond to the account H are displayed. The another battle area 620 is a battle area from the perspective of the account H, and the another battle preparation area 610 is a battle preparation area from the perspective of the account H.

[0132] An example in which the first virtual piece is a virtual piece A is used. The another battle area 620 includes a virtual piece C and a highlighted (marked) virtual piece A, and the another battle preparation area 610 includes a virtual piece B. In one or more embodiments of this disclosure, highlighted display is implemented by adding a thick border around the virtual piece A.

[0133] Based on the foregoing, according to the method provided in this embodiment, at least one of different types of first marking control elements is displayed in response to the selection operation for the first virtual piece, to provide the user with a function of selecting a marking range. In this way, the user can subsequently select an appropriate first marking range according to a requirement to mark the first virtual piece.

[0134] According to the method provided in this embodiment, the first virtual piece is marked within the first marking range in response to the selection operation for the marking control element configured to mark the first virtual piece of the another account, and the another account holding the first virtual piece is marked. This helps the user quickly view a situation of the another account. In this way, the user can adjust counter-strategies in a timely manner based on a quantity of first virtual pieces held by the another account, to increase likelihood of victory of the user.

[0135] FIG. 7 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a computer device, and the computer device may be the terminal 110 in FIG. 1. The method includes at least one of the following operations:

[0136] Operation 410: Display, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon. In some examples, operation 410 in FIG. 7 corresponds to operation 410 in FIG. 5.

[0137] Operation 422: Display, in response to a selection operation for the first virtual piece, at least one of the following marking control elements: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts.

[0138] In some examples, operation 422 in FIG. 7 corresponds to operation 422 in FIG. 5. For further implementation details, refer to operation 422 in FIG. 5. Details are not described herein again.

[0139] An example in which the selected first marking control element is the marking control element configured to mark the first virtual piece of the account of the friendly party is used. Operation 434 is performed.

[0140] Operation 434: Mark, in response to a selection operation for the marking control element configured to mark the first virtual piece of the account of the friendly party, the first virtual piece within a first marking range. For example, the first marking control element is the marking control element corresponding to marking of the first virtual piece possessed by the second other account.

[0141] The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; and a virtual store. The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece.

[0142] In some examples, the first marking range includes at least one of a friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in a current round of the current match by the second other account is permissible, a friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the second other account is permissible, and a virtual store corresponding to an area in which a to-be-selected virtual piece is provided.

[0143] FIG. 8 is a schematic diagram of a virtual piece marking method according to an embodiment of this disclosure. An example in which the first virtual piece is a virtual piece A is used. After a user selects the marking control element configured to mark the first virtual piece of the account of the friendly party, the virtual piece A in a battle area 240 of the friendly party, the virtual piece A in a battle preparation area 210 of the friendly party, and the virtual piece A in a virtual store 260 are highlighted. In one or more embodiments of this disclosure, highlighted display is implemented by adding thick borders around the virtual piece A and a piece card corresponding to the virtual piece A in the virtual store.

[0144] Based on the foregoing, according to the method provided in this embodiment, the first virtual piece is marked within the first marking range in response to the selection operation for the marking control element configured to mark the first virtual piece of the account of the friendly party. This improves recognizability of the first virtual piece from the perspective of the account of the friendly party, to help the user obtain the first virtual piece from the virtual store and improve human-computer interaction efficiency.

[0145] FIG. 9 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a computer device, and the computer device may be the terminal 110 in FIG. 1. The method includes at least one of the following operations:

[0146] Operation 410: Display, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon. In some examples, operation 410 in FIG. 7 corresponds to operation 410 in FIG. 5.

[0147] Operation 422: Display, in response to a selection operation for a first virtual piece, at least one of the following marking control elements: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts.

[0148] In some examples, operation 422 in FIG. 7 corresponds to operation 422 in FIG. 5. For further implementation details, refer to operation 422 in FIG. 5. Details are not described herein again.

[0149] An example in which the selected first marking control element is the marking control element configured to mark the first virtual pieces of all the accounts is used. Operation 436 is performed.

[0150] Operation 436: Mark, in response to a selection operation for the marking control element configured to mark the first virtual pieces of all the accounts, the first virtual piece within a first marking range, the first marking range including at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; a virtual store; another battle area; and another battle preparation area.

[0151] The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in the current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0152] In some examples, the first marking control element is the marking control element corresponding to marking of the first virtual piece possessed by the third account in the current match. In some examples, the first marking range includes at least one of a friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in a current round of the current match by the third account is permissible when the third account is of the friendly party, a friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the third account is permissible when the third account is of the friendly party, a virtual store corresponding to an area in which a to-be-selected virtual piece is provided, a non-friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in the current round of the current match by the third account is permissible when the third account is of the non-friendly party, and a non-friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the third account is permissible when the third account is of the non-friendly party.

[0153] One match includes a plurality of rounds, and each round of the match includes two phases: a battle preparation phase and a battle phase. The battle preparation phase is configured for a user to determine types and a quantity of virtual pieces to be deployed, positions of the virtual pieces on a chessboard, and the like. The battle phase refers to a phase in which virtual pieces of both parties engaging in battle automatically battle against each other on the chessboard. When virtual pieces of a party are all defeated, a current round of battle ends, and health points of a chess player character corresponding to the party are deducted by a specified value.

[0154] In the battle preparation phase and the battle phase, the user may view the battle area and the battle preparation area of the friendly party. The battle area of the friendly party is a battle area from the perspective of the account of the friendly party, and the battle preparation area of the friendly party is a battle preparation area from the perspective of the account of the friendly party. The user may further view, by tapping an avatar of the another account, the another battle area and the another battle preparation area that correspond to the another account. The another battle area is a battle area from the perspective of the another account, and the another battle preparation area is a battle preparation area from the perspective of the another account.

[0155] As shown in FIG. 3, the user may view a battle area 240 of the friendly party, a battle preparation area 210 of the friendly party, and a virtual store 260. As shown in FIG. 6, the user may further view another battle area 620 and another battle preparation area 610 that correspond to an account H after tapping an avatar of the account H. The another battle area 620 is a battle area from the perspective of the account H, and the another battle preparation area 610 is a battle preparation area from the perspective of the account H.

[0156] For further implementation details, refer to examples shown in FIG. 5 and in FIG. 7. Details are not described herein again.

[0157] In some embodiments, the method further includes: marking, in response to a selection operation for the marking control element configured to mark the first virtual pieces of all the accounts, the another account holding the first virtual piece.

[0158] In some embodiments, the method further includes: displaying the another battle area and the another battle preparation area in response to a tap operation for the another account holding the first virtual piece.

[0159] For further implementation details, refer to examples shown in FIG. 5. Details are not described herein again.

[0160] For example, in FIG. 3, content displayed by a client further includes a virtual store 260. The virtual store 260 is configured to provide a to-be-selected virtual piece, such as one virtual piece A, three virtual pieces B, and one virtual piece C that are displayed in the form of cards. A piece card corresponding to the virtual piece A displays that piece types of the virtual piece A are Assassin and Shapeshifter, a piece card corresponding to the virtual piece B displays that piece types of the virtual piece B are Assassin and Brawler, and a piece card corresponding to the virtual piece C displays that piece types of the virtual piece C are Mage and Shapeshifter.

[0161] In response to the selection operation for the marking control element configured to mark the first virtual pieces of all the accounts, the virtual piece A in the virtual store 260, the virtual piece A in the battle area 240 of the friendly party, the virtual piece A in the battle preparation area 210 of the friendly party, and an avatar of an account H holding the virtual piece A are highlighted. In one or more embodiments of this disclosure, highlighted display is implemented by adding thick borders around the virtual piece A, the piece card corresponding to the virtual piece A in the virtual store, and the avatar of the another account.

[0162] Based on the foregoing, according to the method provided in this embodiment, the first virtual piece is marked within the first marking range in response to the selection operation for the marking control element configured to mark the first virtual pieces of all the accounts. This improves recognizability of the first virtual piece from the perspective of the account of the friendly party, to help the user obtain the first virtual piece from the virtual store and improve human-computer interaction efficiency. In addition, this helps the user quickly view a situation of the another account. In this way, the user can adjust counter-strategies in a timely manner based on a quantity of first virtual pieces held by the another account, to increase likelihood of victory of the user.

[0163] FIG. 10 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a computer device, and the computer device may be the terminal 110 in FIG. 1. The method includes at least one of the following operations:

[0164] Operation 412: Display, in response to a long-press operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon.

[0165] A selection operation for the piece type icon may be at least one of a long-press operation, a slide operation, and a double-tap operation. In some embodiments, in response to the long-press operation for the piece type icon, the at least two virtual pieces corresponding to the piece type icon are displayed in a case that time of the long-press operation is greater than or equal to a first time threshold; and no content is displayed in a case that the time of the long-press operation is less than the first time threshold. For example, in a case that the time of the long-press operation is equal to 1 second, avatars of all virtual pieces corresponding to the piece type icon are displayed; and in a case that the time of the long-press operation is less than 1 second, no content is displayed.

[0166] In addition to the long-press operation, the selection operation may further include another operation such as a slide operation or a double-tap operation. In one or more embodiments of this disclosure, the long-press operation is described as an example, and a specific operation is not limited. When the another operation is performed, the long-press operation is replaced with the another operation.

[0167] Operation 428: Display at least one to-be-selected marking control element in response to a long-press operation for a first virtual piece.

[0168] In some embodiments, in response to the long-press operation for the first virtual piece, the at least one to-be-selected marking control element is displayed in a case that time of the long-press operation is greater than or equal to a second time threshold; and no content is displayed in a case that the time of the long-press operation is less than the second time threshold. For example, in a case that the time of the long-press operation is equal to 1 second, the at least one to-be-selected marking control element is displayed; and in a case that the time of the long-press operation is less than 1 second, no content is displayed.

[0169] In an embodiment, the first time threshold and the second time threshold are the same or different, and may be set according to an actual technical requirement.

[0170] In addition to the long-press operation, the selection operation may further include another operation such as a slide operation or a double-tap operation. In one or more embodiments of this disclosure, the long-press operation is described as an example, and a specific operation is not limited.

[0171] Operation 430: Mark, in response to a selection operation for a first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element.

[0172] A manner of displaying and / or marking the first virtual piece within the first marking range corresponding to the first marking control element may be displaying and / or marking in at least one manner of highlighting, a dynamic special effect, a different color, and text information.

[0173] In some embodiments, operation 430 includes at least one of the following: highlighting, in response to the selection operation for the first marking control element, the first virtual piece within the first marking range corresponding to the first marking control element; and displaying, in response to the selection operation for the first marking control element, the first virtual piece with a dynamic special effect within the first marking range corresponding to the first marking control element; displaying, in response to the selection operation for the first marking control element, the first virtual piece in a different color within the first marking range corresponding to the first marking control element; and marking, in response to the selection operation for the first marking control element, the first virtual piece through text information within the first marking range corresponding to the first marking control element.

[0174] In some examples, the marking the first virtual piece comprises at least one of highlighting the first virtual piece within the first marking range indicated by the first marking control element, displaying the first virtual piece with a dynamic special effect within the first marking range indicated by the first marking control element, displaying the first virtual piece in a different color within the first marking range indicated by the first marking control element, and marking the first virtual piece through text information within the first marking range indicated by the first marking control element.

[0175] For example, as shown in FIG. 3, in response to a selection operation for a marking control element configured to mark first virtual pieces of all accounts, a virtual piece A in a virtual store 260, a virtual piece A in a battle area 240 of a friendly party, a virtual piece A in a battle preparation area 210 of the friendly party, and an avatar of an account H holding a virtual piece A are highlighted. Alternatively, the first virtual piece is displayed with a dynamic special effect within the first marking range corresponding to the first marking control element. For example, the first virtual piece is displayed with a blinking special effect. Alternatively, a plurality of first virtual pieces are displayed in different colors within the first marking range corresponding to the first marking control element. For example, the first virtual pieces include a virtual piece A and a virtual piece B, a red border is displayed around the virtual piece A, and a blue border is displayed around the virtual piece B. Alternatively, the first virtual piece is marked through text information within the first marking range corresponding to the first marking control element. For example, a text box is displayed around the first virtual piece, and the text box includes text information “Take care”.

[0176] In some embodiments, the method further includes: marking the piece type icon in response to the selection operation for the first marking control element. For example, the piece type icon is marked when the marking selection operation on the first marking control element is received. A manner of marking the piece type icon may be at least one of highlighting, a dynamic special effect, a different color, and text information. As shown in FIG. 6, an example in which the first virtual piece is a virtual piece A of a piece type “Shapeshifter” is used. In response to the selection operation for the first marking control element, a “Shapeshifter” piece type icon is highlighted. In the embodiments of this disclosure, highlighted display is implemented by adding a thick border around the “Shapeshifter” piece type icon.

[0177] Based on the foregoing, according to the method provided in this embodiment, the piece type icon and the first virtual piece are selected in response to the long-press operations, and the corresponding time thresholds are set. This reduces the problem that a user accidentally touches the piece type icon and the first virtual piece, and reduces the impact of the virtual piece marking method on a user who does not require virtual piece marking.

[0178] According to the method provided in this embodiment, the piece type icon is marked in response to the selection operation for the first marking control element. This improves recognizability of the piece type icon, and helps the user confirm the currently marked first virtual piece and the piece type. According to the method provided in this embodiment, different manners of marking the first virtual piece expand the scope of application of the virtual piece marking method. In this way, different implementation methods can be provided according to requirements and scenarios.

[0179] FIG. 11 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a computer device, and the computer device may be the terminal 110 in FIG. 1. Compared with examples shown in FIG. 4, the method further includes the following operations:

[0180] Operation 460: Cancel marking of the first virtual piece in response to a double-tap operation for the piece type icon. For example, marking of the first virtual piece is canceled when a double-click or double-tap operation on the piece type icon is received.

[0181] In some embodiments, the first virtual piece is no longer highlighted in response to the double-tap operation for the piece type icon. Alternatively, the first virtual piece is no longer displayed with a dynamic special effect in response to the double-tap operation for the piece type icon. Alternatively, the first virtual piece is no longer displayed in a different color in response to the double-tap operation for the piece type icon. Alternatively, the first virtual piece is no longer displayed through text information in response to the double-tap operation for the piece type icon.

[0182] In addition to the double-tap operation, the selection operation may further include another operation such as a slide operation and a tap operation. In one or more embodiments of this disclosure, the double-tap operation is described as an example, and a specific operation is not limited.

[0183] FIG. 12 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. An example in which the user selects the marking control element configured to mark the first virtual piece of the another account and the first virtual piece is a virtual piece A of a piece type “Shapeshifter”.

[0184] Before the user double-taps a “Shapeshifter” piece type icon, because an account E and an account H hold a virtual piece A, an avatar of the account E and an avatar of the account H are highlighted within an account avatar display area 220. In addition, the “Shapeshifter” piece type icon within a piece type display area 230 is highlighted.

[0185] After the user double-taps the “Shapeshifter” piece type icon, marking of the virtual piece A is canceled. In some examples, the avatar of the account E and the avatar of the account H are no longer highlighted, and the “Shapeshifter” piece type icon is no longer highlighted.

[0186] Based on the foregoing, according to the method provided in this embodiment, marking of the first virtual piece is canceled in response to the double-tap operation for the piece type icon. This reduces the impact on the user in a case that the user does not require marking of the first virtual piece, and reduces interference of the first virtual piece with subsequent operations of the user.

[0187] In the foregoing embodiments, the operations with a same number may be considered as a same operation. Examples corresponding to FIG. 4, FIG. 5, FIG. 7, FIG. 9, FIG. 10, and FIG. 11 may be independently implemented, or may be implemented in a combination. This is not limited in this disclosure.

[0188] To implement the foregoing embodiments, the following describes a technical implementation method of the virtual piece marking method.

[0189] FIG. 13 is a flowchart of a virtual piece marking method according to an embodiment of this disclosure. The method is performed by a client, and the method includes at least one of the following operations:

[0190] Operation 1310: The client receives a long-press signal for a piece type icon. In some examples, the type selection operation includes a long-press operation on the piece type icon.

[0191] In some embodiments, the long-press signal is generated based on a long-press operation performed by a user for the piece type icon.

[0192] The piece type icon is an icon indicating a piece type. The piece type may alternatively be referred to as piece synergy (synergy for short). Each virtual piece corresponds to at least two types of synergy, and the synergy may provide additional combat power to the virtual piece. Activating the synergy requires simultaneously deploying at least two virtual pieces having the synergy.

[0193] Operation 1320: The client determines whether long-press time is less than a first threshold. In some examples, the long-press operation corresponds to a duration of a press operation being greater than or equal to a first time threshold.

[0194] In some embodiments, the first threshold is a settable value. For example, the first threshold is set to 1 second.

[0195] In a case that it is determined that the long-press time is less than the first threshold, operation 1362 is performed; and in a case that it is determined that the long-press time is greater than or equal to the first threshold, operation 1330 is performed.

[0196] Operation 1330: The client displays at least two virtual pieces (e.g., display of the corresponding piece avatars) corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece.

[0197] In one or more embodiments of this disclosure, displaying a virtual piece includes: various display manners such as displaying an avatar of the virtual piece; displaying a full image of the virtual piece; and displaying text corresponding to the virtual piece. In one or more embodiments of this disclosure, displaying an avatar of a virtual piece is described as an example, and the display manner is not limited.

[0198] Operation 1340: The client receives a selection signal for a first virtual piece, and displays at least one to-be-selected marking control element, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element.

[0199] In some embodiments, the selection signal is generated based on a tap operation performed by the user for the first virtual piece.

[0200] In some embodiments, the selection signal is generated based on a long-press operation performed by the user for the first virtual piece. In some examples, a piece selection operation includes a long-press operation on the one of the at least two piece avatars. In some examples, the long-press operation corresponds to a duration of a press operation being greater than or equal to a second time threshold.

[0201] Operation 1350: The client determines whether a first marking control element is selected.

[0202] In a case that it is determined that the first marking control element is not selected, operation 1362 is performed; and in a case that it is determined that the first marking control element is selected, operation 1360 is performed.

[0203] Operation 1360: The client performs a corresponding operation based on the selected first marking control element.

[0204] In some embodiments, the first marking control element includes at least one of the following: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts. The another account refers to all accounts except the account of the friendly party in a current match, and all the accounts include the account of the friendly party and the another account.

[0205] In a case that the marking control element configured to mark the first virtual piece of the account of the friendly party is selected, operation 1372 is performed; in a case that the marking control element configured to mark the first virtual pieces of all the accounts is selected, operation 1374 is performed; and in a case that the marking control element configured to mark the first virtual piece of the another account is selected, operation 1376 is performed.

[0206] Operation 1372: The client marks the first virtual piece within a first range, the first range including at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; and a virtual store; the battle area of the friendly party being configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party being configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match; and the virtual store is configured to provide a to-be-selected virtual piece.

[0207] In some embodiments, the client further marks the piece type icon.

[0208] Operation 1374: The client determines whether the another account holds the first virtual piece.

[0209] In some embodiments, the client determines, by reading data in a server, whether the another account holds the first virtual piece. The data in the server includes data of a virtual piece held by the another account.

[0210] In a case that it is determined that the another account holds the first virtual piece, operation 1384 is performed; and in a case that it is determined that the another account does not hold the first virtual piece, operation 1372 is performed.

[0211] Operation 1384: The client marks the first virtual piece within a second range, the second range including at least one of the following: a battle area of a friendly party; a battle preparation area of the friendly party; a virtual store; another battle area; and another battle preparation area.

[0212] The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in the current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0213] In some embodiments, the client further marks the piece type icon.

[0214] Operation 1376: The client determines whether the another account holds the first virtual piece.

[0215] In a case that it is determined that the another account holds the first virtual piece, operation 1386 is performed; and in a case that it is determined that the another account does not hold the first virtual piece, operation 1362 is performed.

[0216] Operation 1386: The client marks the first virtual piece within a third range, the third range including at least one of the following: another battle area; and another battle preparation area; and the another battle area being configured for the another account to deploy a virtual piece engaging in battle in a current round of match, and the another battle preparation area being configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0217] In some embodiments, the client further marks an avatar of the another account holding the first virtual piece.

[0218] In some embodiments, the client further marks the piece type icon.

[0219] Operation 1390: The client receives a cancellation signal for the piece type icon, and cancels marking of the first virtual piece.

[0220] In some embodiments, the cancellation signal is generated based on a double-tap operation performed by the user for the piece type icon.

[0221] After canceling marking of the first virtual piece, the client normally displays other elements of a user interface.

[0222] Operation 1362: End.

[0223] In a case that the client determines that long-press time is less than a first threshold, the virtual piece marking method is not triggered, and the client normally displays other elements of the user interface.

[0224] In a case that the client determines that the first marking control element is not selected, the virtual piece marking method is not triggered, and the client normally displays other elements of the user interface.

[0225] In a case that the client determines that the another account does not hold the first virtual piece, the virtual piece marking method is not triggered, and the client normally displays other elements of the user interface.

[0226] The foregoing embodiments are described by using an example in which the virtual piece marking method is applied to a smartphone scenario. In some embodiments, the virtual piece marking method is further applicable to a mouse and keyboard scenario or a gamepad scenario.Mouse and Keyboard Scenario

[0227] In some embodiments, a virtual piece marking method is performed by a client connected to a mouse and a keyboard, and the method includes: displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece; displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element; and marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element.

[0228] In some embodiments, the displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece includes: displaying, in response to a selection operation performed through a mouse for the first virtual piece, at least one of the following marking control elements: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts, the another account referring to all accounts except the account of the friendly party in a current match, and all the accounts including the account of the friendly party and the another account.

[0229] In some embodiments, the first marking control element is the marking control element configured to mark the first virtual piece of the another account, and the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes: marking, in response to a selection operation performed through the mouse for the marking control element configured to mark the first virtual piece of the another account, the first virtual piece within the first marking range. The first marking range includes at least one of the following: another battle area; and another battle preparation area. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in a current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0230] In some embodiments, the method further includes: marking, in response to the selection operation for the marking control element configured to mark the first virtual piece of the another account, the another account holding the first virtual piece.

[0231] In some embodiments, the method further includes: displaying the another battle area and the another battle preparation area in response to a click operation performed through the mouse for the another account holding the first virtual piece, the another battle area and / or the another battle preparation area including the marked first virtual piece.

[0232] In some embodiments, the first marking control element is the marking control element configured to mark the first virtual piece of the account of the friendly party, and the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes: marking, in response to a selection operation performed through the mouse for the marking control element configured to mark the first virtual piece of the account of the friendly party, the first virtual piece within the first marking range. The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; and a virtual store; The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece.

[0233] In some embodiments, the first marking control element is the marking control element configured to mark the first virtual pieces of all the accounts, and the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes: marking, in response to a selection operation performed through the mouse for the marking control element configured to mark the first virtual pieces of all the accounts, the first virtual piece within the first marking range. The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; a virtual store; another battle area; and another battle preparation area.

[0234] The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in the current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0235] In some embodiments, the method further includes: marking the piece type icon in response to the selection operation for the first marking control element.

[0236] In some embodiments, the displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon includes: displaying, in response to a long-press operation performed through the mouse for the piece type icon, the at least two virtual pieces corresponding to the piece type icon.

[0237] In some embodiments, the displaying, in response to a long-press operation performed through the mouse for the piece type icon, the at least two virtual pieces corresponding to the piece type icon includes: displaying, in response to the long-press operation performed through the mouse for the piece type icon, the at least two virtual pieces corresponding to the piece type icon in a case that time of the long-press operation is greater than or equal to a first time threshold.

[0238] In some embodiments, the displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece includes: displaying the at least one to-be-selected marking control element in response to a long-press operation performed through the mouse for the first virtual piece.

[0239] In some embodiments, the displaying at least one to-be-selected marking control element in response to a long-press operation performed through the mouse for the first virtual piece includes: displaying, in response to the long-press operation performed through the mouse for the first virtual piece, the at least one to-be-selected marking control element in a case that time of the long-press operation is greater than or equal to a second time threshold.

[0240] In some embodiments, the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes at least one of the following: highlighting, in response to the selection operation for the first marking control element, the first virtual piece within the first marking range corresponding to the first marking control element; displaying, in response to the selection operation for the first marking control element, the first virtual piece with a dynamic special effect within the first marking range corresponding to the first marking control element; displaying, in response to the selection operation for the first marking control element, the first virtual piece in a different color within the first marking range corresponding to the first marking control element; and marking, in response to the selection operation for the first marking control element, the first virtual piece through text information within the first marking range corresponding to the first marking control element.

[0241] In some embodiments, the method further includes: canceling marking of the first virtual piece in response to a double-click operation performed through the mouse for the piece type icon.

[0242] In some embodiments, the displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon includes at least one of the following:

[0243] displaying, in response to a selection operation for a faction type icon, at least two virtual pieces corresponding to the faction type icon;

[0244] displaying, in response to a selection operation for a play style type icon, at least two virtual pieces corresponding to the play style type icon; and

[0245] displaying, in response to a selection operation for a tribe type icon, at least two virtual pieces corresponding to the tribe type icon.

[0246] For further implementation details, refer to the foregoing embodiments in the smartphone scenario. Details are not described herein again.Gamepad Scenario

[0247] In some embodiments, a virtual piece marking method is performed by a client connected to a gamepad, and the method includes: displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece; displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element; and marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element.

[0248] In some embodiments, an operation apparatus on the gamepad includes, but is not limited to, a joystick and a confirm button. The displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece includes: displaying, in response to a selection operation performed through the joystick and the confirm button for the first virtual piece, at least one of the following marking control elements: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts, the another account referring to all accounts except the account of the friendly party in a current match, and all the accounts including the account of the friendly party and the another account.

[0249] In some embodiments, the first marking control element is the marking control element configured to mark the first virtual piece of the another account, and the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes: marking, in response to a selection operation performed through the joystick and the confirm button for the marking control element configured to mark the first virtual piece of the another account, the first virtual piece within the first marking range. The first marking range includes at least one of the following: another battle area; and another battle preparation area. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in a current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0250] In some embodiments, the method further includes: marking, in response to the selection operation performed through the joystick and the confirm button for the marking control element configured to mark the first virtual piece of the another account, the another account holding the first virtual piece.

[0251] In some embodiments, the method further includes: displaying the another battle area and the another battle preparation area in response to a click operation performed through the joystick and the confirm button for the another account holding the first virtual piece, the another battle area and / or the another battle preparation area including the marked first virtual piece. In some examples, the non-friendly battle area and the non-friendly battle preparation area are displayed when a click or tap operation indicating the first other account is received. The non-friendly battle area or the non-friendly battle preparation area includes the marked first virtual piece.

[0252] In some embodiments, the first marking control element is the marking control element configured to mark the first virtual piece of the account of the friendly party, and the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes: marking, in response to a selection operation performed through the joystick and the confirm button for the marking control element configured to mark the first virtual piece of the account of the friendly party, the first virtual piece within the first marking range. The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; and a virtual store; The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece.

[0253] In some embodiments, the first marking control element is the marking control element configured to mark the first virtual pieces of all the accounts, and the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes: marking, in response to a selection operation performed through the joystick and the confirm button for the marking control element configured to mark the first virtual pieces of all the accounts, the first virtual piece within the first marking range. The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; a virtual store; another battle area; and another battle preparation area.

[0254] The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in the current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0255] In some embodiments, the method further includes: marking the piece type icon in response to the selection operation for the first marking control element.

[0256] In some embodiments, an operation apparatus on the gamepad includes, but is not limited to, a confirm key. The displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon includes: displaying, in response to a long-press operation performed through the confirm button for the piece type icon, the at least two virtual pieces corresponding to the piece type icon.

[0257] In some embodiments, the displaying, in response to a long-press operation performed through the confirm button for the piece type icon, the at least two virtual pieces corresponding to the piece type icon includes: displaying, in response to the long-press operation performed through the confirm button for the piece type icon, the at least two virtual pieces corresponding to the piece type icon in a case that time of the long-press operation is greater than or equal to a first time threshold.

[0258] In some embodiments, an operation apparatus on the gamepad includes, but is not limited to, a confirm button. The displaying at least one to-be-selected marking control element in response to a selection operation for the first virtual piece includes: displaying the at least one to-be-selected marking control element in response to a long-press operation performed through the confirm button for the first virtual piece.

[0259] In some embodiments, the displaying at least one to-be-selected marking control element in response to a long-press operation performed through the confirm button for the first virtual piece includes: displaying, in response to the long-press operation performed through the confirm button for the first virtual piece, the at least one to-be-selected marking control element in a case that time of the long-press operation is greater than or equal to a second time threshold.

[0260] In some embodiments, the marking, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element includes at least one of the following: highlighting, in response to the selection operation for the first marking control element, the first virtual piece within the first marking range corresponding to the first marking control element; displaying, in response to the selection operation for the first marking control element, the first virtual piece with a dynamic special effect within the first marking range corresponding to the first marking control element; displaying, in response to the selection operation for the first marking control element, the first virtual piece in a different color within the first marking range corresponding to the first marking control element; and marking, in response to the selection operation for the first marking control element, the first virtual piece through text information within the first marking range corresponding to the first marking control element.

[0261] In some embodiments, an operation apparatus on the gamepad includes, but is not limited to, a cancel button, and the method further includes:

[0262] canceling marking of the first virtual piece in response to a click operation performed through the cancel button for the piece type icon.

[0263] In some embodiments, the displaying, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon includes at least one of the following:

[0264] displaying, in response to a selection operation for a faction type icon, at least two virtual pieces corresponding to the faction type icon;

[0265] displaying, in response to a selection operation for a play style type icon, at least two virtual pieces corresponding to the play style type icon; and

[0266] displaying, in response to a selection operation for a tribe type icon, at least two virtual pieces corresponding to the tribe type icon.

[0267] For further implementation details, refer to the foregoing embodiments in the smartphone scenario. Details are not described herein again.

[0268] FIG. 14 is a block diagram of a virtual piece marking apparatus according to an embodiment of this disclosure. The apparatus may be implemented as a computer device or a part of a computer device by using software, hardware, or a combination of hardware and software. The apparatus includes:

[0269] a display module 1410, configured to display, in response to a selection operation for a piece type icon, at least two virtual pieces corresponding to the piece type icon, the at least two virtual pieces being of a piece type corresponding to the piece type icon, and the at least two virtual pieces including a first virtual piece; and

[0270] the display module 1410 being further configured to display at least one to-be-selected marking control element in response to a selection operation for the first virtual piece, the at least one marking control element indicating a marking range for the first virtual piece, and the at least one marking control element including a first marking control element; and

[0271] a marking module 1420, configured to mark, in response to a selection operation for the first marking control element, the first virtual piece within a first marking range corresponding to the first marking control element.

[0272] In a possible design of this embodiment, the display module 1410 is configured to display, in response to the selection operation for the first virtual piece, at least one of the following marking control elements: a marking control element configured to mark a first virtual piece of another account; a marking control element configured to mark a first virtual piece of an account of a friendly party; and a marking control element configured to mark first virtual pieces of all accounts.

[0273] The another account refers to all accounts except the account of the friendly party in a current match, and all the accounts include the account of the friendly party and the another account.

[0274] In a possible design of this embodiment, the first marking control element is the marking control element configured to mark the first virtual piece of the another account, and the marking module 1420 is configured to mark, in response to a selection operation for the marking control element configured to mark the first virtual piece of the another account, the first virtual piece within the first marking range.

[0275] The first marking range includes at least one of the following: another battle area; and another battle preparation area. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in a current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0276] In a possible design of this embodiment, the marking module 1420 is further configured to mark, in response to the selection operation for the marking control element configured to mark the first virtual piece of the another account, the another account holding the first virtual piece.

[0277] In a possible design of this embodiment, the display module 1410 is further configured to display the another battle area and the another battle preparation area in response to a click / tap operation for the another account holding the first virtual piece.

[0278] The another battle area and / or the another battle preparation area include the marked first virtual piece.

[0279] In a possible design of this embodiment, the first marking control element is the marking control element configured to mark the first virtual piece of the account of the friendly party, and the marking module 1420 is configured to mark, in response to a selection operation for the marking control element configured to mark the first virtual piece of the account of the friendly party, the first virtual piece within the first marking range.

[0280] The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; and a virtual store; The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece.

[0281] In a possible design of this embodiment, the first marking control element is the marking control element configured to mark the first virtual pieces of all the accounts, and the marking module 1420 is configured to mark, in response to a selection operation for the marking control element configured to mark the first virtual pieces of all the accounts, the first virtual piece within the first marking range.

[0282] The first marking range includes at least one of the following: a battle area of the friendly party; a battle preparation area of the friendly party; a virtual store; another battle area; and another battle preparation area.

[0283] The battle area of the friendly party is configured for the account of the friendly party to deploy a virtual piece engaging in battle in a current round of match, and the battle preparation area of the friendly party is configured for the account of the friendly party to deploy a virtual piece not engaging in battle in the current round of match. The virtual store is configured to provide a to-be-selected virtual piece. The another battle area is configured for the another account to deploy a virtual piece engaging in battle in the current round of match, and the another battle preparation area is configured for the another account to deploy a virtual piece not engaging in battle in the current round of match.

[0284] In a possible design of this embodiment, the marking module 1420 is further configured to mark the piece type icon in response to the selection operation for the first marking control element.

[0285] In a possible design of this embodiment, the display module 1410 is configured to display, in response to a long-press operation for the piece type icon, the at least two virtual pieces corresponding to the piece type icon.

[0286] In a possible design of this embodiment, the display module 1410 is configured to display, in response to the long-press operation for the piece type icon, the at least two virtual pieces corresponding to the piece type icon in a case that time of the long-press operation is greater than or equal to a first time threshold.

[0287] In a possible design of this embodiment, the display module 1410 is configured to display the at least one to-be-selected marking control element in response to a long-press operation for the first virtual piece.

[0288] In a possible design of this embodiment, the display module 1410 is configured to display, in response to the long-press operation for the first virtual piece, the at least one to-be-selected marking control element in a case that time of the long-press operation is greater than or equal to a second time threshold.

[0289] In a possible design of this embodiment, the marking module 1420 is configured to highlight, in response to the selection operation for the first marking control element, the first virtual piece within the first marking range corresponding to the first marking control element;

[0290] display, in response to the selection operation for the first marking control element, the first virtual piece with a dynamic special effect within the first marking range corresponding to the first marking control element;

[0291] display, in response to the selection operation for the first marking control element, the first virtual piece in a different color within the first marking range corresponding to the first marking control element; and

[0292] mark, in response to the selection operation for the first marking control element, the first virtual piece through text information within the first marking range corresponding to the first marking control element.

[0293] In a possible design of this embodiment, a cancellation module 1430 is configured to cancel marking of the first virtual piece in response to a double-click / double-tap operation for the piece type icon.

[0294] In a possible design of this embodiment, the display module 1410 is configured to display, in response to a selection operation for a faction type icon, at least two virtual pieces corresponding to the faction type icon; display, in response to a selection operation for a play style type icon, at least two virtual pieces corresponding to the play style type icon; and display, in response to a selection operation for a tribe type icon, at least two virtual pieces corresponding to the tribe type icon.

[0295] This embodiment is described by using one display module 1410, one marking module 1420, and one cancellation module 1430 as an example. Quantities of the display module 1410, the marking module 1420, and the cancellation module 1430 are not limited.

[0296] For description of functions of the display module 1410, refer to content of operation 410 and operation 420 in FIG. 4, content of operation 422 and operation 450 in FIG. 5, and content of operation 412 and operation 428 in FIG. 10.

[0297] For description of functions of the marking module 1420, refer to content of operation 430 n FIG. 4, content of operation 432 and operation 440 in FIG. 5, content of operation 434 in FIG. 7, and content of operation 436 in FIG. 9.

[0298] For description of functions of the cancellation module 1430, refer to content of operation 460 in FIG. 11.

[0299] This disclosure further describe a computer device. The computer device includes: a processor and a memory. The memory has at least one program stored therein; and the processor is configured to execute the at least one program in the memory to implement the virtual piece marking method provided in the foregoing method embodiments.

[0300] FIG. 15 is a structural block diagram of a computer device 1500 according to an embodiment of this disclosure. Typically, a computer device 1500 includes: processing circuitry (e.g., a processor 1501) and a memory 1502.

[0301] The processor 1501 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 1501 may be implemented by using at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1501 may alternatively include a main processor and a co-processor. The main processor is a processor configured to process data in an awake state, and is also referred to as a central processing unit (CPU). The co-processor is a low-power processor configured to process data in a standby state. In some embodiments, the processor 1501 may include a graphics processing unit (GPU). The GPU is configured to render and draw content that needs to be displayed on a display screen. In some embodiments, the processor 1501 may further include an artificial intelligence (AI) processor. The AI processor is configured to process computational operations related to machine learning.

[0302] The memory 1502 may include one or more computer-readable storage media. The computer-readable storage media may be non-transitory. The memory 1502 may further include a high-speed random access memory, and a non-volatile memory, such as one or more magnetic disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is configured to store at least one instruction. The at least one instruction is executed by the processor 1501 to implement the virtual piece marking method provided in the method embodiments of this disclosure.

[0303] In some embodiments, the computer device 1500 may further include: an input interface 1503 and an output interface 1504. The processor 1501, the memory 1502, the input interface 1503, and the output interface 1504 may be connected via a bus or a signal line. Peripheral devices may be connected to the input interface 1503 and the output interface 1504 via a bus, a signal line, or a circuit board. The input interface 1503 and the output interface 1504 may be configured to connect at least one I / O-related peripheral device to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, the input interface 1503, and the output interface 1504 are integrated on a same chip or circuit board. In some other embodiments, any one or two of the processor 1501, the memory 1502, the input interface 1503, and the output interface 1504 may be implemented on an independent chip or circuit board. This is not limited in this disclosure.

[0304] The foregoing illustrated structure does not constitute a limitation on the computer device 1500, and the computer device 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.

[0305] In an embodiment, a chip is further provided. The chip includes a programmable logic circuit and / or program instructions. When running on the computer device 1500, the chip is configured to implement the virtual piece marking method provided in the method embodiments of this disclosure.

[0306] In an embodiment, a computer program product is further provided. The computer program product includes computer instructions. The computer instructions are stored in a computer-readable storage medium, and a processor obtains the computer instructions from the computer-readable storage medium, and executes the computer instructions to implement the virtual piece marking method provided in the method embodiments of this disclosure.

[0307] In an embodiment, a computer-readable storage medium is further provided. The computer-readable storage medium has at least one program stored therein. The at least one program is loaded and executed by a processor to implement the virtual piece marking method provided in the method embodiments of this disclosure.

[0308] One or more modules, submodules, and / or units of the apparatus can be implemented by processing circuitry, software, or a combination thereof, for example. The term module (and other similar terms such as unit, submodule, etc.) in this disclosure may refer to a software module, a hardware module, or a combination thereof. A software module (e.g., computer program) may be developed using a computer programming language and stored in memory or non-transitory computer-readable medium. The software module stored in the memory or medium is executable by a processor to thereby cause the processor to perform the operations of the module. A hardware module may be implemented using processing circuitry, including at least one processor and / or memory. Each hardware 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 hardware modules. Moreover, each module can be part of an overall module that includes the functionalities of the module. Modules can be combined, integrated, separated, and / or duplicated to support various applications. Also, a function being performed at a particular module can be performed at one or more other modules and / or by one or more other devices instead of or in addition to the function performed at the particular module. Further, modules can be implemented across multiple devices and / or other components local or remote to one another. Additionally, modules can be moved from one device and added to another device, and / or can be included in both devices.

[0309] All or some of the operations of the foregoing embodiments may be implemented by using hardware, or may be implemented by a program instructing relevant hardware. The program may be stored in a computer-readable storage medium. The computer-readable storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.

[0310] In the foregoing one or more examples, functions described in this disclosure may be implemented by using hardware, software, firmware, or any combination thereof. When implemented by using software, the functions may be stored in a computer-readable storage medium or transmitted as one or more instructions or code in the computer-readable storage medium. The computer-readable storage medium includes a computer storage medium and a communication medium. The communication medium includes any medium that enables a computer program to be transmitted from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0311] The above are some embodiments of this disclosure, but are not intended to limit this disclosure. Any modification, equivalent replacement, or improvement made within the spirit and principle of this disclosure fall within the scope of this disclosure.

Claims

1. A virtual piece marking method, comprising:receiving a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display;displaying at least two piece avatars overlapping the match interface when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon;receiving a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces;displaying at least one marking control element overlapping the match interface when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range;receiving, by processing circuitry, a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range; andmarking, on the display, the first virtual piece within the first marking range when the marking selection operation on the first marking control element is received.

2. The method according to claim 1, whereinthe displayed match interface is associated with a current account in a current match; andthe displaying the at least one marking control element includes displaying, when the piece selection operation is received, at least one of:a marking control element corresponding to marking of the first virtual piece possessed by a first other account in the current match that is of a non-friendly party;a marking control element corresponding to marking of the first virtual piece possessed by a second other account in the current match that is of a friendly party; anda marking control element corresponding to marking of the first virtual piece possessed by a third account in the current match.

3. The method according to claim 2, whereinthe first marking control element is the marking control element corresponding to marking of the first virtual piece possessed by the first other account; andthe first marking range indicates at least one of:a non-friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in a current round of the current match by the first other account is permissible, anda non-friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the first other account is permissible.

4. The method according to claim 3, further comprising:marking the first other account that has the first virtual piece in possession when the marking selection operation on the first marking control element is received.

5. The method according to claim 4, further comprising:displaying the non-friendly battle area and the non-friendly battle preparation area when a click or tap operation indicating the first other account is received,the non-friendly battle area or the non-friendly battle preparation area including the marked first virtual piece.

6. The method according to claim 2, whereinthe first marking control element is the marking control element corresponding to marking of the first virtual piece possessed by the second other account; andthe first marking range indicates at least one of:a friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in a current round of the current match by the second other account is permissible,a friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the second other account is permissible, anda virtual store corresponding to an area in which a to-be-selected virtual piece is provided.

7. The method according to claim 2, whereinthe first marking control element is the marking control element corresponding to marking of the first virtual piece possessed by the third account in the current match; andthe first marking range indicates at least one of:a friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in a current round of the current match by the third account is permissible when the third account is of the friendly party,a friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the third account is permissible when the third account is of the friendly party,a virtual store corresponding to an area in which a to-be-selected virtual piece is provided,a non-friendly battle area corresponding to an area in which deployment of a virtual piece engaging in battle in the current round of the current match by the third account is permissible when the third account is of the non-friendly party, anda non-friendly battle preparation area corresponding to an area in which deployment of a virtual piece not engaging in battle in the current round of the current match by the third account is permissible when the third account is of the non-friendly party.

8. The method according claim 1, further comprising:marking the piece type icon when the marking selection operation on the first marking control element is received.

9. The method according to claim 1, wherein the type selection operation includes a long-press operation on the piece type icon.

10. The method according to claim 9, wherein the long-press operation corresponds to a duration of a press operation being greater than or equal to a first time threshold.

11. The method according to claim 1, wherein the piece selection operation includes a long-press operation on the one of the at least two piece avatars.

12. The method according to claim 11, wherein the long-press operation corresponds to a duration of a press operation being greater than or equal to a second time threshold.

13. The method according to claim 1, wherein the marking the first virtual piece comprises at least one of:highlighting the first virtual piece within the first marking range indicated by the first marking control element;displaying the first virtual piece with a dynamic special effect within the first marking range indicated by the first marking control element;displaying the first virtual piece in a different color within the first marking range indicated by the first marking control element; andmarking the first virtual piece through text information within the first marking range indicated by the first marking control element.

14. The method according to claim 1, further comprising:canceling marking of the first virtual piece when a double-click or double-tap operation on the piece type icon is received.

15. The method according to claim 1, wherein the piece type icon comprises at least one of:a faction type icon indicating a faction type;a play style type icon indicating a play style type; anda tribe type icon indicating a tribe type.

16. A virtual piece marking apparatus, comprising:processing circuitry configured to:receive a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display;display at least two piece avatars overlapping the match interface when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon;receive a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces;display at least one marking control element overlapping the match interface when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range;receive a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range; andmark, on the display, the first virtual piece within the first marking range when the marking selection operation on the first marking control element is received.

17. The apparatus according to claim 16, whereinthe displayed match interface is associated with a current account in a current match; andthe processing circuitry is configured to display, when the piece selection operation is received, at least one of:a marking control element corresponding to marking of the first virtual piece possessed by a first other account in the current match that is of a non-friendly party;a marking control element corresponding to marking of the first virtual piece possessed by a second other account in the current match that is of a friendly party; anda marking control element corresponding to marking of the first virtual piece possessed by a third account in the current match.

18. The apparatus according to claim 16, wherein, to mark the first virtual piece, the processing circuitry is configured to at least one of:highlight the first virtual piece within the first marking range indicated by the first marking control element;display the first virtual piece with a dynamic special effect within the first marking range indicated by the first marking control element;display the first virtual piece in a different color within the first marking range indicated by the first marking control element; andmark the first virtual piece through text information within the first marking range indicated by the first marking control element.

19. A non-transitory computer-readable storage medium storing instructions, which when executed by a processor, cause the processor to perform a virtual piece marking method, the method comprising:receiving a type selection operation on a piece type icon within a piece category display area of a match interface displayed on a display;displaying at least two piece avatars overlapping the match interface when the type selection operation on the piece type icon is received, each of the at least two piece avatars indicating a respective one of at least two virtual pieces of a piece type indicated by the piece type icon;receiving a piece selection operation on one of the at least two piece avatars indicating a first virtual piece of the at least two virtual pieces;displaying at least one marking control element overlapping the match interface when the piece selection operation on the one of the at least two piece avatars indicating the first virtual piece is received, each of the at least one marking control element indicating a respective marking range;receiving a marking selection operation on a first marking control element of the at least one marking control element indicating a first marking range; andmarking, on the display, the first virtual piece within the first marking range when the marking selection operation on the first marking control element is received.

20. The non-transitory computer-readable storage medium according to claim 19, whereinthe displayed match interface is associated with a current account in a current match; andthe displaying the at least one marking control element includes displaying, when the piece selection operation is received, at least one of:a marking control element corresponding to marking of the first virtual piece possessed by a first other account in the current match that is of a non-friendly party;a marking control element corresponding to marking of the first virtual piece possessed by a second other account in the current match that is of a friendly party; anda marking control element corresponding to marking of the first virtual piece possessed by a third account in the current match.