Game interface display method and device, computer equipment and storage medium
By dragging the chess pieces in turn-based chess games, the interactive experience of chess layout is enhanced, and the problem of poor interaction effect of chess position adjustment in the existing technology is solved, which enhances the player's sense of participation and substitution.
Patent Information
- Application Number
- CN202410178247.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-08
- Publication Date
- 2025-08-08
AI Technical Summary
The interactive effect of adjusting the position of the chess piece before the battle begins is poor, and the virtual chess player's sense of participation and player interaction experience is lacking.
By displaying virtual chess players in the game interface to drag the chess pieces through the target props, respond to player operations, adjust the position of the chess pieces, and add animations and floating effects during the dragging process to enhance the interactive experience.
It improves the interaction between virtual chess players and players, enhances the player's sense of substitution and the sense of participation in adjusting the layout of chess pieces, and improves the player's experience.
Smart Images

Figure CN120437584A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a game interface display method, apparatus, computer equipment, and storage medium. Background Art
[0002] In a turn-based chess game, which involves multiple players, each player places their pieces on a virtual chessboard. The game application automatically controls the pieces on the virtual chessboard to engage in battle and displays the results. The losing player loses health points, and the final ranking is determined by elimination order. Currently, the positions of the pieces on the virtual chessboard can be adjusted before a match begins, but the current solution for adjusting the pieces' positions suffers from poor interactive performance. Summary of the Invention
[0003] The embodiments of the present application provide a game interface display method, device, computer equipment, and storage medium, which can enhance the interaction between virtual chess players and players. The technical solution is as follows:
[0004] In one aspect, a method for displaying a game interface is provided, the method comprising:
[0005] Displaying a game interface of a turn-based chess game, wherein the game interface displays a virtual chessboard and a virtual chess player, and the first chess piece of the virtual chess player is displayed on the virtual chessboard;
[0006] In response to the dragging operation on the first chess piece, displaying in the game interface that the virtual chess player drags the first chess piece through the target prop;
[0007] In response to the drag operation ending, the first chess piece is displayed as being placed at a first position, where the first position is the position where the drag operation ends.
[0008] In another aspect, a game interface display device is provided, the device comprising:
[0009] A display module, configured to display a game interface of a turn-based chess game, wherein the game interface displays a virtual chessboard and a virtual chess player, and the first chess piece of the virtual chess player is displayed on the virtual chessboard;
[0010] The display module is further configured to, in response to a drag operation on the first chess piece, display, in the game interface, the virtual chess player dragging the first chess piece via a target prop;
[0011] The display module is further configured to display, in response to the end of the dragging operation, that the first chess piece is placed at a first position, where the first position is the position where the dragging operation ends.
[0012] In one possible implementation, the game interface includes a player display area, which is located outside the virtual chessboard, and the virtual chess player is displayed in the player display area; the display module is used to respond to the dragging operation of the first chess piece, display the target prop dragging the first chess piece on the virtual chessboard, and play a first animation in the player display area, wherein the first animation is used to display the process of the virtual chess player dragging the first chess piece through the target prop.
[0013] In another possible implementation, the display module is further used to display a floating special effect around the first chess piece while the virtual chess player is dragging the first chess piece through the target prop, and the floating special effect indicates that the first chess piece is floating above the virtual chess board.
[0014] In another possible implementation, the display module is configured to play a second animation at the first position in response to the end of the dragging operation, where the second animation is configured to display a process of placing the first chess piece at the first position.
[0015] In another possible implementation, the display module is used to, in response to the end of the dragging operation, display that the first chess piece is placed at the first position and the second chess piece is placed at the second position, when the second chess piece has been placed at the first position, where the second position is the position of the first chess piece before the first chess piece was dragged.
[0016] In another possible implementation, when the first chess piece meets the dragging condition, in response to the dragging operation on the first chess piece, the virtual chess player is displayed in the game interface dragging the first chess piece through the target prop.
[0017] In another possible implementation, the display module is used to display, in the game interface, the virtual chess player dragging the first chess piece through the target prop in response to the dragging operation of the first chess piece when the first energy value is not less than the second energy value, the first energy value is the energy value currently possessed by the virtual chess player, and the second energy value is the energy value consumed by the virtual chess player to adjust the position of the chess piece.
[0018] In another possible implementation, the game interface includes a hand area, in which virtual cards owned by the virtual chess player are displayed; the display module is further used to display the virtual card being transformed into a third chess piece and the virtual chess player dragging the third chess piece through the target prop when the virtual card is dragged from the hand area to the virtual chess board; in response to the end of the dragging operation of the virtual card, display the third chess piece being placed in a third position, and the third position is the position where the dragging operation of the virtual card ends.
[0019] In another possible implementation, the display module is used to determine a first path in response to a drag operation on the first chess piece based on a first position, a second position and the chess pieces on the virtual chessboard, where the first path points from the first position to the second position, and there is no chess piece on the first path, the first position is the starting point of the drag operation, and the second position is the end point of the drag operation; in the game interface, the virtual chess player is displayed dragging the first chess piece along the first path through the target prop.
[0020] In another possible implementation, the apparatus further includes:
[0021] The prediction module is configured to predict the second position in response to the drag operation based on the first position and a drag direction of the drag operation.
[0022] In another possible implementation, the prediction module is further configured to, when the chess piece moves to the second position, predict a third position based on the second position and the dragging direction of the dragging operation, where the third position is the end point of the dragging operation; determine a second path based on the second position, the third position, and the chess pieces on the virtual chessboard, where the second path points from the second position to the third position, and no chess piece exists on the second path;
[0023] The display module is further used to display, in the game interface, the virtual chess player dragging the first chess piece along the second path through the target prop.
[0024] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the game interface display method described in the above aspects.
[0025] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the game interface display method described in the above aspects.
[0026] On the other hand, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the operations performed by the game interface display method as described in the above aspects.
[0027] In the solution provided in the embodiment of the present application, in response to the dragging operation of the chess piece on the virtual chess board, a picture of the virtual chess player dragging the chess piece through the props can be displayed, so as to reflect the solution of the virtual chess player adjusting the layout of the chess pieces on the virtual chess board through the target props, thereby enhancing the sense of participation of the virtual chess player in the process of adjusting the layout of the chess pieces, allowing the player to adjust the position of the virtual chess piece on the virtual chess board by playing the virtual chess player, improving the interaction effect between the virtual chess player and the player, improving the player's sense of substitution, and thus improving the player experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0029] Figure 1 This is a structural block diagram of a computer system provided by one embodiment of the present application;
[0030] Figure 2 This is a flow chart of a game interaction method for a turn-based chess game provided by one embodiment of the present application;
[0031] Figure 3 This is a schematic diagram of an interface of a turn-based chess game provided by an embodiment of the present application;
[0032] Figure 4 This is a card diagram of a chess piece card provided by one embodiment of the present application;
[0033] Figure 5 This is a card diagram of an effect card provided by one embodiment of the present application;
[0034] Figure 6 This is a card diagram of an equipment card provided by an embodiment of the present application;
[0035] Figure 7 This is a card diagram of a chess player card provided by one embodiment of the present application;
[0036] Figure 8 This is a flow chart of a game interaction method for a turn-based chess game provided by one embodiment of the present application;
[0037] Figure 9 This is a schematic diagram of a chess player selection interface provided by an embodiment of the present application;
[0038] Figure 10 This is a schematic diagram of a game interface in the preparation phase provided by an embodiment of the present application;
[0039] Figure 11 This is a schematic diagram of the interface for playing cards in the preparation phase provided by one embodiment of the present application;
[0040] Figure 12 This is a schematic diagram of an upgrade process of an upgrade button provided by an embodiment of the present application;
[0041] Figure 13 This is a schematic diagram of automatic engagement provided by an embodiment of the present application;
[0042] Figure 14 This is a schematic diagram of a game interface during the battle phase provided by an embodiment of the present application;
[0043] Figure 15 This is a schematic diagram of a settlement interface provided by an embodiment of the present application;
[0044] Figure 16 This is a flowchart of a game interface display method provided by an embodiment of the present application;
[0045] Figure 17 This is a flowchart of another game interface display method provided by an embodiment of the present application;
[0046] Figure 18 This is a schematic diagram of a game interface provided by an embodiment of the present application;
[0047] Figure 19 This is a flowchart of another game interface display method provided by an embodiment of the present application;
[0048] Figure 20 This is a flowchart of dragging a chess piece provided by an embodiment of the present application;
[0049] Figure 21 This is another flowchart of dragging chess pieces provided by an embodiment of the present application;
[0050] Figure 22 This is a structural diagram of a game interface display device provided by an embodiment of the present application;
[0051] Figure 23 This is a structural diagram of another game interface display device provided in an embodiment of the present application;
[0052] Figure 24 This is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0053] Figure 25 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0055] As used herein, the terms "first," "second," "third," "fourth," "fifth," "sixth," and the like may be used to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are used solely to distinguish one concept from another. For example, a first chess piece may be referred to as a second chess piece, and similarly, a second chess piece may be referred to as a first chess piece, without departing from the scope of this application.
[0056] As used herein, the terms "at least one," "plurality," "each," and "any" include one, two, or more than two, "plurality" includes two or more than two, "each" refers to each of the corresponding plurality, and "any" refers to any one of the plurality. For example, a plurality of chess pieces includes three chess pieces, and "each" refers to each of the three chess pieces. "Any" refers to any one of the three chess pieces, which may be the first chess piece, the second chess piece, or the third chess piece.
[0057] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the virtual cards and game-related data involved in this application were obtained with full authorization.
[0058] First, the nouns involved in the embodiments of this application are introduced:
[0059] Turn-based chess games: These are chess games in which the "chess pieces" are arranged in advance before the game begins, and during the game, the "chess pieces" can automatically fight according to the pre-arranged arrangement. The "chess pieces" are usually represented by virtual characters, such as virtual heroes. During the game, the virtual characters automatically unleash various skills to fight. The game usually adopts a turn-based system. When all the "chess pieces" of one side are killed (i.e., the health points of the virtual characters are reduced to zero), that side is the loser of the round. In some embodiments, in addition to the "chess piece-type virtual characters" that play the game, each side also has a chess player character representing the current user participating in the game. The chess player character cannot be moved as a "chess piece" to the battle area or chess piece candidate area. The chess player character is also equipped with health points (or health points). The health points of the chess player character are reduced accordingly (battle failure) or remain unchanged (battle victory) based on the results of each game. When the health points of the chess player character are reduced to zero, the user corresponding to the chess player character exits the game, and the remaining users continue to play. Optional, turn-based chess games include Auto Chess.
[0060] Auto Chess: It is a multiplayer, turn-based competitive game with collectible hero chess pieces. For example, there are eight or six players in the game, each of whom occupies an area on the board. Two of the multiple players compete one-on-one. Each round of a game consists of two stages: the preparation phase and the battle phase. In the preparation phase, users purchase chess pieces (heroes) from the store and arrange them on the board. In the battle phase, both teams lock their lineups, and the chess pieces will automatically engage until all of one team's pieces are dead. The player who destroys all of their chess pieces loses the round and will have a certain amount of health deducted. The game rounds are repeated, and new opponents are matched until a player's health is ≤ 0 and they are eliminated. The last remaining player wins the game (1st place).
[0061] Chessboard: refers to the area in the battle interface of a turn-based chess game used to prepare for and conduct battles. The chessboard can be any one of a two-dimensional virtual chessboard, a 2.5-dimensional virtual chessboard, and a three-dimensional virtual chessboard, and this application does not limit this.
[0062] The traditional Auto Chess board is divided into a battle area and a piece candidate area. The battle area includes several equally sized squares, which are used to place the pieces that will be used in the battle. The piece candidate area includes several candidate pieces, which are used to place candidate pieces. These candidate pieces do not participate in the battle but can be dragged and placed in the battle area during the preparation phase. The board area provided in the embodiments of this application does not include the piece candidate area, but only the battle area.
[0063] Regarding the arrangement of the chess squares in the battle area, in some embodiments, the battle area includes n (rows) × m (columns) chess squares, schematically, n is an integer multiple of 2, and two adjacent rows of chess squares are aligned, or two adjacent rows of chess squares are staggered. In addition, the battle area is divided into two parts according to the rows, namely the own battle area and the enemy battle area, and the users participating in the battle are located on the upper and lower sides of the battle interface, and in the preparation stage, the users can only place chess pieces in the own battle area. In other embodiments, the battle area is divided into two parts according to the columns, namely the own battle area and the enemy battle area, and the users participating in the battle are located on the left and right sides or the upper and lower sides of the battle interface. The shape of the chess square can be any one of square, rectangle, circle, and hexagon. The embodiment of the present application does not limit the shape of the chess square.
[0064] Cards: A common term for a game genre, originating from tabletop games. The difference lies in chess, where players manipulate chess pieces directly, while cards carry game content on cards. Compared to chess pieces, cards are more convenient for carrying text descriptions, card attribute information, and key values. "Cardization" involves converting hero resources into card resources, making it easier for players to read and categorize card effects, and carrying more diverse information.
[0065] Energy: A game resource. In this application, energy is defined as the resource used by players to play cards. When a card is played, the energy corresponding to the value marked on the card is consumed.
[0066] Equipment: In Auto Chess games, each chess piece can typically wear three pieces of equipment (or other equipment). Equipment provides attributes or effects such as attack power, defense, health, healing, penetration, and shields to the hero. Auto Chess games in related art typically include a jungle phase, where players defeat monsters and receive equipment dropped by them, which they then pick up and add to their backpacks. Equipment can also be combined individually to create higher-quality equipment.
[0067] Chess player: refers to a virtual character played by the player, also known as a virtual chess player. Each chess player has different special abilities that can help the player to play the game better.
[0068] Figure 1 The following is a block diagram of a computer system according to an exemplary embodiment of the present application: The computer system 100 includes a first terminal 110 , a server 120 , and a second terminal 130 .
[0069] A first terminal 110 has a client 111 installed and running that supports a virtual environment. This client 111 may be a turn-based chess game program. When the first terminal runs client 111, the user interface of client 111 is displayed on the screen of the first terminal 110. This client may be a client for an Auto Chess game. First terminal 110 is used by a first user 112. During the preparation phase of a game, first user 112 uses first terminal 110 to place chess pieces in the battle area of the chessboard. During the battle phase, first terminal 110 or server 120 automatically controls the chess pieces based on the attributes, skills, and placement of the pieces in the battle area.
[0070] The second terminal 130 has a client 131 installed and running that supports a virtual environment. This client 131 can be a turn-based chess game program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. This client can be the client of an Auto Chess game. The second terminal 130 is used by a second user 132. During the preparation phase of a game, the second user 132 uses the second terminal 130 to place chess pieces in the battle area of the chessboard. During the battle phase, the second terminal 130 or the server 120 automatically controls the chess pieces based on the attributes, skills, and placement of the pieces in the battle area.
[0071] Optionally, the chess pieces placed by the first user via the first terminal 110 and the second user via the second terminal 130 are located in different playing areas on the same chessboard, i.e., the first user and the second user are on the same chessboard in the same game. Alternatively, the chess pieces placed by the first user via the first terminal 110 and the second user via the second terminal 130 are located on different chessboards, i.e., the first user and the second user are on different chessboards in the same game. It should be noted that, in an optional embodiment, a game of a turn-based chess game is jointly participated in by six user accounts, and the six user accounts are matched up in pairs in each round, and the two matched user accounts play against each other on the same chessboard during the round.
[0072] Optionally, the client installed on the first terminal 110 and the second terminal 130 is the same, or the client installed on the two terminals is the same type of client on different operating system platforms (Android or iOS). The first terminal 110 can generally refer to one of multiple terminals, and the second terminal 130 can generally refer to another of the multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example. The first terminal 110 and the second terminal 130 can be the same or different device types, including at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer. The following embodiments are described using the example of a smartphone as the terminal.
[0073] Those skilled in the art will appreciate that the number of terminals may be greater or less. For example, there may be only one terminal (i.e., the user plays against the AI), or there may be six, eight, or more terminals. The present embodiment does not limit the number of terminals or device types.
[0074] Figure 1 Only two terminals are shown, but in different embodiments, multiple other terminals 140 can access the server 120. Optionally, one or more terminals 140 are terminals corresponding to developers. A development and editing platform for a client that supports a virtual environment is installed on the terminal 140. The developer can edit and update the client on the terminal 140 and transmit the updated client installation package to the server 120 via a wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server 120 to update the client.
[0075] The first terminal 110 , the second terminal 130 , and the other terminals 140 are connected to the server 120 via a wireless network or a wired network.
[0076] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 provides backend services for clients supporting a three-dimensional virtual environment (turn-based chess game clients / Auto Chess game clients). Optionally, server 120 performs primary computing tasks, while terminals perform secondary computing tasks; alternatively, server 120 performs secondary computing tasks, while terminals perform primary computing tasks; alternatively, server 120 and terminals utilize a distributed computing architecture for collaborative computing.
[0077] In an illustrative example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. 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 user account data used by the first terminal 110, the second terminal 130, and other terminals 140, such as user account avatars, user account nicknames, user account combat power indexes, and the service areas where the user accounts are located. The battle service module 124 is configured to provide multiple battle rooms for users to engage in battles. The user-facing I / O interface 125 is configured to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.
[0078] The embodiment of the present application provides a turn-based chess game (auto chess) based on card operations. The various complicated operations involved in traditional auto chess, such as store purchases, store upgrades, chess piece preparations, chess piece deployments, chess piece upgrades, and chess piece equipment additions, are all simplified in the card playing process. On the one hand, the card-based playing process is relatively simple and suitable for use on small-screen terminals such as mobile phones and tablets; on the other hand, the three-dimensional model of the virtual chess piece can only carry limited text information, while the card face can carry more "labels", "values", "attributes", "entry effects" and other information, thereby improving the utilization efficiency of the display area where the card is located.
[0079] Figure 2 A flowchart of a game interaction method for a turn-based chess game provided by an exemplary embodiment of the present application is shown. This embodiment takes the method as an example executed by a terminal, in which a client supporting turn-based chess games is running.
[0080] The method includes:
[0081] 201. Displaying a game interface of a turn-based chess game, the game interface including a chessboard area and a hand area, wherein the hand area displays at least one card.
[0082] The game interface is where two players engage in turn-based chess games. Player objects can be understood as at least one of the following concepts: user, account, player, virtual player, or player avatar.
[0083] Combined with reference Figure 3 The game interface includes a chessboard area 301 and a hand area 302 .
[0084] The chessboard area 301 is used to accommodate at least one friendly chess piece and at least one enemy chess piece participating in the battle, and is equivalent to the area occupied by the virtual chessboard in the game interface. The chessboard area 301 includes a plurality of chess squares arranged in an array, which are always displayed or only displayed at certain times. Optionally, the chessboard area 301 is a two-dimensional chessboard or a three-dimensional chessboard. This embodiment illustrates the chessboard area 301 as a three-dimensional chessboard viewed from above. The three-dimensional chessboard in this article refers to the chessboard being located in a three-dimensional environment, not necessarily the chessboard itself being three-dimensional.
[0085] The hand area 302 is used to display at least one card held or dealt to the player object. This at least one card is typically a plurality of cards. This at least one card includes at least one of the following: cards automatically drawn or dealt to the player object by the background program, cards obtained by playing certain cards with draw effects, and player cards acquired through player skills. This plurality of cards has an upper limit, for example, a maximum of eight cards; excess cards are automatically discarded.
[0086] Optionally, the multiple cards are arranged in a fan-shaped pattern in the hand area 302. The order of arrangement can be determined based on at least one of the following factors: the time of draw, card type, number of cards of the same type, number of copies of the same card, and card quality. Optionally, at least one card held by the player object has an upper limit, such as a maximum of 8 or 10 cards. Exceeding this limit will result in the discarding of excess cards. The player object can play all or part of the cards in each battle round. Optionally, the player object can also replace all or part of the cards in each battle round. Optionally, different cards have different card types. Different card types have different battle preparation functions.
[0087] A round of a turn-based chess game includes multiple rounds, and each round includes a preparation phase and a battle phase.
[0088] 202. In the battle preparation phase, in response to the playing operation of at least one card, perform battle preparation operations related to the own side.
[0089] The playing operation refers to the operation of playing one or more cards held. Schematically, the playing operation is the operation of dragging a selected card toward the board area. Alternatively, the playing operation includes a first click operation and a second click operation, wherein the first click operation is the operation of clicking to select a card, and the second click operation is the operation of clicking a specific square in the board area. The embodiments of the present application do not limit the specific form of the playing operation. In some embodiments, a function of intelligently recommending playing cards can also be provided, whereby the player object plays cards on behalf of the player in certain rounds, such as the client intelligently recommending playing cards for novice players in the first few rounds.
[0090] At least one local chess piece is a virtual chess piece that participates in at least one round (including the current round). If the chessboard area is a two-dimensional chessboard, the virtual chess piece is also a two-dimensional chess piece and is displayed as a two-dimensional icon or a two-dimensional image; if the chessboard area is a three-dimensional chessboard, the virtual chess piece is also a three-dimensional chess piece and is displayed as a three-dimensional model or a three-dimensional image. In the initial state, there can be zero local chess pieces in the chessboard area, and the local player object can add, delete, or supplement the chessboard area. Local chess pieces that did not die in the previous round can be automatically inherited in the next round. Optionally, all local chess pieces in the previous round can be automatically inherited in the next round.
[0091] The display state of the selected card is different from the display state of the unselected card. Optionally, the selected card has a highlighting effect, which includes: a bold border, a highlighted border, a dynamic border, and the placement position in the card queue is moved a preset distance toward the board area.
[0092] Preparation operations include at least one of: increasing one's own chess pieces, reducing one's own chess pieces, upgrading one's own chess pieces, adding equipment to one's own chess pieces, reducing equipment to one's own chess pieces, and increasing the buff effect of one's own chess pieces.
[0093] Since different card types have different effects, a preparation operation is performed on at least one of the own chess pieces in the chessboard area based on the card type of the selected card.
[0094] During the preparation phase, the player object will prepare at least one of its own chess pieces in the chessboard area, and the enemy player object will prepare at least one enemy chess piece in the chessboard area.
[0095] 203. During the battle phase, the chess pieces of your side and the enemy side will automatically engage in battle in the chessboard area.
[0096] The automatic battle process between your own chess pieces and enemy chess pieces in the chessboard area does not require manual control by your own player object. The client or server automatically controls the battle between the chess pieces of both sides based on the chess position on the chessboard, chess piece attributes, chess piece level, chess piece skills, chess piece attributes, joint enhancement attributes between chess pieces, etc., until all the chess pieces of one side are killed.
[0097] Both the player object and the enemy player object have health points. After the round ends, the health points of the losing player object will be deducted by a certain amount. This amount can be determined based on the number of chess pieces remaining on the winning side, or it can be a fixed value, which is not limited in this embodiment.
[0098] In summary, the method provided in this embodiment, by introducing a "card" mechanism into a turn-based chess game, simplifies and integrates various battle preparation operations into the multi-card playing process, eliminating the concept of a shop. Players no longer need to repeatedly interact with multiple sub-areas on the traditional battle interface, such as the shop, chess piece preparation area, and chess piece battle area, to complete chess piece acquisition, upgrades, and battles. The traditional chess piece purchasing process, which requires users to actively select chess pieces, is replaced by a passive receipt of distributed cards. The game system replaces some of the user's tedious operations, allowing users to complete various battle preparation operations using essentially the same card playing operations as in a card game, thereby improving the efficiency of human-computer interaction.
[0099] Especially when playing turn-based chess games on small-screen terminals such as mobile phones or tablets, players can complete a variety of battle preparation operations based on the limited operations in the hand area. Compared with traditional auto chess, it can significantly improve the efficiency of human-computer interaction.
[0100] Classification of card types:
[0101] In some embodiments, the card type includes at least one of: a chess piece card, an effect card, an equipment card, and a chess player card.
[0102] Chess Cards:
[0103] Pawn cards are used to summon your own pieces in the chessboard area or upgrade the piece level of your own pieces. Figure 4 A schematic diagram of a chess piece card is shown. The chess piece card displays at least one of the following information: a chess piece image 401, a chess piece name 402, the energy consumed when the card is played 403, the chess piece type or faction 404 to which the chess piece belongs, the level of the chess piece after the card is played 405, and a description of the additional effects of the chess piece 406.
[0104] The chess piece image 401 may be at least one of a head portrait, an icon, a bust portrait, a full-body portrait, and a display animation of the virtual chess piece. Figure 4 In the example, the chess piece image 401 is a bust of a virtual chess piece.
[0105] The chess piece name 402 is the name of the virtual chess piece. For example, if the virtual chess piece is a hero, the chess piece name is the hero name.
[0106] Energy value 403 refers to the energy consumed when playing this chess card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, cards of different qualities consume different amounts of energy when played. For example, five cards of different qualities may consume 0, 1, 2, 3, and 4 energy points, respectively, when played.
[0107] Piece type 404 is a categorization attribute that identifies the role a piece plays during combat. In one example, different pieces can be classified as at least one of the following: tank, warrior, assassin, mage, shooter, or support. Faction is a categorization attribute that identifies pieces belonging to the same group within the virtual worldview. In one example, different pieces can be classified into at least one of the following: Great Wall, Three Kingdoms, Xuanyong, Jigan, Yaotian, and Chang'an. For example, two pieces belonging to the Great Wall Guard in the virtual worldview both belong to the Great Wall Faction. In various embodiments, piece type and faction can be considered the same categorization attribute; this embodiment uses piece type and faction as different categorization attributes as an example.
[0108] The level 405 that the piece is upgraded to after a card is played refers to the level that the existing piece with the same name (i.e., the same piece) is upgraded to after the card is played. For example, if level 405 is 3 and the piece with the same name was originally at level 2, then after playing the card, the piece with the same name is upgraded to level 5. Alternatively, cards of different qualities can upgrade the piece with the same name to different levels after being played. For example, five different quality cards can upgrade the piece with the same name to levels 1, 2, 3, 4, and 5, respectively, after being played.
[0109] The additional effect description 406 of a chess piece is a description of the additional effect of the chess piece. This additional effect can be triggered upon playing, or it can be activated when a trigger condition is met during the game. For example, chess piece 1 has an exclusive skill: when chess piece 1 is on the board, whenever another chess piece on the board is sold, a randomly selected chess piece of the "tank" type on the board will be randomly selected, and the chess level of the randomly selected chess piece will be increased by a first value, which is half the level of the sold chess piece.
[0110] Effect Cards:
[0111] Effect cards are cards used to apply effects to at least one game factor in the game. The at least one game factor includes chess pieces, skills, equipment, amplification effects, levels, combat processes, hand card acquisition processes, etc. Figure 5 A schematic diagram of an effect card is shown. The effect card displays at least one of the following information: an effect icon 501, an effect name 502, an energy value 503 consumed when the card is played, and an effect description 504 of the effect card.
[0112] The effect icon 501 may be an icon used to represent the benefit effect of the effect card. Figure 5 The effect name 502 is the name of the effect card or the name of the benefit effect.
[0113] Energy value 503 refers to the energy cost of playing this effect card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, playing cards of different qualities may cost different amounts of energy. For example, playing five cards of different qualities may cost 0, 1, 2, 3, and 4 energy points, respectively.
[0114] The effect description 504 of the effect card is used to describe the effect of the effect card after use. The effect of the effect card includes but is not limited to at least one of the following:
[0115] 1. Increase the probability and / or quantity of chess cards obtained by your players;
[0116] 2. Increase the probability or number of players obtaining chess cards with the same name as the chess pieces on the field;
[0117] 3. Reduce the energy consumed by your players when acquiring chess pieces and cards;
[0118] 4. Increase the number of chess cards that your players can exchange for;
[0119] 5. Reduce the energy consumed by your players when exchanging chess cards;
[0120] 6. Improve the chess piece level of at least one chess piece on the field;
[0121] 7. Add equipment to at least one chess piece on the field;
[0122] 8. Upgrade the equipment level of at least one chess piece on the field;
[0123] 9. Reduce energy consumption when playing / changing cards;
[0124] 10. Increase the probability of obtaining certain cards;
[0125] 11. Increase the number of cards that can be obtained;
[0126] 12. Increase the chance of changing cards, and so on, I will not go into details one by one.
[0127] For example, the effect of the "Two Players" card is: randomly obtain 2 identical hero cards; the effect of the "Talent Search" card is: choose 1 of 3 highest quality hero cards available at the current player level; the effect of the "Copy" card is: randomly obtain a card with the same name as a hero on the field; the effect of the "Abundant Harvest" card is: immediately replenish your hand to 5 cards; the effect of the "Random Strengthen" card is: increase the level of a random hero on the field by +5; the effect of the "One More Time" card is: draw 1 card, and get 1 extra free card exchange in this round; the effect of the "Wish" card is: -1 the energy value consumed by all cards; the effect of the "Add Card" card is: draw 2 cards.
[0128] In some embodiments, effect cards can be categorized as at least one of general effect cards, piece-type effect cards, and faction effect cards. General effect cards are effect cards whose attributes are unrelated to piece type or faction. Card attributes include at least one of: acquisition conditions, usage conditions, card effects, and range of effect. Piece-type effect cards are effect cards whose attributes are related to piece type. For example, only pieces of a specific piece type can acquire, use, or benefit from a card. Faction effect cards are effect cards whose attributes are related to faction. For example, only pieces of a specific faction can acquire, use, or benefit from a card.
[0129] For example, a certain chess piece type effect card can only be obtained with a certain probability when a chess piece card of that chess piece type is played.
[0130] Equipment Cards:
[0131] Equipment cards are used to equip at least one of your own chess pieces. Figure 6A schematic diagram of an equipment card provided by an exemplary embodiment of the present application is shown. The equipment card displays at least one of the following information: an equipment icon 601, an equipment name 602, an energy value 603 consumed when the card is played, and an equipment description 604 of the equipment card.
[0132] The equipment icon 601 may be an icon used to represent the image of the equipment or the effect of the equipment. Figure 6 6. The equipment name 602 is the name of the equipment card or the name of the equipment. Different equipment can enhance the combat capability of the player's piece in different dimensions such as health, armor, defense, and mana, or weaken the combat capability of the enemy piece.
[0133] Energy value 603 refers to the amount of energy consumed when playing this equipment card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, cards of different qualities may consume varying amounts of energy when played. For example, playing five cards of different qualities may consume 0, 1, 2, 3, and 4 energy points, respectively. Optionally, the energy consumed by different cards may be adjusted periodically or irregularly based on game balance.
[0134] The equipment description 604 of the equipment card is used to describe the effect of the equipment after being worn.
[0135] Chess player cards:
[0136] Player cards are cards acquired through the player skills of a player avatar. Player cards can be acquired by triggering passive or active skills of a player avatar, cards that only a certain player avatar can acquire, cards that only a certain player avatar can use, cards that are exclusive to a certain player avatar, and so on, and this embodiment of the application does not limit this.
[0137] Figure 7 A schematic diagram of a chess player card provided by an exemplary embodiment of the present application is shown. The chess player card displays at least one of the following information: a card icon 701, a chess player card name 702, an energy value consumed when the card is played 703, and a description of the effect of the chess player card 704.
[0138] The card icon 701 may be an icon used to represent the effect of the card. Figure 7 The player card name 702 is the name of the player card or the name of the effect.
[0139] Energy value 703 refers to the amount of energy consumed by the player when playing a card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, cards of different qualities may consume varying amounts of energy when played. For example, playing five cards of different qualities may consume 0, 1, 2, 3, and 4 energy points, respectively. Optionally, the energy consumed by different cards may be adjusted periodically or irregularly based on game balance.
[0140] The effect description 704 of the player card is used to describe the effect that the player card can increase after use. The effect of the player card can be the same or similar to the effect of the chess piece card, equipment card, or effect card, and can also exceed the effect scope of the chess piece card, equipment card, or effect card. In the possible designs of different embodiments, the effect of the player card can be designed to summon chess pieces, upgrade chess pieces, add equipment, add gain effects, reduce energy consumption, influence the acquisition process of the hand cards, and other forms of effects. The effect of the player card can be designed to influence any process or details in the game, and the present embodiment of the application does not limit this.
[0141] Based on the introduction of the above four types of cards:
[0142] On the one hand, different types of cards have different functions. Piece cards can eliminate the shop in traditional Auto Chess based on the gameplay characteristics of the cards. Effect cards can eliminate the effect buttons or controls in traditional Auto Chess. Equipment cards can eliminate the jungle phase in traditional Auto Chess. Player cards can incorporate the gameplay characteristics of each player. By simplifying the different mechanics of turn-based chess games into the card-playing process based on different card types, this can reduce the number of user interface elements required to be displayed on the battle screen, simplify the operation of the player object, and improve the efficiency of human-computer interaction for the player object.
[0143] On the other hand, compared with three-dimensional chess pieces, two-dimensional cards cannot carry text information well because the text information that three-dimensional chess pieces can carry is limited. The card characteristics of two-dimensional cards can naturally carry more text information and icon information. Therefore, compared with the three-dimensional chess pieces in traditional preparation stages, two-dimensional cards can increase the amount of information carried within the limited display range of small-screen terminals and improve information transmission efficiency.
[0144] It should be noted that the above-mentioned cards can not only be played in the preparation phase, but some cards can also be played in the battle phase, such as certain equipment cards, effect cards that immediately draw 2 more cards, etc.
[0145] How to obtain cards:
[0146] The player object obtains at least one card if the acquisition conditions are met. The acquisition conditions include at least one of the following:
[0147] Obtaining Condition 1: Start a new round of turn-based battle. Each time a new round of turn-based battle starts, you will receive a certain number of cards. For example, the first round of turn-based battle will draw 4 cards, and the subsequent rounds of turn-based battle will draw 2 cards.
[0148] Acquisition Condition 2: Use a pre-set chess card. Pre-set chess cards are chess cards with additional abilities, such as drawing, adding, or duplicating cards. For example, a chess card with the same name as a currently playing chess piece will grant an additional effect card when played.
[0149] Acquisition condition 3: Use preset effect cards; preset effect cards refer to effect cards with effects such as drawing, adding, or copying cards.
[0150] Acquisition condition 4: Use preset player cards; preset player cards refer to effect cards that have effects such as drawing, adding, or copying cards.
[0151] Acquisition condition 5: Consume resources owned by the party in exchange; for example, consume energy to extract or exchange.
[0152] Acquisition condition 6: The player level of the chess player's virtual character is upgraded; after the chess player level is upgraded, higher quality or more cards can be unlocked.
[0153] Acquisition condition 7: Card pool level upgrade; after the card pool level is upgraded, you can unlock higher quality or more cards.
[0154] Obtaining condition 8: Purchase card operation;
[0155] Acquisition Condition 9: A preset player skill is triggered. Preset player skills are passive or active skills that have effects such as drawing, adding, or duplicating cards. For example, one player card can be drawn every two turns, or one player card can be drawn every three cards played.
[0156] It should be noted that the above acquisition conditions can be combined. For example, some cards can only be obtained by using the preset player cards after reaching the player level 2. It should also be noted that the acquisition conditions for different types of cards can be completely different, completely the same, or some conditions can be the same and some different.
[0157] Figure 8 A flowchart of a method for interactively playing a turn-based chess game provided by an exemplary embodiment of the present application is shown. This embodiment uses the method executed by a terminal as an example. The method includes:
[0158] Player selection phase:
[0159] 801. Select a virtual chess player character of your side, where the virtual chess player character is used to represent a virtual character that controls at least one chess piece of your side.
[0160] Before each game begins, the player character selects their desired player avatar. Different player avatars have different player skills. Player skills are usually related to obtaining player cards, but can also be related to other game factors.
[0161] In some embodiments, different player skills have their own passive triggering mechanisms that allow the player character to obtain cards with special effects. For example, a player's skill effect is: every time three chess cards are played, the player obtains a Treasure Player card. The effect of this Treasure Player card is: consume 1 energy point and increase the level of a designated player on the board by 2.
[0162] For example, Figure 9 As shown, before starting a game, a player selection interface is displayed. This player selection interface displays six virtual player characters selected by the player objects. Optionally, the virtual player character 901 selected by the player object is highlighted. For example, if the player object is player object 4, the virtual player character selected by player object 4 is highlighted in a standing, enlarged, and centered foreground manner. The virtual players selected by the other player objects are displayed in a normal sitting position, normal size, and distributed on both sides.
[0163] On the player selection interface, several candidate player avatars 902 are displayed, for example, candidate players 1 to 5. Other candidate players can be viewed by swiping left or right, or all candidate players can be viewed by clicking the "All" button 903.
[0164] A player skill button 904 is also displayed on the player selection interface. In response to the player skill button 904 being clicked, the player skill name and effect description of the currently selected player virtual character can be viewed in the pop-up window on the right.
[0165] Optionally, the top of the player selection interface displays messages from other players, along with a countdown for selecting a player or entering a game. The left side of the player selection interface displays a button for sending text messages, a speaker off / on button, and a microphone off / on button. After the player object selects the player avatar, they can click the "Confirm" button 905 to enter the ready state.
[0166] N players participate in a game, each engaging in a round-based battle. Each round consists of a preparation phase and a battle phase.
[0167] Preparation phase for each round:
[0168] 802. Displaying a game interface of a turn-based chess game, where the game interface includes a chessboard area and a hand card area.
[0169] Combined with reference Figure 10 , chessboard area 1001 is used to place at least one friendly chess piece and at least one enemy chess piece. Optionally, the upper half of chessboard area 1001 is used to place at least one enemy chess piece, and the lower half of chessboard area 1001 is used to place at least one friendly chess piece. Hand area 1002 is used to display at least one card held by the player object. In the initial state or in certain situations (such as when all cards in the current round have been played), the number of cards displayed in hand area 1002 is 0.
[0170] Optionally, attribute information for the n player objects participating in the current game is also displayed in the upper left corner of the game interface. The attribute information includes at least one of a player nickname, a player portrait, player health, and a player level. A player skill button 1003 is displayed in the lower left corner of the game interface. A card swap button 1004 and an upgrade button 1005 are also displayed in the lower right corner of the game interface. The card swap button 1004 is used to replace one or more cards in the hand area 11. The upgrade button 1005 is used to upgrade the player's avatar's level to unlock higher-level cards, abilities, and equipment.
[0171] Optionally, an energy control 1006 is displayed on the game interface. Energy control 1006 is used to display the energy value of the player object. Energy is a game resource that may be used at various stages of the game. For example, playing cards requires energy, replacing cards requires energy, and upgrading the player level requires energy.
[0172] Optionally, an identification display area 1007 is also displayed on the game interface. Identification display area 1007 displays identifications of all players participating in the turn-based chess game. In identification display area 1007, the identifications of multiple players can be displayed in a random order or in descending order based on the number of wins of the multiple players in the current turn-based chess game. This embodiment of the present application is not limited to this.
[0173] Optionally, the current turn order is displayed at the top of the game interface. Figure 10 , currently it is the preparation stage for the first round in a turn-based chess game.
[0174] 803. In response to the playing operation of at least one card, execute the preparation operation related to the own side.
[0175] Card types include: chess piece cards, equipment cards, effect cards, and player cards. Players can perform different functions of battle preparation operations by playing different chess piece cards. This step includes at least one of the following steps:
[0176] 8031. In response to a card-playing operation on a chess card, a battle preparation operation related to at least one own chess piece is performed in the chessboard area.
[0177] 8032. In response to a card-playing operation on an equipment card, equip all or part of at least one chess piece with virtual equipment.
[0178] 8033. In response to a play operation on an effect card, perform a preparation operation to add an effect to at least one factor in the game.
[0179] 8034. In response to the card-playing operation on the player's card, perform a preparation operation related to at least one factor in the game.
[0180] Since the battle situation in each round of turn-based battle is different, each player object has different cards in hand, and each player object has different card-playing habits, the number of times and order in which the above 8031, 8032, 8033, and 8034 are executed in each round of turn-based battle may change, and this embodiment does not limit this.
[0181] For step 8031 (chess card):
[0182] In some embodiments, the cards in the hand area include a first chess piece card. In response to a play operation on the first chess piece card, a first local chess piece is added to the board area. The first local chess piece is the chess piece corresponding to the first chess piece card. In some embodiments, the first local chess piece is a chess piece that has not been summoned to the board area.
[0183] That is, when the first own chess piece does not exist in the chessboard area, in response to the play operation on the first chess piece card, the first own chess piece is added to the chessboard area.
[0184] In response to a play operation on a first chess piece card, at least two candidate chess squares are displayed in the chessboard area, and a first indicator element corresponding to the first chess piece card is displayed, the first indicator element including at least one of a reduced first chess piece card, a first own chess piece, and a first indicator arrow; in response to a drag operation of dragging the first indicator element to the first candidate chess square, the first own chess piece is added to the first candidate chess square; wherein the first candidate chess square is one of the at least two candidate chess squares.
[0185] The at least two candidate squares may be all candidate squares or only candidate squares belonging to the player's side. The at least two candidate squares may be always displayed or only displayed when a card-playing operation is recognized.
[0186] The first chess card is Figure 10 Take the 4th card in as an example, combined with reference Figure 11 In response to a drag operation on the first chess piece card, a first own chess piece 1101 and a first indicator arrow 1102 are displayed. First own chess piece 1101 is a three-dimensional piece that slides in accordance with the real-time position of the drag operation. First indicator arrow 1102 starts at the position of the first chess piece card before it is played and ends at the real-time position of the drag operation. If the drag operation is released at the first candidate square, first own chess piece 1101 is summoned to the first candidate square.
[0187] based on Figure 11 It can be seen that this interaction method cancels the chess piece preparation area, and the hand card area takes into account both the chess piece acquisition and preparation functions, realizing the sharing of multiple functions in one display area and improving the efficiency of human-computer interaction.
[0188] In some embodiments, the cards in the hand area include a second chess piece card. In response to a play operation on the second chess piece card and a second local chess piece already exists in the chessboard area, the chess piece level of the second local chess piece is upgraded in the chessboard area, where the second local chess piece is the chess piece corresponding to the second chess piece card.
[0189] Among them, the card-playing operation of the second chess piece card can also be a drag operation, but since there is already a second chess piece in the chessboard area, the release position of the drag operation can be completed at any position in the chessboard area, and it can take effect without the player object being accurately dragged to the second chess piece.
[0190] For step 8032 (equip the card):
[0191] In some embodiments, the cards in the hand area include equipment cards. In response to a play operation on the equipment card, a second indicator element corresponding to the equipment card is displayed, the second indicator element including at least one of a reduced equipment card, a virtual equipment corresponding to the equipment card, and a second indicator arrow.
[0192] In response to a dragging operation of dragging the second indicator element to the second own chess piece, dressing the second own chess piece with virtual equipment;
[0193] The second chess piece of the party is a chess piece of the party that already exists in the chessboard area.
[0194] For step 8033 (effect card):
[0195] In some embodiments, the cards in the hand area include effect cards. In response to a play operation on the effect card, an effect is added to at least one of the own chess pieces, and / or an effect is added to the card acquisition process.
[0196] According to the objects of action, effect cards are divided into two categories:
[0197] Type 1: Increases the effect on the own chess pieces within the chessboard area;
[0198] Type 2: Adds effects to the card acquisition process.
[0199] In response to playing a Type 1 effect card, an effect is added to at least one of your own chess pieces, such as increasing a buff specific to the chess piece type, or a combined buff when at least two chess pieces from the same faction are present.
[0200] In response to the play operation on the type 2 effect card, an effect is added to the card acquisition process, for example, two identical chess pieces are drawn consecutively.
[0201] For step 8034 (player card):
[0202] In response to the play operation on the player's card, at least one of the following preparation operations is performed:
[0203] Increasing your own chess pieces, reducing your own chess pieces, upgrading your own chess pieces, adding effects to your own chess pieces, equipping your own chess pieces with props, operations related to card acquisition, operations related to card sales, operations related to card exchanges, operations related to subsequent rounds, and operations related to the health value of your own player objects.
[0204] In other words, the function of a player card is relatively special. It can be any of the functions of a chess piece card, an equipment card, or an effect card. It can also be a function related to the card acquisition process, or a function related to the player's health. In different design implementations, any function that can affect a certain factor in the game may be designed as a function of a player card, and this embodiment of the application does not limit this.
[0205] During the preparation phase, the player object on this side can also use at least one of the card exchange function, card deletion function, and player level upgrade function.
[0206] Card swap function:
[0207] During the preparation phase, your player can also swap one or more cards from their hand. Clicking the swap button allows you to swap one or more cards, which consumes energy. For example, you can only swap cards once per round, but you can swap multiple cards at once. Each card swap costs 1 energy.
[0208] Delete card function:
[0209] During the card play process, dragging a card to a designated location will delete or sell it. The resources consumed by deleted cards cannot be recovered, or a portion or a fixed amount of energy can be recovered. For example, each deleted card will gain 1 energy point.
[0210] Player level upgrade function:
[0211] The player object on this side obtains a certain amount of energy in each round. The energy not used in this round can be accumulated to the next round, and the energy can be used to upgrade the player level. The higher the player level, the higher the quality of the cards that can be drawn in each round, and some new abilities will be unlocked at the same time, such as talents, purchasable equipment, etc. Optionally, the upgrade button can display quality icons of different colors. As the player level is upgraded, the quality icon corresponding to the current player level will light up to indicate the quality of the cards that can be obtained at the current player level. The quality icon can be as follows: Figure 12 The small rounded rectangle shown is used as an example, but other shapes or forms are also possible.
[0212] For example, when our player object reaches player level 1 / 2 / 3 / 4 / 5, cards of quality 1 / 2 / 3 / 4 / 5 will be unlocked respectively.
[0213] The battle phase of each round:
[0214] 804. During the battle phase, the chess pieces of your side and the enemy side will automatically engage in battle in the chessboard area.
[0215] The automatic battle process between your own chess pieces and enemy chess pieces in the chessboard area does not require manual control by your own player object. The client or server automatically controls the battle between the chess pieces of both sides based on the chess position on the chessboard, chess piece attributes, chess piece level, chess piece skills, chess piece attributes, joint enhancement attributes between chess pieces, etc., until all the chess pieces of one side are killed.
[0216] Figure 13 The figure shows an automatic battle diagram of a player's chess piece 1301 and an enemy chess piece 1302 in a melee battle on the chessboard. The movement, skill release, and functions of the two chess pieces during the battle do not require manual control by the player.
[0217] Battle settlement phase:
[0218] 805. Calculate the health value of the virtual character of your player, and start the next round of turn-based battle or end the current game based on the health value.
[0219] Both the player object and the enemy player object have health points. After the round ends, the health points of the losing player object will be deducted by a certain amount. This amount can be determined based on the number of chess pieces remaining on the winning side, or it can be a fixed value, which is not limited in this embodiment.
[0220] When the health value is deducted to zero, the player is eliminated from the game.
[0221] When the health value has not been deducted to zero, the next round of turn-based battle will begin in this game, and the player will continue to fight with one of the n player objects until he is eliminated, or he will win the game as the last player who has not been eliminated.
[0222] In some embodiments, the damage calculation is based on the number of pieces remaining on the winning side's board. Figure 14 The figure shows that when the opponent is the loser, there is only one enemy chess piece 1401 left, and then the life value of the opponent's chess piece virtual character 1402 is calculated. A life value progress bar can be displayed above the head of the chess piece virtual character 1402.
[0223] Exemplary references Figure 15 The settlement information of the current game is displayed on the settlement interface. The settlement information includes player rankings, players used by each player, lineups, chess piece types, and other information.
[0224] In summary, the method provided in this embodiment, by introducing a "card" mechanism into a turn-based chess game, simplifies and integrates various battle preparation operations into the multi-card playing process, eliminating the concept of a shop. Players no longer need to repeatedly interact with multiple sub-areas on the traditional battle interface, such as the shop, chess piece preparation area, and chess piece battle area, to complete chess piece acquisition, upgrades, and battles. The traditional chess piece purchasing process, which requires users to actively select chess pieces, is replaced by a passive receipt of distributed cards. The game system replaces some of the user's tedious operations, allowing users to complete various battle preparation operations using essentially the same card playing operations as in a card game, thereby improving the efficiency of human-computer interaction.
[0225] Especially when playing turn-based chess games on small-screen terminals such as mobile phones or tablets, players can complete a variety of battle preparation operations based on the limited operations in the hand area. Compared with traditional auto chess, it can significantly improve the efficiency of human-computer interaction.
[0226] The method provided in this embodiment can eliminate the store in traditional Auto Chess based on the playing characteristics of the cards through chess piece cards. The tedious process that requires users to purchase the chess pieces they want from dozens of available chess pieces in the store is replaced by a process in which the game system automatically distributes several cards to the player, eliminating the need for users to manually select cards. This reduces the number of interactive operations required for users to obtain chess pieces and the amount of information that users need to process.
[0227] The method provided in this embodiment can eliminate effect buttons or controls in traditional Auto Chess through effect cards, eliminate the jungle phase in traditional Auto Chess through equipment cards, and incorporate the gameplay characteristics of each player through player cards. By simplifying the various mechanics of turn-based chess games into the card-playing process based on different card types, this can reduce the number of user interface elements required to be displayed on the battle interface, reducing the time users spend actively searching for relevant function entries, simplifying the operation difficulty of the player object, and improving the efficiency of human-computer interaction for the player object.
[0228] Figure 16 This is a flow chart of a method for displaying a game interface provided by an embodiment of the present application. Taking the method executed by a terminal as an example, Figure 16 As shown, the method includes:
[0229] 1601. The terminal displays a game interface of a turn-based chess game, wherein a virtual chessboard and a virtual chess player are displayed in the game interface, and the first chess piece of the virtual chess player is displayed on the virtual chessboard.
[0230] In an embodiment of the present application, in the game interface of a turn-based chess game, each player can place chess pieces on a virtual chess board by controlling a virtual chess player so as to play against chess pieces placed on the virtual chess board by other virtual chess players, and can also adjust the position of the chess pieces of the virtual chess player on the virtual chess board by controlling the virtual chess player to change the layout of the chess pieces of the virtual chess player on the virtual chess board, so that in subsequent games, the chess pieces of the virtual chess player can play against chess pieces of other virtual chess players according to the adjusted layout.
[0231] 1602. In response to the dragging operation on the first chess piece, the terminal displays, in the game interface, a virtual chess player dragging the first chess piece through a target prop.
[0232] In an embodiment of the present application, the drag operation on the first chess piece is used to drag the chess piece to change its position on the virtual chessboard. When the drag operation on the first chess piece is triggered, the game interface displays the virtual chess player dragging the first chess piece using the target prop, so that the first chess piece moves on the virtual chessboard in response to the drag operation. This demonstrates that the virtual chess player is adjusting the layout of the chess pieces on the virtual chessboard using the target prop, thereby enhancing the virtual chess player's sense of participation.
[0233] The target item is any type of item used to drag chess pieces on a virtual chessboard. Optionally, the target item is a virtual chess player's exclusive item, and different virtual chess players may have different exclusive items. For example, the target item may be a virtual weapon that is exclusive to the virtual chess player, and the virtual chess player can use their own exclusive virtual weapon to drag chess pieces on the virtual chessboard. Optionally, the target item is a item used to drag chess pieces, and different virtual chess players may have the same target item. For example, the target item may be a virtual fishing rod, and the virtual chess player can use the virtual fishing rod to drag chess pieces on the virtual chessboard. The drag operation can be any type of drag operation. For example, the drag operation includes a press operation and a move operation. The press operation refers to pressing the position of the first chess piece on the virtual chessboard, and the move operation refers to the operation of moving the piece while maintaining the press operation. For example, the drag operation of the first chess piece refers to the player pressing the display position of the first chess piece on the game interface with their finger and maintaining the press to move the finger on the game interface.
[0234] 1603. In response to the end of the dragging operation, the terminal displays that the first chess piece is placed at the first position, where the first position is the position where the dragging operation ends.
[0235] In an embodiment of the present application, when the drag operation of the first chess piece is triggered, the position of the first chess piece will be displayed in the duel interface as the drag operation changes. When the drag operation ends, the position where the drag operation ends is the adjusted position of the first chess piece. The first chess piece is then placed at the position where the drag operation ends to adjust the position of the first chess piece in the virtual chessboard.
[0236] In the solution provided in the embodiment of the present application, in response to the dragging operation of the chess piece on the virtual chess board, a picture of the virtual chess player dragging the chess piece through the props can be displayed, so as to reflect the solution of the virtual chess player adjusting the layout of the chess pieces on the virtual chess board through the target props, thereby enhancing the sense of participation of the virtual chess player in the process of adjusting the layout of the chess pieces, allowing the player to adjust the position of the virtual chess piece on the virtual chess board by playing the virtual chess player, improving the interaction effect between the virtual chess player and the player, improving the player's sense of substitution, and thus improving the player experience.
[0237] exist Figure 16 Based on the illustrated embodiment, the embodiment of the present application can also display the effect of a virtual chess player dragging chess pieces through target props at multiple locations in the game interface, and when the dragging operation is completed, the placement effect of the chess pieces can be displayed in the form of an animation. The specific process is detailed in the following embodiment.
[0238] Figure 17 This is a flow chart of a method for displaying a game interface provided by an embodiment of the present application. Taking the method executed by a terminal as an example, Figure 17 As shown, the method includes:
[0239] 1701. The terminal displays a game interface of a turn-based chess game, wherein a virtual chessboard and a virtual chess player are displayed in the game interface, and the first chess piece of the virtual chess player is displayed on the virtual chessboard.
[0240] In one possible implementation, step 1701 includes: displaying a game interface during the preparation phase of any round.
[0241] In an embodiment of the present application, a round of a turn-based chess game includes multiple rounds, each of which includes a preparation phase and a battle phase. During the preparation phase, a virtual chess player can use virtual cards to place and adjust the positions of chess pieces on a virtual chessboard. During the preparation phase, only the chess pieces of the virtual chess player controlled by the local client are displayed on the virtual chessboard. After the preparation phase, the battle phase begins. During the battle phase, the chess pieces of the virtual chess player controlled by the local client can be displayed on the virtual chessboard and automatically interact with the chess pieces of other virtual chess players.
[0242] Optionally, in the preparation phase, the virtual chess player is located on the virtual chessboard. In response to entering the battle phase, the game interface displays the virtual chess player leaving the virtual chessboard and standing outside the virtual chessboard.
[0243] In an embodiment of the present application, during the preparation stage, the virtual chess player is located on the virtual chessboard so that the virtual chess player can be displayed later to adjust the chess piece layout through the target props. When entering the battle stage, the virtual chess player leaves the virtual chessboard so that the virtual chess player's chess pieces can be displayed on the virtual chessboard later to interact with the chess pieces of other virtual chess players.
[0244] In one possible implementation, the game interface includes a hand area, in which virtual cards owned by the virtual chess player are displayed.
[0245] In one possible implementation, the game interface also includes an identification display area, in which multiple player identifications are displayed, and the multiple player identifications indicate multiple virtual players participating in the same game.
[0246] The player identifier can be represented in any form, for example, the player identifier is represented by at least one of the player's nickname, player's avatar, player's health, and player's player level.
[0247] 1702. In response to the dragging operation on the first chess piece, the terminal displays the target prop dragging the first chess piece on the virtual chessboard and plays a first animation in the chess player display area. The first animation is used to display the process of the virtual chess player dragging the first chess piece through the target prop.
[0248] In an embodiment of the present application, the game interface includes a player display area, which is located outside the virtual chessboard, and the virtual chess player is displayed in the player display area. When the terminal detects a drag operation on the first chess piece, it not only displays a picture of the target prop dragging the first chess piece on the virtual chessboard, but also plays an animation in the area where the virtual chess player is located to reflect that the virtual chess player is dragging the first chess piece through the target prop, thereby enhancing the visual display effect of the virtual chess player dragging the chess piece through the target prop, making it easier for the player to perceive the process of the virtual chess piece adjusting the position of the chess piece through the target prop, improving the interaction effect between the virtual chess player and the player, enhancing the player's sense of substitution, and thus improving the player experience.
[0249] In one possible implementation, step 1702 includes: in response to a dragging operation on the first chess piece, displaying on the virtual chessboard that one end of the target prop acts on the first chess piece to drag the first chess piece, playing a first animation in the chess player display area, the first animation is used to display that one end of the target prop acts on the first chess piece, and the virtual chess player holds the other end of the target prop and drags the first chess piece through the target prop, and the orientation of the target prop in the first animation is synchronized with the orientation of the target prop in the virtual chess board.
[0250] In an embodiment of the present application, one end of the target prop is displayed on the virtual chessboard acting on the first chess piece to reflect that the target prop is connected to the first chess piece and can drag the first chess piece through the target prop. The first animation shows that the virtual chess player holds the other end of the virtual prop and drags the first chess piece through the target prop, and the orientation of the target prop in the first animation is synchronized with the orientation of the target prop in the virtual chessboard, reflecting that the process of dragging the first chess piece through the target prop in the first animation is the same process as the process of dragging the first chess piece by the target prop displayed on the virtual chessboard, thereby enhancing the picture display effect, improving the interaction effect between the virtual chess player and the player, improving the player's sense of substitution, and thus improving the player experience.
[0251] Optionally, the first chess piece in the first animation is a reduced model of the first chess piece.
[0252] In an embodiment of the present application, a reduced model of the virtual chess player dragging the first chess piece through the target prop is displayed in the first animation to reflect the display effect of the virtual chess player dragging the first chess piece through the target prop.
[0253] In one possible implementation, the method further includes: during the process of the virtual chess player dragging the first chess piece through the target prop, displaying a floating special effect around the first chess piece, wherein the floating special effect indicates that the first chess piece is floating above the virtual chessboard.
[0254] In an embodiment of the present application, during the process of dragging a chess piece, a floating special effect is displayed around the chess piece to indicate that the chess piece is floating above the virtual chessboard, which can reflect that the chess piece is being dragged, thereby improving the display effect when the chess piece is being dragged.
[0255] like Figure 18 As shown, the target prop is the virtual spear 1801 of the virtual chess player, one end of the virtual spear 1801 acts on the first chess piece 1802, and the virtual chess player 1803 holds the other end of the virtual spear 1801. The virtual spear 1801 is displayed in the virtual chessboard to drag the first chess piece 1802, and a floating special effect 1804 is displayed around the first chess piece 1802. An animation of the virtual spear dragging the first chess piece is displayed in the chess player display area, and the direction of the virtual spear in the animation is synchronized with the direction of the virtual spear in the virtual chessboard, and the first chess piece 1802 in the animation is a reduced model of the first chess piece 1802 in the virtual chessboard.
[0256] It should be noted that the embodiment of the present application is described by taking the process of displaying the target prop dragging the first chess piece in both the virtual chessboard and the chess player display area as an example. In another embodiment, there is no need to execute the above step 1702, but other methods are adopted. In response to the dragging operation of the first chess piece, the virtual chess player is displayed in the game interface dragging the first chess piece through the target prop.
[0257] 1703. In response to the drag operation ending, the terminal plays a second animation at the first position, where the second animation is used to display a process of placing the first chess piece at the first position, where the drag operation ends.
[0258] In an embodiment of the present application, in response to the completion of the dragging operation on the first chess piece, a second animation is played at the position where the dragging operation ends to show that the first chess piece is placed at the position where the dragging operation ends, thereby enhancing the performance of the chess piece being placed at the adjusted position, so that the user can know the adjusted position of the first chess piece, thereby improving the player experience.
[0259] In a possible implementation, the second animation is used to display a process in which a first chess piece floating on the virtual chessboard falls to a first position on the virtual chessboard.
[0260] In a possible implementation, the second animation includes a placement animation played on the first chess piece and a process of placing the first chess piece at the first position.
[0261] Optionally, the process of obtaining the placement animation includes: the terminal sends an animation acquisition request to the server in response to the end of the dragging operation, the animation acquisition request carries the player identification of the virtual chess player, the server responds to the animation acquisition request, queries the animation corresponding to the player identification, obtains the placement animation, and sends the placement animation to the terminal. The terminal receives the placement animation sent by the server, displays the first chess piece placed in the first position, and plays the placement animation on the first chess piece.
[0262] In an embodiment of the present application, the server stores the placement animation of each virtual chess player dragging a chess piece. When the virtual chess player drags any chess piece, the terminal can interact with the server to obtain the placement animation of the virtual chess player dragging the chess piece, and then play the placement animation on the chess piece to reflect that the chess piece is placed at the position where the dragging operation ends when the dragging ends.
[0263] Optionally, the server stores animations of virtual chess players of various player types dragging chess pieces, and also stores the correspondence between each chess player identifier and the chess player type. The server responds to the animation acquisition request, queries the correspondence, obtains the chess player type to which the chess player identifier belongs, queries the animation corresponding to the chess player type, and obtains the placement animation.
[0264] It should be noted that the embodiment of the present application displays the placement process of the first chess piece in the form of playing an animation, while in another embodiment, there is no need to execute the above step 1703, but other methods are adopted to display the first chess piece placed in the first position in response to the end of the drag operation, and the first position is the position where the drag operation ends.
[0265] In the solution provided in the embodiment of the present application, in response to the dragging operation of the chess piece on the virtual chess board, a picture of the virtual chess player dragging the chess piece through the props can be displayed, so as to reflect the solution of the virtual chess player adjusting the layout of the chess pieces on the virtual chess board through the target props, thereby enhancing the sense of participation of the virtual chess player in the process of adjusting the layout of the chess pieces, allowing the player to adjust the position of the virtual chess piece on the virtual chess board by playing the virtual chess player, improving the interaction effect between the virtual chess player and the player, improving the player's sense of substitution, and thus improving the player experience.
[0266] exist Figure 16 Based on the illustrated embodiment, in the embodiment of the present application, a chess piece can only be dragged if it meets the dragging conditions, and if there are other chess pieces at the position where the dragging operation ends, the positions of the chess pieces will be displayed as swapped. The specific process is detailed in the following embodiment.
[0267] Figure 19 This is a flow chart of a method for displaying a game interface provided by an embodiment of the present application. Taking the method executed by a terminal as an example, Figure 19 As shown, the method includes:
[0268] 1901. The terminal displays a game interface of a turn-based chess game, wherein a virtual chessboard and a virtual chess player are displayed in the game interface, and the first chess piece of the virtual chess player is displayed on the virtual chessboard.
[0269] This step is similar to the above step 1701 and will not be repeated here.
[0270] 1902. When the first chess piece meets the dragging condition, the terminal responds to the dragging operation on the first chess piece and displays, in the game interface, a virtual chess player dragging the first chess piece through a target prop.
[0271] In an embodiment of the present application, not all chess pieces in the virtual chessboard can be dragged. Only chess pieces that meet the dragging conditions can be dragged. Therefore, when the first chess piece meets the dragging conditions, in response to the dragging operation of the first chess piece, the process of the virtual chess player dragging the first chess piece through the target prop is displayed, so as to enrich the gameplay of the game, add restrictions on the dragging of chess pieces, so as to affect the layout of chess pieces, avoid the chess pieces from being dragged infinitely and affecting the balance of the game, and improve the fairness of the game.
[0272] In a possible implementation, the dragging condition means that the first chess piece is a chess piece transformed from a virtual card in a previous round; or, the first chess piece has a movement skill.
[0273] In an embodiment of the present application, virtual cards can be used in the preparation phase of each round of the same game match, so that the virtual cards are converted into chess pieces on the virtual chessboard and placed on the virtual chessboard, and the positions of the chess pieces placed on the virtual chessboard can be adjusted in the preparation phase of each round. In the current preparation phase, if the first chess piece was placed in the preparation phase of the previous round, the first chess piece can be dragged to adjust the position of the first chess piece on the virtual chessboard.
[0274] In an embodiment of the present application, the chess pieces in the virtual chessboard may have movement skills, and the movement skills can adjust the positions of the chess pieces in the virtual chessboard. When the first chess piece has the movement skill, the first chess piece can be dragged to adjust the position of the first chess piece in the virtual chessboard.
[0275] In one possible implementation, in response to the dragging operation on the first chess piece, the terminal plays a third animation on the first chess piece in the game interface, where the third animation is used to display the process of the virtual chess player dragging the first chess piece through the target prop.
[0276] In an embodiment of the present application, the third animation is used to reflect the process of dragging the first chess piece through the target prop. The third animation is played on the first chess piece so that it can be reflected that the virtual chess player is dragging the first chess piece through the target prop.
[0277] Optionally, the process of obtaining the third animation includes: the terminal sends an animation acquisition request to the server in response to the drag operation of the first chess piece, the animation acquisition request carries the chess player identification of the virtual chess player, the server responds to the animation acquisition request, queries the animation corresponding to the chess player identification, obtains the third animation, sends the third animation to the terminal, the terminal receives the third animation sent by the server, and plays the third animation on the first chess piece.
[0278] In an embodiment of the present application, the server stores animations of each virtual chess player dragging a chess piece. When the virtual chess player drags any chess piece, the terminal can interact with the server to obtain the animation of the virtual chess player dragging the chess piece, and then play the animation on the chess piece to reflect the process of the virtual chess player dragging the chess piece.
[0279] Optionally, the server stores animations of virtual chess players of various player types dragging chess pieces, and also stores the correspondence between each chess player identifier and the chess player type. The server responds to the animation acquisition request, queries the correspondence, obtains the chess player type to which the chess player identifier belongs, queries the animation corresponding to the chess player type, and obtains the third animation.
[0280] Optionally, the animation acquisition request also carries the chess piece identifier of the first chess piece. The server also queries the floating special effect corresponding to the chess piece identifier and sends the floating special effect to the terminal. The terminal displays the floating special effect on the first chess piece.
[0281] In an embodiment of the present application, the terminal interacts with the server to obtain the floating special effect when the chess piece is dragged, and then can display the floating special effect on the dragged chess piece to enhance the display effect of the chess piece.
[0282] It should be noted that, in the embodiment of the present application, the dragging operation of the first chess piece can be triggered only when the first chess piece meets the dragging condition. In another embodiment, there is no need to execute the above step 1902, but other methods are adopted. In response to the dragging operation of the first chess piece, the virtual chess player is displayed in the game interface dragging the first chess piece through the target prop.
[0283] 1903. In response to the end of the drag operation, if the second chess piece has been placed at the first position, the terminal displays that the first chess piece is placed at the first position and the second chess piece is placed at the second position, where the first position is the position where the drag operation ends, and the second position is the position of the first chess piece before the first chess piece is dragged.
[0284] In an embodiment of the present application, the first position is the position where the first chess piece is expected to be placed during the dragging process of the first chess piece. When the second chess piece already exists at the first position, the first chess piece can be displayed as being placed at the first position, and other chess pieces already existing at the first position are placed at the position where the first chess piece was located before the first chess piece was dragged, thereby realizing the exchange of positions of the first chess piece and the second chess piece on the virtual chessboard, enriching the various possibilities of adjusting the chess pieces on the virtual chessboard, enriching the gameplay of the game, providing various possibilities for the layout of the chess pieces on the virtual chessboard, simplifying the process of adjusting the positions of the chess pieces on the virtual chessboard, and improving the efficiency of human-computer interaction.
[0285] It should be noted that the embodiment of the present application is described by taking the example of a chess piece already existing at the position where the dragging operation ends. In another embodiment, there is no need to execute the above step 1903, but other methods are adopted to display the first chess piece placed at the first position in response to the end of the dragging operation.
[0286] In the solution provided in the embodiment of the present application, in response to the dragging operation of the chess piece on the virtual chess board, a picture of the virtual chess player dragging the chess piece through the props can be displayed, so as to reflect the solution of the virtual chess player adjusting the layout of the chess pieces on the virtual chess board through the target props, thereby enhancing the sense of participation of the virtual chess player in the process of adjusting the layout of the chess pieces, allowing the player to adjust the position of the virtual chess piece on the virtual chess board by playing the virtual chess player, improving the interaction effect between the virtual chess player and the player, improving the player's sense of substitution, and thus improving the player experience.
[0287] In the above Figures 16 to 19 Based on the embodiment shown, in the embodiment of the present application, dragging a chess piece consumes energy. The chess piece on the virtual chessboard can be dragged only when the energy value is sufficient. That is, the process of dragging the first chess piece includes:
[0288] When the first energy value is not less than the second energy value, in response to the dragging operation of the first chess piece, the game interface displays the virtual chess player dragging the first chess piece through the target prop, the first energy value is the current energy value of the virtual chess player, and the second energy value is the energy value consumed by the virtual chess player to adjust the position of the chess piece.
[0289] In an embodiment of the present application, adjusting the position of a chess piece on a virtual chessboard consumes the energy possessed by the virtual chess player. When the energy value possessed by the virtual chess player is greater than the energy value consumed for adjusting the position of the chess piece, it indicates that the energy value currently possessed by the virtual chess player can satisfy the consumption for adjusting the position of the chess piece. Then, the dragging operation of the first chess piece can be triggered to adjust the position of the chess piece on the virtual chessboard. In this way, the gameplay of the game is enriched, restrictions are added to the dragging of chess pieces to affect the layout of the chess pieces, and the chess pieces are prevented from being dragged infinitely and affecting the balance of the game, thereby improving the fairness of the game.
[0290] In one possible implementation, when the first energy value is not less than the second energy value, in response to the dragging operation on the first chess piece, the energy value possessed by the virtual chess player is reduced by the second energy value.
[0291] In an embodiment of the present application, adjusting the position of the chess piece on the virtual chess board requires consuming the energy owned by the virtual chess player. When dragging the first chess piece, the energy value owned by the virtual chess player will reduce the energy value consumed by moving the first chess piece to ensure the accuracy of the energy value owned by the virtual chess player.
[0292] Optionally, when the first chess piece is placed at the position where the dragging operation ends in the game interface, the energy value of the virtual chess player is reduced by a second energy value.
[0293] In an embodiment of the present application, when the first chess piece is placed at the position where the dragging operation ends, indicating that the process of dragging the chess piece is ended, the energy value of the virtual chess player is reduced to ensure the accuracy of the energy value of the virtual chess player.
[0294] In the above Figures 16 to 19 On the basis of the illustrated embodiment, in the embodiment of the present application, during the process of the virtual chess player using the virtual card, the process of the virtual card being converted into a chess piece will be displayed, and the virtual chess player will be displayed dragging the converted chess piece through the target prop. That is, the method also includes: during the process of dragging the virtual card and when the virtual card enters the virtual chess board from the hand area, the virtual card is displayed to be converted into a third chess piece, and the virtual chess player is displayed to drag the third chess piece through the target prop; in response to the end of the dragging operation of the virtual card, the third chess piece is displayed to be placed in the third position, and the third position is the position where the dragging operation of the virtual card ends.
[0295] In an embodiment of the present application, the virtual chess player can use virtual cards in the form of dragging virtual cards to convert virtual cards into chess pieces on the virtual chess board. In the process of dragging the virtual cards in the hand area to the virtual chess board, once the virtual cards enter the virtual chess board, the virtual cards will be immediately converted into chess pieces, and the chess pieces converted by the virtual chess player dragging the virtual cards through the target props will be displayed, and the positions of the chess pieces converted by the virtual cards on the virtual chess board will change with the dragging operation, so as to improve the display effect of using virtual cards, enable users to perceive the effect of using virtual cards, and enable players to use virtual cards by playing the role of virtual chess players, thereby improving the interaction effect between virtual chess players and players, improving the player's sense of substitution, and thus improving the player experience.
[0296] The virtual cards are chess pieces, which are used to transform into chess pieces on a virtual chessboard. The game interface includes a hand area, in which the virtual cards owned by the virtual chess player are displayed. The location where the dragging operation of the virtual card ends is located on the virtual chessboard. In an embodiment of the present application, if the dragging operation of the virtual card ends at the location on the virtual chessboard, the chess piece transformed from the virtual card can be displayed and placed on the virtual chessboard. If the dragging operation of the virtual card ends at the location outside the virtual chessboard, the virtual card can be redisplayed in the hand area, which is equivalent to canceling the operation of using the virtual card.
[0297] It should be noted that in the above Figures 16 to 19 On the basis of the embodiment shown, in the embodiment of the present application, during the process of dragging the chess piece, the chess piece will avoid the chess piece already existing in the virtual chessboard, that is, the method also includes: in response to the dragging operation of the first chess piece, based on the first position, the second position and the chess piece in the virtual chessboard, determining a first path, the first path points from the first position to the second position, and there is no chess piece on the first path, the first position is the starting point of the dragging operation, and the second position is the end point of the dragging operation; in the game interface, the virtual chess player is displayed dragging the first chess piece along the first path through the target prop.
[0298] In an embodiment of the present application, taking into account the presence of multiple chess pieces on a virtual chessboard, in the process of dragging any chess piece, the path of the chess piece from a first position to a second position is determined through the starting point and end point of the dragging operation and the position of the chess piece on the virtual chessboard, so that in the process of dragging the chess piece through the dragging operation, the virtual chess player is displayed dragging the chess piece along the first path through the target prop to move, so that in the process of dragging the first chess piece, the first chess piece can avoid the chess pieces already existing on the virtual chessboard, avoiding the first chess piece from colliding with other chess pieces on the virtual chessboard, ensuring that the dragging process of the first chess piece matches the dragging operation, and ensuring the accuracy of the chess piece dragging process and the screen display effect.
[0299] In one possible implementation, the process of determining the second position includes: in response to the drag operation, predicting the second position based on the first position and a drag direction of the drag operation.
[0300] In an embodiment of the present application, in response to a drag operation, before the drag operation ends, the end point of the drag operation is predicted based on the starting point of the drag operation and the dragging direction of the drag operation, so that when the drag operation is triggered, the first chess piece can be dragged along the first path in a timely manner, and the display of the dragging process of the first chess piece is ensured to be as consistent as possible with the drag operation, thereby ensuring the screen display effect of the chess piece dragging process.
[0301] In one possible implementation, the process of dragging the first chess piece includes: when the chess piece moves to the second position, based on the second position and the dragging direction of the dragging operation, predicting the third position, the third position being the end point of the dragging operation; based on the second position, the third position and the chess pieces on the virtual chessboard, determining the second path, the second path points from the second position to the third position, and there are no chess pieces on the second path; in the game interface, displaying the virtual chess player dragging the first chess piece along the second path through the target prop.
[0302] In an embodiment of the present application, in response to a drag operation, before the drag operation is completed, the end point of the drag operation will be predicted multiple times, and the path will be determined according to the currently predicted end point to display the chess piece being dragged according to the currently determined path. When the chess piece is dragged to the end point of the current path, the next end point of the drag operation will be automatically predicted and the next path will be automatically determined to display the chess piece being dragged according to the currently determined path. In this way, it can be ensured that the chess pieces in the virtual chessboard can be avoided during the process of dragging the chess pieces, and the picture showing the chess piece being dragged is synchronized with the dragging operation as much as possible, so that the player can perceive that the position of the chess piece in the virtual chessboard changes with the drag operation triggered by the player, ensuring the accuracy of the chess piece dragging process and the picture display effect, thereby improving the player experience.
[0303] In the above Figures 16 to 19 Based on the embodiment shown, the embodiment of the present application also provides a flowchart of dragging chess pieces, such as Figure 20 As shown, the method includes:
[0304] 2001. The player selects a chess piece to drag.
[0305] 2002. The terminal determines whether the chess piece can be dragged. If "yes", a third animation is played on the chess piece based on the player type. If "no", a prompt is given that the chess piece cannot be dragged.
[0306] 2003. If the player does not release the chess piece while dragging it, the third animation will continue to play.
[0307] 2004. The player drags a chess piece to the target position. After releasing the piece, the chess piece placement animation is played on the chess piece based on the player type. If there is already a chess piece at the target position, it swaps positions with the chess piece at the target position.
[0308] In the above Figures 16 to 19 Based on the embodiment shown, the embodiment of the present application also provides a flowchart of dragging chess pieces, such as Figure 21 As shown, the method includes:
[0309] 2101. The player selects a chess piece and drags it. The terminal sends a first instruction to the logic layer of the game client through the presentation layer of the game client.
[0310] 2102. The terminal responds to the first instruction through the logic layer, obtains the chess player information and the dragged chess piece information, obtains the animation information of the virtual chess player dragging the chess piece based on the chess player information and the chess piece information, and sends the animation information of the virtual chess player dragging the chess piece to the presentation layer.
[0311] 2103. The terminal receives the animation information sent by the logic layer through the presentation layer, and based on the animation information, plays the animation on the dragged chess piece, and plays it continuously to reflect that the virtual chess player is dragging the chess piece through the target prop.
[0312] 2104. The player places the chess piece at the target location, and the terminal sends a second instruction to the logic layer through the presentation layer.
[0313] 2104. The terminal receives the second instruction sent by the presentation layer through the logic layer, obtains the animation information of the virtual chess player placing the chess piece in response to the second instruction, and sends the animation information of the virtual chess player placing the chess piece to the presentation layer.
[0314] 2105. The terminal receives the animation information sent by the logic layer through the presentation layer, and plays a placement animation on the chess piece based on the animation information.
[0315] The embodiment of the present application provides a method of expressing a virtual chess player using props to drag chess pieces. When the player is arranging a formation and dragging chess pieces, the target props of the virtual chess player will appear on the model of the chess piece, showing that it is the virtual chess player who is dragging the chess piece. In addition, this method of expression will be designed accordingly based on the target props of the virtual chess player, and the corresponding dragging expression will be played using the characteristic props of the virtual chess player, so that when the chess piece is dragged by the target prop, the effect of lifting the chess piece before moving can be reflected. When the player is dragging the chess piece, the corresponding picture is displayed to highlight that the virtual chess player is dragging and moving the chess piece, so that the player can adjust the position of the virtual chess piece on the virtual chessboard by playing the virtual chess player, and can feel the presence of the virtual chess player, thereby strengthening the player's sense of role-playing and involvement as much as possible, improving the interaction effect between the virtual chess player and the player, and thus improving the player experience.
[0316] Figure 22 This is a structural diagram of a game interface display device provided by an embodiment of the present application. Figure 22 As shown, the device includes:
[0317] The display module 2201 is used to display a game interface of a turn-based chess game, wherein the game interface displays a virtual chessboard and a virtual chess player, and the first chess piece of the virtual chess player is displayed on the virtual chessboard;
[0318] The display module 2201 is further configured to, in response to a drag operation on the first chess piece, display in the game interface that the virtual chess player is dragging the first chess piece through the target prop;
[0319] The display module 2201 is further configured to display, in response to the end of the dragging operation, that the first chess piece is placed at the first position, where the first position is the position where the dragging operation ends.
[0320] In one possible implementation, the game interface includes a player display area, which is located outside the virtual chessboard, and the virtual chess player is displayed in the player display area; the display module 2201 is used to respond to the dragging operation of the first chess piece, display the target prop dragging the first chess piece on the virtual chessboard, and play the first animation in the player display area, and the first animation is used to display the process of the virtual chess player dragging the first chess piece through the target prop.
[0321] In another possible implementation, the display module 2201 is further configured to display a floating special effect around the first chess piece while the virtual chess player is dragging the first chess piece through the target prop, wherein the floating special effect indicates that the first chess piece is floating above the virtual chessboard.
[0322] In another possible implementation, the display module 2201 is configured to play a second animation at the first position in response to the end of the dragging operation, where the second animation is configured to display a process of placing the first chess piece at the first position.
[0323] In another possible implementation, the display module 2201 is used to display, in response to the end of the dragging operation, that the first chess piece is placed at the first position and the second chess piece is placed at the second position, where the second position is the position of the first chess piece before the first chess piece is dragged.
[0324] In another possible implementation, the display module 2201 is configured to display, in the game interface, a virtual player dragging the first chess piece through a target item in response to a drag operation on the first chess piece when the first chess piece meets the dragging condition.
[0325] In another possible implementation, the display module 2201 is used to, in response to the dragging operation of the first chess piece, display the virtual chess player dragging the first chess piece through the target prop in the game interface when the first energy value is not less than the second energy value, wherein the first energy value is the energy value currently possessed by the virtual chess player, and the second energy value is the energy value consumed by the virtual chess player to adjust the position of the chess piece.
[0326] In another possible implementation, the game interface includes a hand area, in which virtual cards owned by the virtual chess player are displayed; the display module 2201 is also used to display the virtual card being converted into a third chess piece when the virtual card is dragged from the hand area to the virtual chess board, and to display the virtual chess player dragging the third chess piece through the target prop; in response to the completion of the dragging operation of the virtual card, the third chess piece is displayed as being placed in a third position, and the third position is the position where the dragging operation of the virtual card is completed.
[0327] In another possible implementation, the display module 2201 is used to determine a first path in response to a drag operation on the first chess piece based on the first position, the second position and the chess pieces on the virtual chessboard, where the first path points from the first position to the second position, and there is no chess piece on the first path. The first position is the starting point of the drag operation, and the second position is the end point of the drag operation; in the game interface, the virtual chess player is displayed dragging the first chess piece along the first path through the target prop.
[0328] In another possible implementation, Figure 23 As shown, the device also includes:
[0329] The prediction module 2202 is configured to predict a second position based on the first position and a dragging direction of the dragging operation in response to the dragging operation.
[0330] In another possible implementation, the prediction module 2202 is further configured to, when the chess piece moves to the second position, predict a third position based on the second position and the dragging direction of the drag operation, where the third position is the end point of the drag operation; determine a second path based on the second position, the third position, and the chess pieces on the virtual chessboard, where the second path points from the second position to the third position, and no chess piece exists on the second path;
[0331] The display module 2201 is further configured to display, in the game interface, the virtual chess player dragging the first chess piece along the second path using the target prop.
[0332] It should be noted that the game interface display device provided in the above embodiment is merely an example of the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the game interface display device provided in the above embodiment and the game interface display method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0333] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the game interface display method of the above embodiment.
[0334] Optionally, the computer device is provided as a terminal. Figure 24 FIG2 shows a block diagram of a terminal 2400 according to an exemplary embodiment of the present application. The terminal 2400 includes a processor 2401 and a memory 2402 .
[0335] The processor 2401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0336] Memory 2402 may include one or more computer-readable storage media, which may be non-transitory. Memory 2402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 2402 is used to store at least one computer program, which is executed by processor 2401 to implement the game interface display method provided in the method embodiment of the present application.
[0337] In some embodiments, terminal 2400 may optionally include a peripheral device interface 2403 and at least one peripheral device. Processor 2401, memory 2402, and peripheral device interface 2403 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 2403 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 2404, a display screen 2405, a camera assembly 2406, an audio circuit 2407, and a power supply 2408.
[0338] The peripheral device interface 2403 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 2401 and the memory 2402. In some embodiments, the processor 2401, the memory 2402, and the peripheral device interface 2403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2401, the memory 2402, and the peripheral device interface 2403 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0339] RF circuit 2404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. RF circuit 2404 communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 2404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. RF circuit 2404 optionally includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. RF circuit 2404 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, RF circuit 2404 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0340] The display screen 2405 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2405 is a touch screen display, the display screen 2405 also has the ability to collect touch signals on the surface or above the surface of the display screen 2405. The touch signal can be input as a control signal to the processor 2401 for processing. At this time, the display screen 2405 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 2405, which is set on the front panel of the terminal 2400; in other embodiments, there can be at least two display screens 2405, which are respectively set on different surfaces of the terminal 2400 or in a folding design; in other embodiments, the display screen 2405 can be a flexible display screen, which is set on the curved surface or folding surface of the terminal 2400. Even more, the display screen 2405 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 2405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0341] The camera assembly 2406 is used to capture images or videos. Optionally, the camera assembly 2406 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2406 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0342] The audio circuit 2407 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 2401 for processing, or input into the radio frequency circuit 2404 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 2400. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 2401 or the radio frequency circuit 2404 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2407 may also include a headphone jack.
[0343] Power supply 2408 is used to power various components in terminal 2400. Power supply 2408 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 2408 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is charged via a wired line, while a wireless rechargeable battery is charged via a wireless coil. The rechargeable battery can also support fast charging technology.
[0344] In some embodiments, the terminal 2400 further includes one or more sensors 2410 , including but not limited to: an acceleration sensor 2411 , a gyroscope sensor 2412 , a pressure sensor 2413 , an optical sensor 2414 , and a proximity sensor 2415 .
[0345] The accelerometer 2411 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal 2400. For example, the accelerometer 2411 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 2401 can control the display screen 2405 to display the user interface in either a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 2411. The accelerometer 2411 can also be used to collect game or user motion data.
[0346] The gyroscope sensor 2412 can detect the orientation and rotation angle of the terminal 2400. It can work in conjunction with the accelerometer 2411 to collect the user's 3D movements on the terminal 2400. Based on the data collected by the gyroscope sensor 2412, the processor 2401 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0347] The pressure sensor 2413 can be provided on the side frame of the terminal 2400 and / or below the display screen 2405. When the pressure sensor 2413 is provided on the side frame of the terminal 2400, it can detect the user's gripping signal of the terminal 2400, and the processor 2401 can perform left-hand or right-hand recognition or shortcut operations based on the gripping signal collected by the pressure sensor 2413. When the pressure sensor 2413 is provided below the display screen 2405, the processor 2401 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 2405. Operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0348] Optical sensor 2414 is used to detect ambient light intensity. In one embodiment, processor 2401 can control the display brightness of display screen 2405 based on the ambient light intensity detected by optical sensor 2414. Specifically, when the ambient light intensity is high, the display brightness of display screen 2405 is increased; when the ambient light intensity is low, the display brightness of display screen 2405 is decreased. In another embodiment, processor 2401 can also dynamically adjust the shooting parameters of camera assembly 2406 based on the ambient light intensity detected by optical sensor 2414.
[0349] Proximity sensor 2415, also known as a distance sensor, is provided on the front panel of terminal 2400. Proximity sensor 2415 is used to detect the distance between the user and the front of terminal 2400. In one embodiment, when proximity sensor 2415 detects that the distance between the user and the front of terminal 2400 is gradually decreasing, processor 2401 controls display screen 2405 to switch from the screen-on state to the screen-off state. When proximity sensor 2415 detects that the distance between the user and the front of terminal 2400 is gradually increasing, processor 2401 controls display screen 2405 to switch from the screen-off state to the screen-on state.
[0350] Those skilled in the art will understand that Figure 24 The structure shown in the figure does not constitute a limitation on the terminal 2400, and the terminal 2400 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0351] Optionally, the computer device is provided as a server. Figure 252 is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 2500 may vary significantly due to different configurations or performances, and may include one or more processors (Central Processing Units, CPUs) 2501 and one or more memories 2502. The memories 2502 store at least one computer program, which is loaded and executed by the processor 2501 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be described in detail here.
[0352] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one computer program. The at least one computer program is loaded and executed by a processor to implement the operations performed by the game interface display method of the above embodiment.
[0353] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the operations performed by the game interface display method of the above embodiment.
[0354] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0355] The above description is merely an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiments of the present application shall be included in the scope of protection of the present application.
Claims
1. A game interface display method, characterized in that: The method comprises: Displaying a game interface of a turn-based chess game, wherein the game interface displays a virtual chessboard and a virtual chess player, and the first chess piece of the virtual chess player is displayed on the virtual chessboard; In response to the dragging operation on the first chess piece, displaying in the game interface that the virtual chess player drags the first chess piece through the target prop; In response to the drag operation ending, the first chess piece is displayed as being placed at a first position, where the first position is the position where the drag operation ends.
2. The method according to claim 1, characterized in that The game interface includes a player display area, the player display area is located outside the virtual chessboard, and the virtual player is displayed in the player display area; in response to the drag operation on the first chess piece, displaying in the game interface that the virtual player drags the first chess piece through the target prop, includes: In response to the dragging operation on the first chess piece, the target prop is displayed dragging the first chess piece on the virtual chessboard, and a first animation is played in the chess player display area, wherein the first animation is used to display the process of the virtual chess player dragging the first chess piece through the target prop.
3. The method according to claim 1, characterized in that The method further comprises: During the process of the virtual chess player dragging the first chess piece through the target prop, a floating special effect is displayed around the first chess piece, and the floating special effect indicates that the first chess piece is floating above the virtual chessboard.
4. The method according to claim 1, wherein In response to the dragging operation ending, displaying that the first chess piece is placed at the first position includes: In response to the dragging operation ending, a second animation is played at the first position, where the second animation is used to display a process of placing the first chess piece at the first position.
5. The method according to claim 1, wherein In response to the dragging operation ending, displaying that the first chess piece is placed at the first position includes: In response to the end of the dragging operation, if a second chess piece has been placed at the first position, it is displayed that the first chess piece is placed at the first position and the second chess piece is placed at a second position, where the second position is the position of the first chess piece before the first chess piece is dragged.
6. The method according to claim 1, wherein In response to the dragging operation on the first chess piece, displaying, in the game interface, that the virtual chess player drags the first chess piece through the target prop includes: When the first chess piece meets the dragging condition, in response to the dragging operation on the first chess piece, the game interface displays the virtual chess player dragging the first chess piece through the target prop.
7. The method according to claim 1, characterized in that In response to the dragging operation on the first chess piece, displaying, in the game interface, that the virtual chess player drags the first chess piece through the target prop includes: When the first energy value is not less than the second energy value, in response to the dragging operation of the first chess piece, the game interface displays the virtual chess player dragging the first chess piece through the target prop, the first energy value is the current energy value of the virtual chess player, and the second energy value is the energy value consumed by the virtual chess player to adjust the position of the chess piece.
8. The method according to claim 1, characterized in that The game interface includes a hand area, in which virtual cards owned by the virtual chess player are displayed; the method further includes: During the process of dragging the virtual card, when the virtual card enters the virtual chessboard from the hand area, displaying that the virtual card is transformed into a third chess piece, and displaying that the virtual chess player drags the third chess piece through the target prop; In response to the dragging operation on the virtual card being completed, the third chess piece is displayed as being placed at a third position, where the dragging operation on the virtual card is completed.
9. The method according to claim 1, characterized in that In response to the dragging operation on the first chess piece, displaying, in the game interface, that the virtual chess player drags the first chess piece through the target prop includes: In response to a drag operation on the first chess piece, determining a first path based on a first position, a second position, and chess pieces on the virtual chessboard, wherein the first path points from the first position to the second position, and no chess piece exists on the first path, the first position being a starting point of the drag operation, and the second position being an end point of the drag operation; In the game interface, the virtual chess player is displayed dragging the first chess piece along the first path through the target prop.
10. The method according to claim 9, characterized in that Before determining the first path in response to the dragging operation on the first chess piece based on the first position, the second position, and the chess pieces on the virtual chessboard, the method further includes: In response to the drag operation, the second position is predicted based on the first position and a drag direction of the drag operation.
11. The method according to claim 10, characterized in that After displaying, in the game interface, that the virtual player is dragging the first chess piece along the first path using the target prop, the method further includes: When the chess piece moves to the second position, predicting a third position based on the second position and the dragging direction of the dragging operation, the third position being the end point of the dragging operation; Determine a second path based on the second position, the third position, and the chess pieces on the virtual chessboard, where the second path points from the second position to the third position, and no chess pieces exist on the second path; In the game interface, the virtual chess player is displayed dragging the first chess piece along the second path through the target prop.
12. A game interface display device, characterized in that: The device comprises: A display module, configured to display a game interface of a turn-based chess game, wherein the game interface displays a virtual chessboard and a virtual chess player, and the first chess piece of the virtual chess player is displayed on the virtual chessboard; The display module is further configured to, in response to a drag operation on the first chess piece, display, in the game interface, the virtual chess player dragging the first chess piece via a target prop; The display module is further configured to display, in response to the end of the dragging operation, that the first chess piece is placed at a first position, where the first position is the position where the dragging operation ends.
13. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the game interface display method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the game interface display method according to any one of claims 1 to 11.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the operations performed by the game interface display method according to any one of claims 1 to 11 are implemented.
Citation Information
Cited By
Virtual card selection method and system for multi-stage animation arrangement
CN121725110A