Interaction method and apparatus, computer device, and storage medium

By acquiring and displaying the opponent's chessboard image in turn-based chess games, the problem of high terminal resource consumption was solved, enabling efficient lineup viewing and saving rendering time, thus improving the user experience.

WO2026061123A1PCT designated stage Publication Date: 2026-03-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-07-22
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

In existing technologies, turn-based chess games consume a lot of terminal resources when rendering the opponent's chessboard, resulting in high requirements for the terminal and affecting the efficiency of viewing the lineup.

Method used

In turn-based chess games, in response to the opponent's board viewing operation, the system retrieves and displays the opponent's board image without having to fetch and render the opponent's board data again. The system simply displays the board image on the terminal and adds prompts to reflect the degree of overlap of pieces or the type of formation.

Benefits of technology

It saves terminal resources, reduces terminal requirements, improves lineup viewing efficiency, and ensures display effect and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025109815_26032026_PF_FP_ABST
    Figure CN2025109815_26032026_PF_FP_ABST
Patent Text Reader

Abstract

An interaction method and apparatus, a computer device, and a storage medium, relating to the technical field of computers. The method comprises: displaying a first virtual chess piece in a first virtual chessboard of a turn-based board game (201); in response to a chessboard viewing operation of a first opponent, acquiring a chessboard image corresponding to the first opponent, the chessboard image comprising a screenshot of a second virtual chessboard, the second virtual chessboard being a virtual chessboard of the first opponent (202); and displaying the chessboard image (203).
Need to check novelty before this filing date? Find Prior Art

Description

Interaction method and device, computer device and storage medium

[0001] The present application claims priority to the Chinese Patent Application No. 202411302983.4, filed on September 18, 2024, and entitled "Interaction method and device, computer device and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the field of computer technology, in particular to an interaction method, device, computer device and storage medium. BACKGROUND

[0003] A round chess game is a multi-player chess game. The players can place chess pieces on a chessboard, group the players two by two, automatically control the chess pieces of the two players on the chessboard to fight, and display the fighting result. The losing side deducts the life value, and finally determines the fighting rank according to the elimination order. SUMMARY

[0004] Embodiments of the present application provide an interaction method, device, computer device and storage medium, which can save device resources, reduce the requirements for the device, and ensure the team viewing efficiency. The technical solution is as follows:

[0005] In one aspect, an interaction method is provided, which includes:

[0006] In a first virtual chessboard of a round chess game, a first virtual chess piece is displayed;

[0007] In response to a chessboard viewing operation of a first fighting side, a chessboard image corresponding to the first fighting side is obtained, the chessboard image including a screenshot of a second virtual chessboard, and the second virtual chessboard being a virtual chessboard of the first fighting side;

[0008] The chessboard image is displayed.

[0009] In another aspect, an interaction method is provided, which includes:

[0010] A chessboard viewing request sent by a first terminal is received, the chessboard viewing request being used to request a virtual chessboard of any fighting side;

[0011] In response to the chessboard viewing request, a screenshot of a first virtual chessboard is obtained, the first virtual chessboard being a virtual chessboard of the fighting side;

[0012] add prompt information in the screenshot to obtain the board image corresponding to the opponent, the prompt information being used to represent coincidence of the first virtual chess piece and a second virtual chess piece or an army type that the first virtual chess piece is about to reach, the first virtual chess piece being a virtual chess piece corresponding to the first terminal, and the second virtual chess piece being a virtual chess piece of the opponent;

[0013] send the board image corresponding to the opponent to the first terminal.

[0014] In another aspect, an interactive device is provided, and the device includes:

[0015] a display module configured to display a first virtual chess piece in a first virtual chessboard of a turn-based chess game;

[0016] an acquisition module configured to, in response to a board viewing operation of a first opponent, acquire a board image corresponding to the first opponent, the board image including a screenshot of a second virtual chessboard, the second virtual chessboard being a virtual chessboard of the first opponent;

[0017] the display module is further configured to display the board image.

[0018] In another aspect, an interactive device is provided, and the device includes:

[0019] a receiving module configured to receive a board viewing request sent by a first terminal, the board viewing request being used to request a virtual chessboard of any opponent;

[0020] an acquisition module configured to, in response to the board viewing request, acquire a screenshot of a first virtual chessboard, the first virtual chessboard being a virtual chessboard of the opponent;

[0021] an adding module configured to add prompt information in the screenshot to obtain the board image corresponding to the opponent, the prompt information being used to represent coincidence of the first virtual chess piece and a second virtual chess piece or an army type that the first virtual chess piece is about to reach, the first virtual chess piece being a virtual chess piece corresponding to the first terminal, and the second virtual chess piece being a virtual chess piece of the opponent;

[0022] a sending module configured to send the board image corresponding to the opponent to the first terminal.

[0023] In another aspect, a computer device is provided, and the computer device includes a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement operations performed by the interactive method as described in the above aspects.

[0024] In another aspect, a computer-readable storage medium is provided, the computer-readable storage medium storing at least one computer program, the at least one computer program being loaded and executed by a processor to implement operations performed by the interaction method according to the above aspect.

[0025] In yet another aspect, a computer program product is provided, comprising a computer program, the computer program being executed by a processor to implement operations performed by the interaction method according to the above aspect.

[0026] In the scheme provided by the embodiments of the present application, in the process of a round game chess game, in response to a chessboard viewing operation on any one of the two parties, a chessboard image corresponding to the two parties is obtained, and the piece formation of the two parties is presented by displaying the chessboard image. The terminal does not need to pull the chessboard data of the two parties to render a virtual chessboard of the two parties. This formation viewing method occupies less resources of the terminal, can save resources of the terminal, reduces the requirements on the terminal, and can save the time-consuming of rendering the virtual chessboard of the two parties, thereby ensuring the formation viewing efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0027] FIG. 1 is a structural block diagram of a computer system provided by an embodiment of the present application;

[0028] FIG. 2 is a flowchart of an interaction method provided by an embodiment of the present application;

[0029] FIG. 3 is a flowchart of another interaction method provided by an embodiment of the present application;

[0030] FIG. 4 is a flowchart of another interaction method provided by an embodiment of the present application;

[0031] FIG. 5 is a flowchart of another interaction method provided by an embodiment of the present application;

[0032] FIG. 6 is a flowchart of another interaction method provided by an embodiment of the present application;

[0033] FIG. 7 is a flowchart of another interaction method provided by an embodiment of the present application;

[0034] FIG. 8 is a flowchart of another interaction method provided by an embodiment of the present application;

[0035] FIG. 9 is a schematic diagram of a pressing operation provided by an embodiment of the present application;

[0036] FIG. 10 is a flowchart of another interaction method provided by an embodiment of the present application;

[0037] FIG. 11 is a schematic diagram of a virtual chessboard provided by an embodiment of the present application;

[0038] FIG. 12 is a schematic diagram of a chessboard image provided by an embodiment of the present application;

[0039] FIG. 13 is a schematic diagram of another chessboard image according to an embodiment of the present application;

[0040] FIG. 14 is a schematic diagram of still another chessboard image according to an embodiment of the present application;

[0041] FIG. 15 is a schematic diagram of still another chessboard image according to an embodiment of the present application;

[0042] FIG. 16 is a flowchart of still another interaction method according to an embodiment of the present application;

[0043] FIG. 17 is a schematic diagram of a structure of an interaction device according to an embodiment of the present application;

[0044] FIG. 18 is a schematic diagram of a structure of an interaction device according to an embodiment of the present application;

[0045] FIG. 19 is a schematic diagram of a structure of a terminal according to an embodiment of the present application;

[0046] FIG. 20 is a schematic diagram of a structure of a server according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] The terms “first”, “second”, “third”, “fourth”, “fifth”, “sixth” and the like in the present application can be used herein to describe various concepts, but unless specifically stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the present application, a first virtual chess piece can be referred to as a second virtual chess piece, and similarly, a second virtual chess piece can be referred to as a first virtual chess piece.

[0048] The terms “at least one”, “multiple”, “each”, “any” used in the present application include one, two or more than two, multiple includes two or more than two, and each refers to each of the corresponding multiple, and any refers to any one of the multiple. For example, a plurality of virtual chess pieces includes 3 virtual chess pieces, and each refers to each of the 3 virtual chess pieces, and any refers to any one of the 3 virtual chess pieces, which can be a first virtual chess piece, or a second virtual chess piece, or a third virtual chess piece.

[0049] 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 for analysis, stored data, displayed data, etc.) and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the first battle information or prompt information involved in the present application is obtained under full authorization.

[0050] In the related art, during a game, a user can view the formation on the board of the opponent through a terminal, the terminal interacts with a server to pull the board data corresponding to the opponent, and then renders the board of the opponent and the pieces located in the board based on the pulled board data, for the user to view, so that the user adjusts the layout of the own pieces according to the formation of the opponent. However, this viewing method will occupy more resources of the terminal during rendering, and has high requirements on the terminal.

[0051] Turn-based chess game: refers to a chess game in which "pieces" are arranged in advance before the game, and the "pieces" can automatically fight according to the pre-arrangement during the game. The "pieces" are usually represented by virtual characters, such as virtual heroes. During the game, the virtual characters automatically release various skills to fight. The game usually adopts a turn-based system, and when the "pieces" of one party are all killed (i.e., the life value of the virtual character is reduced to zero), the party is the losing party in this round of game. In some embodiments, in addition to the "piece-type virtual characters" for playing the game, each party also has a player character representing the current user participating in the game. The player character cannot be moved to the battle area or the piece candidate area as a "piece". The player character also has a life value (or blood value), which is reduced (in the case of losing) or unchanged (in the case of winning) according to the result of each game. When the life value of the player character is reduced to zero, the user corresponding to the player character exits the game, and the remaining user continues the game. Optionally, the turn-based chess game includes a self-moving chess game.

[0052] Self-moving chess game: a kind of in-game collectible hero chess multi-player turn-based competitive game. For example, there are eight or six players in the game, each occupying a virtual chessboard area. Two players among the multiple players engage in a one-on-one battle. In each round of a game, there are two stages: the preparation stage and the battle stage. In the preparation stage, the user purchases pieces (heroes) in the store and arranges the pieces on the virtual chessboard. In the battle stage, the formation of both parties is locked, and the pieces will automatically fight until all the pieces of one party are killed. The party whose pieces are all killed is the loser of this round and will be deducted a certain amount of blood. The game rounds are repeated, new opponents are matched, and the player whose life value is ≤0 is eliminated. The last surviving player will win the game (1st place).

[0053] Virtual chessboard: refers to the area in the turn-based chess game interface for preparing for the battle and conducting the battle, which can be any one of two-dimensional virtual chessboard, 2.5-dimensional virtual chessboard and three-dimensional virtual chessboard, which is not limited in the application. The virtual chessboard of the chess robot is divided into a battle area and a chess piece candidate area. The battle area includes a plurality of chess grids of the same size, which are used to place the chess pieces for the battle; the chess piece candidate area includes a plurality of candidate chess piece positions, which are used to place the candidate chess pieces that do not participate in the battle during the battle and can be dragged and placed in the battle area during the preparation stage.

[0054] Regarding the setting mode of the chess grid in the battle area, in some embodiments, the battle area includes n(row) x m(column) chess grids, illustratively, n is an integer multiple of 2, and adjacent two rows of chess grids are aligned, or adjacent two rows of chess grids are staggered. In addition, the battle area is evenly divided into two parts according to the row, which are the home battle area and the enemy battle area, respectively, 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 user can only place the chess pieces in the home battle area. In other embodiments, the battle area is evenly divided into two parts according to the column, which are the home battle area and the enemy battle area, respectively, 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 grid can be any one of a square, a rectangle, a circle, a hexagon, and the shape of the chess grid is not limited in the embodiments of the application.

[0055] Bond: in the game of the chess robot, the bond can provide additional strength to the virtual chess piece, and the activation of the bond requires at least two virtual chess pieces with the bond to be on the field at the same time. Each virtual chess piece has at least two bonds. Optionally, the bond corresponds to a level, the level of the bond increases with the increase in the number of virtual chess pieces with the bond on the field at the same time, and the effect of the bond is enhanced with the increase in the level of the bond. For example, a certain bond indicates the number of warrior virtual chess pieces on the field at the same time, and the minimum number corresponding to the bond is 2. Taking the example of increasing the attack power of the warrior virtual chess piece with the bond, when two warrior virtual chess pieces have been on the field in the battle area, the bond is activated, which can increase the attack power of the warrior virtual chess pieces on the field in the battle area by 30; when three warrior virtual chess pieces have been on the field in the battle area, the level of the bond is increased, which can increase the attack power of the warrior virtual chess pieces on the field in the battle area by 40; and so on.

[0056] Virtual equipment: In a MOBA game, each piece of chess can generally wear 3 pieces of virtual equipment (or other pieces of equipment), which can provide heroes with attributes or effects such as attack power, defense power, health, healing, penetration, shield, etc. The MOBA game in the related art usually has a wild fighting link. After the player defeats the wild monster, the virtual equipment dropped by the wild monster is picked up to the backpack. The virtual equipment can also be synthesized between the scattered pieces, so as to obtain higher quality equipment.

[0057] Virtual chess player: refers to a virtual role played by a player, each virtual chess player has different special abilities, which can help the player to play the game better.

[0058] Virtual chess piece: refers to a chess piece placed on a virtual chessboard in a MOBA game, including a virtual chess piece in a battle area and a candidate virtual chess piece in a candidate virtual chess piece list (i.e., a candidate virtual chess piece in a virtual store), wherein the virtual chess piece in the battle area includes a virtual chess piece in the battle area and a virtual chess piece in the standby area. The virtual chess piece can be a virtual person, a virtual animal, an animation character, etc., and the virtual chess piece can be displayed by a three-dimensional model. The candidate virtual chess piece can be combined with the existing virtual chess piece of the user to trigger a gain battle effect, and can also be used as a virtual chess piece alone to participate in the game battle.

[0059] Optionally, the position of the virtual chess piece in the battle area on the virtual chessboard can be changed. In the preparation stage, the user can adjust the position of the virtual chess piece in the battle area, adjust the position of the virtual chess piece in the standby area, move the virtual chess piece in the battle area to the standby area (when there is an idle standby chess grid in the standby area), or move the virtual chess piece in the standby area to the battle area. It should be noted that in the battle stage, the position of the virtual chess piece in the standby area can also be adjusted.

[0060] Optionally, in the battle stage, the position of the virtual chess piece in the battle area is different from that in the preparation stage. For example, in the battle stage, the virtual chess piece can automatically move from the home battle area to the enemy battle area and attack the enemy virtual chess piece; or the virtual chess piece can automatically move from a certain position in the home battle area to another position in the home battle area.

[0061] In addition, in the preparation stage, the virtual chess piece can only be set in the home battle area, and the virtual chess piece set by the enemy is invisible on the virtual chessboard.

[0062] For the acquisition method of the virtual chess piece, in some embodiments, during the game, the user can purchase the virtual chess piece using virtual gold coins in the preparation stage.

[0063] Optionally, the virtual chess pieces have multiple levels, and multiple low-level virtual chess pieces of the same type can be combined to form a high-level virtual chess piece. For example, the levels of virtual chess pieces are indicated by stars, with 1-star virtual chess pieces being the lowest level, 2-star virtual chess pieces being the next higher level, and 3-star virtual chess pieces being the next higher level. For example, with the highest level of virtual chess pieces being 3-star, 3 1-star virtual chess pieces can be combined to form 1 2-star virtual chess piece, and 3 2-star virtual chess pieces can be combined to form 1 3-star virtual chess piece, i.e., 9 1-star virtual chess pieces can be combined to form 1 3-star virtual chess piece. Also, 1 3-star virtual chess piece is equivalent to 9 1-star virtual chess pieces.

[0064] Also, for the same type of virtual chess piece, the ability value of a high-level virtual chess piece is higher than that of a low-level virtual chess piece. The ability value is the attack power, defense value, etc. of the virtual chess piece. For example, for the same type of warrior virtual chess piece, the attack power of a 1-star warrior virtual chess piece is lower than that of a 2-star warrior virtual chess piece, and the attack power of a 2-star warrior virtual chess piece is lower than that of a 3-star warrior virtual chess piece.

[0065] FIG. 1 shows a structural block diagram of a computer system according to an example embodiment of the present application. The computer system 100 includes a first terminal 110, a server 120, and a second terminal 130.

[0066] The first terminal 110 has installed and running thereon a client 111 supporting a virtual environment, which is a turn-based chess game program. When the first terminal runs the client 111, a user interface of the client 111 is displayed on a screen of the first terminal 110. The client can be a client of a Gobang game. The first terminal 110 is a terminal used by a first user 112. The first user 112 uses the first terminal 110 to arrange chess pieces in a battle area of a virtual chessboard in a preparation phase of a game, and the chess pieces are automatically controlled by the first terminal 110 or the server 120 to battle according to the attributes, skills, and arrangement of the chess pieces in the battle area in a battle phase.

[0067] The second terminal 130 has installed and running thereon a client 131 supporting a virtual environment, which is a turn-based chess game program. When the second terminal 130 runs the client 131, a user interface of the client 131 is displayed on a screen of the second terminal 130. The client can be a client of a Gobang game. The second terminal 130 is a terminal used by a second user 132. The second user 132 uses the second terminal 130 to arrange chess pieces in a battle area of a virtual chessboard in a preparation phase of a game, and the chess pieces are automatically controlled by the second terminal 130 or the server 120 to battle according to the attributes, skills, and arrangement of the chess pieces in the battle area in a battle phase.

[0068] Optionally, the chess pieces laid by the first user through the first terminal 110 and the second user through the second terminal 130 are located in different battle areas of the same virtual chessboard, that is, the first user and the second user are in the same virtual chessboard of the same game of the turn-based chess game. Alternatively, the chess pieces laid by the first user through the first terminal 110 and the second user through the second terminal 130 are located in different virtual chessboards, that is, the first user and the second user are in different virtual chessboards of the same game of the turn-based chess game. It should be noted that, in an optional embodiment, a game of the turn-based chess game is participated by six user accounts, and in each round, the six user accounts are matched two by two, and the two user accounts matched together battle in the same virtual chessboard in the current round.

[0069] Optionally, the clients installed on the first terminal 110 and the second terminal 130 are the same, or the clients installed on the two terminals are the same type of clients on different operating system platforms. The first terminal 110 can be referred to as one of a plurality of terminals, and the second terminal 130 can be referred to as another of the plurality of terminals, and the embodiment is only exemplified by the first terminal 110 and the second terminal 130. The device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include at least one of a smart phone, a tablet computer, an electronic book reader, a laptop computer, and a desktop computer. The following embodiment is exemplified by a terminal including a smart phone.

[0070] Those skilled in the art can know that the number of the above terminals can be more or less. For example, the above terminals can be only one (i.e., the user plays against the artificial intelligence), or the above terminals are six or eight or more. The number of terminals and the device types are not limited in the embodiment of the application.

[0071] The server 120 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services for clients supporting a three-dimensional virtual environment (clients of the turn-based chess game / clients of the autonomous chess game). Optionally, the server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or the server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or the server 120 and the terminal adopt a distributed computing architecture for collaborative computing.

[0072] FIG. 2 is a flowchart of an interactive method provided by the embodiment of the application. Taking the method executed by the terminal as an example, as shown in FIG. 2, the method includes:

[0073] 201. The terminal displays a first virtual chess piece in a first virtual chessboard of the turn-based chess game.

[0074] In the embodiments of the present application, during the game process of the turn-based chess game, the terminal can display the virtual chessboard of the terminal and the virtual chess pieces located on the virtual chessboard, and the user can view the virtual chessboard of the other opponent participating in the same game at any time through the terminal, and further view the virtual chess pieces in the virtual chessboard of the other opponent to know the chess arrangement of the other opponent.

[0075] The first virtual chessboard is the virtual chessboard of the terminal, and the first virtual chess pieces located in the first virtual chessboard are the virtual chess pieces of the terminal. The first virtual chess pieces displayed in the first virtual chessboard can include virtual chess pieces that have been deployed, or can include virtual chess pieces that have not been deployed. Optionally, the first virtual chessboard includes a battle area and a standby area, the first virtual chess pieces located in the battle area are virtual chess pieces that have been deployed, and the first virtual chess pieces located in the standby area are virtual chess pieces that have not been deployed.

[0076] 202. The terminal acquires the chessboard image corresponding to the first opponent in response to the chessboard viewing operation on the first opponent, the chessboard image including a screenshot of a second virtual chessboard, the second virtual chessboard being the virtual chessboard of the first opponent.

[0077] In the embodiments of the present application, the first opponent is any opponent participating in the same game, and in response to the chessboard viewing operation on the first opponent, the chessboard image corresponding to the first opponent can be acquired, the chessboard image including a screenshot of the virtual chessboard of the first opponent, and the arrangement of the virtual chess pieces in the virtual chessboard of the first opponent can be presented, that is, the chess arrangement of the first opponent can be presented.

[0078] The chessboard viewing operation is any type of operation, for example, the first virtual chessboard displays a battle identifier corresponding to the first opponent, and the chessboard viewing operation on the first opponent is a click operation or a long press operation on the battle identifier.

[0079] 203. The terminal displays the chessboard image corresponding to the first opponent.

[0080] In the embodiments of the present application, the terminal displays the chessboard image corresponding to the first opponent for the user to view, and the user can know the chess arrangement of the first opponent by viewing the displayed chessboard image through the terminal, so as to adjust the layout of the virtual chess pieces of the terminal according to the chess arrangement of the first opponent.

[0081] In the scheme provided in the embodiments of the present application, in the process of a round chess game, in response to a chessboard viewing operation on any opponent, a chessboard image corresponding to the opponent is obtained, and the chess piece formation of the opponent is presented by displaying the chessboard image. The terminal does not need to pull the chessboard data of the opponent to render a virtual chessboard of the opponent. This formation viewing method occupies less resources of the terminal, can save resources of the terminal, reduces the requirements on the terminal, and can save the time-consuming of rendering the virtual chessboard of the opponent, thereby ensuring the formation viewing efficiency.

[0082] Based on the embodiment shown in FIG. 2, in the embodiments of the present application, the chessboard image corresponding to any opponent further includes prompt information to prompt the coincidence degree of the virtual chess pieces of the opponent and the virtual chess pieces of the user or the formation type that will be reached by the virtual chess pieces of the opponent. The process is described in detail in the following embodiments. FIG. 3 is a flowchart of an interactive method provided in the embodiments of the present application. Taking the method executed by the terminal as an example, as shown in FIG. 3, the method includes the following steps.

[0083] 301. The terminal displays a first virtual chess piece in a first virtual chessboard of a round chess game.

[0084] In a possible implementation manner, the step 301 includes: in the case that the current is in a preparation phase, displaying the first virtual chess piece in the first virtual chessboard; or in the case that the current is in a battle phase, displaying the first virtual chess piece and the virtual chess pieces of any opponent in the first virtual chessboard.

[0085] In the embodiments of the present application, in the case that the current is in the preparation phase, the virtual chess pieces of the terminal can be displayed in the virtual chessboard of the terminal, so that the user can know the layout of the virtual chess pieces and can adjust the virtual chess pieces in the virtual chessboard, so as to participate in the subsequent battle according to the adjusted virtual chess pieces. In the embodiments of the present application, in the case that the current is in the battle phase, the virtual chess pieces of any opponent can be displayed in the virtual chessboard of the terminal, and the first virtual chess piece and the virtual chess pieces of the opponent can be displayed in the first virtual chessboard to automatically battle.

[0086] Optionally, a game of the round chess game includes multiple rounds, and each round includes a preparation phase and a battle phase. In the preparation phase, each terminal can display a corresponding virtual chessboard and can adjust the virtual chess pieces in the virtual chessboard. In the battle phase, the battle participants are grouped two by two, and the virtual chess pieces of the battle participants on the virtual chessboard are automatically controlled to battle.

[0087] 302. The terminal acquires a screenshot of a second virtual chessboard in response to a chessboard viewing operation on a first opponent.

[0088] In the embodiments of the present application, the first opponent is any opponent participating in the same game, and in response to a board viewing operation on the first opponent, a screenshot of a second virtual board can be obtained, the second virtual board being a virtual board of the first opponent, and the screenshot of the second virtual board being capable of reflecting the first opponent's piece formation.

[0089] The screenshot of the second virtual board is obtained by image capturing by the terminal corresponding to the first opponent when the second virtual board is displayed. The screenshot of the second virtual board includes the second virtual board and second virtual pieces, the second virtual pieces being virtual pieces located in the second virtual board, i.e., virtual pieces of the first opponent. Optionally, the second virtual board includes a battle area and a reserve area, and the second virtual pieces include virtual pieces located in the battle area of the second virtual board or virtual pieces located in the reserve area of the second virtual board, i.e., virtual pieces that have been deployed or virtual pieces that have not been deployed.

[0090] In a possible implementation, the screenshot of the second virtual board further includes at least one of a plurality of opponent identifiers, bond information or prop information. The plurality of opponent identifiers indicate opponents participating in the same game, and the opponents indicated by the plurality of opponent identifiers include the first opponent, the opponent corresponding to the terminal, or other opponents. The opponent identifier can be represented in any form, for example, the opponent identifier being an account, a name or an avatar of the opponent. The bond information is used to indicate bonds between the second virtual pieces, the bonds being bonds possessed by virtual pieces that have been deployed. Among the bonds indicated by the bond information, there can be activated bonds, or there can be non-activated bonds. For example, there are three second virtual pieces that have been deployed in the second virtual board, each of the three second virtual pieces possesses two bonds, and the bonds possessed by the three second virtual pieces are different from each other. The bond information indicates six bonds possessed by the three second virtual pieces, and each bond needs to have at least two virtual pieces that have been deployed to be activated, and thus the six bonds are not activated. The prop information is used to indicate virtual props equipped by the second virtual pieces, for example, the virtual props being virtual weapons or virtual armors, etc. In the embodiments of the present application, the screenshot of the second virtual board is equivalent to a screen when the terminal corresponding to the first opponent displays the second virtual board, and the content included in the screenshot of the second virtual board is the same as the content presented when the terminal corresponding to the first opponent displays the second virtual board.

[0091] In a possible implementation, the first virtual chessboard also displays a plurality of identifiers of opponents; and the step 302 includes: in response to a triggering operation on a first identifier of the plurality of identifiers of opponents, the terminal acquires the screenshot of the second virtual chessboard. The first identifier indicates a first opponent. The triggering operation on the first identifier is equivalent to a chessboard viewing operation on the first opponent. The triggering operation on the first identifier can be any type of operation, for example, a click operation or a long press operation.

[0092] In a possible implementation, the step 302 includes: in response to the chessboard viewing operation on the first opponent, the terminal sends a chessboard viewing request to the server, where the chessboard viewing request is used to request the virtual chessboard of the first opponent; the server acquires the screenshot of the second virtual chessboard in response to the chessboard viewing request, and sends the screenshot of the second virtual chessboard to the terminal; and the terminal receives the screenshot of the second virtual chessboard sent by the server. In the embodiment of the application, the server is used to provide services for turn-based chess games, and the terminal interacts with the server in response to the chessboard viewing operation on the first opponent, to acquire the screenshot of the virtual chessboard of the first opponent, thereby ensuring the accuracy of the acquired screenshot.

[0093] Optionally, the process in which the server acquires the screenshot of the second virtual chessboard includes: in response to the chessboard viewing request, the server sends an image capturing instruction to the terminal corresponding to the first opponent, where the image capturing instruction instructs the terminal corresponding to the first opponent to capture a screenshot of the displayed virtual chessboard and return; the terminal corresponding to the first opponent captures an image of the displayed second virtual chessboard in response to the image capturing instruction, to obtain the screenshot of the second virtual chessboard, and sends the screenshot of the second virtual chessboard to the server; and the server receives the screenshot returned by the terminal corresponding to the first opponent. In the embodiment of the application, the server interacts with the terminal corresponding to the first opponent in response to the chessboard viewing request, to acquire the screenshot of the virtual chessboard of the first opponent, and the first opponent is unaware of this, which can ensure the accuracy of the screenshot of the second virtual chessboard obtained by the server, and can ensure the privacy of the terminal in viewing the lineup of the first opponent, avoid being perceived by the first opponent, hide the intention of the user, avoid exposing the intention of the user in the process of viewing the first opponent, and further ensure the flexibility and interest of the game.

[0094] 303. The terminal adds prompt information in the screenshot of the second virtual chessboard, to obtain a chessboard image corresponding to the first opponent.

[0095] The prompt information is used to indicate the coincidence degree of the first virtual chess piece and the second virtual chess piece or the formation type that the second virtual chess piece is about to reach. The coincidence degree can reflect the coincidence of the first virtual chess piece and the second virtual chess piece, and is equivalent to the distribution of the same virtual chess piece in the first virtual chess piece and the second virtual chess piece. The formation type indicates the formation of the virtual chess piece. Different formation types indicate different formations. For example, the formation type includes a bond formation type or a strongest formation type. The bond formation type indicates the chess piece formation corresponding to a certain bond, and the strongest formation type indicates the virtual chess piece reaching the highest level. The formation type that the second virtual chess piece is about to reach refers to that the second virtual chess piece is about to reach a certain formation. The prompt information can be represented in any form, for example, the prompt information is represented in the form of text, or in the form of special effects.

[0096] Optionally, when the prompt information includes at least one of the coincidence degree of the first virtual chess piece and the second virtual chess piece or the formation type that the second virtual chess piece is about to reach, the prompt information can be represented in the form of text. For example, the prompt information is represented in the form of text. When the prompt information includes the coincidence degree of the first virtual chess piece and the second virtual chess piece, the prompt information is "the current formation coincidence degree is 50%"; when the prompt information includes the formation type that the second virtual chess piece is about to reach, the prompt information is "the assassin bond is about to reach the highest level bond".

[0097] Optionally, the prompt information includes the formation type that the second virtual chess piece is about to reach, and the prompt information can be represented in the form of special effects. For example, the second virtual chessboard screenshot displays the second virtual chessboard, bond information, and the second virtual chess piece. The prompt information indicates that "the assassin bond is about to reach the highest level bond", and by adding the prompt information in the second virtual chessboard screenshot, the obtained chessboard image includes highlighted assassin bond information in the bond information, which is equivalent to adding the prompt information in the screenshot, that is, the prompt information is displayed in the form of highlighted information in the chessboard image. Or, the prompt information indicates that "virtual chess piece 1 in the second virtual chess piece is about to be upgraded to the highest level", and by adding the prompt information in the second virtual chessboard screenshot, the obtained chessboard image displays special effects around virtual chess piece 1. The special effects around virtual chess piece 1 are equivalent to adding the prompt information in the screenshot, that is, the prompt information is displayed in the form of special effects in the chessboard image.

[0098] It should be noted that the embodiments of the present application are described by taking the chessboard image of the first opponent including the screenshot of the second virtual chessboard and the prompt information as an example, and in another embodiment, without performing the above steps 302-303, other ways are adopted to obtain the chessboard image corresponding to the first opponent in response to the chessboard viewing operation of the first opponent. The chessboard image includes the screenshot of the second virtual chessboard.

[0099] 304、The terminal displays the chessboard image corresponding to the first opponent.

[0100] In a possible implementation, the step 304 comprises: displaying the chessboard image corresponding to the first opponent on the first virtual chessboard. The chessboard image corresponding to the first opponent is overlaid on the first virtual chessboard. In the embodiment of the present application, the chessboard image corresponding to the first opponent is displayed by being overlaid on the first virtual chessboard, so that the user can clearly observe the displayed chessboard image, avoid the interference of the content of the first virtual chessboard, and ensure the display effect.

[0101] In a possible implementation, the step 304 comprises the following two manners.

[0102] The first manner: in the case of displaying the first virtual chessboard, the chessboard image corresponding to the first opponent is displayed in a region outside the first virtual chessboard. The region outside the first virtual chessboard is a region not occupied by the first virtual chessboard, and the region occupied by the first virtual chessboard and the region occupied by the chessboard image corresponding to the first opponent are mutually exclusive.

[0103] In the embodiment of the present application, in the case of displaying the first virtual chessboard, the chessboard image corresponding to the first opponent is displayed in a region outside the first virtual chessboard, so that the first virtual chessboard and the chessboard image corresponding to the first opponent do not interfere with each other, the displayed information is enriched, the user can view the first virtual chessboard and the chessboard image corresponding to the first opponent at the same time, the user can compare the chess piece formation of his own side and the opponent, and the display effect is ensured.

[0104] Optionally, the process of displaying the chessboard image by the terminal comprises: the terminal displays the first virtual chessboard in the form of full screen, and in the case of obtaining the chessboard image corresponding to the first opponent, the first virtual chessboard is displayed in a reduced size, and the chessboard image corresponding to the first opponent is displayed in a region outside the first virtual chessboard. In the embodiment of the present application, in the case of displaying only the first virtual chessboard, the terminal can display the first virtual chessboard in the form of full screen, and in the case of viewing the formation of any opponent, the first virtual chessboard is displayed in a reduced size and the chessboard image corresponding to the opponent is displayed in a region outside the first virtual chessboard, so that the terminal can display the virtual chessboard of the local end and the chessboard image corresponding to the opponent at the same time, the displayed content is changed to remind the user to view the displayed chessboard image, the strong reminding effect is achieved, the display effect is ensured, and the user experience is improved. For example, the terminal displays the first virtual chessboard in the form of full screen, in the case of obtaining the chessboard image corresponding to the first opponent, the display size of the first virtual chessboard is reduced to half of the screen, and the chessboard image corresponding to the first opponent is displayed in a region outside the first virtual chessboard.

[0105] The second mode: in the case of displaying the first virtual chessboard, a chessboard image corresponding to the first opponent is displayed in a region outside the chess piece display region in the first virtual chessboard, and the chess piece display region is used to display the first virtual chess piece. In the embodiment of the present application, the first virtual chessboard includes the chess piece display region, and the chess piece display region displays the first virtual chess piece, and the first virtual chessboard further includes a region other than the chess piece display region. In the case of displaying the first virtual chessboard and the chessboard image corresponding to the first opponent, the region occupied by the chessboard image may overlap the region occupied by the first virtual chessboard, but the region occupied by the chessboard image does not overlap the region occupied by the chess piece display region, so that the user can simultaneously view the chess formation of his own side and the chess formation of the opponent, enrich the display content, facilitate the user to compare the chess formation of his own side and the chess formation of the opponent, and ensure the display effect.

[0106] Optionally, the process of displaying the chessboard image by the terminal includes: the terminal displays the first virtual chessboard in the form of full screen, and in the case of obtaining the chessboard image corresponding to the first opponent, the first virtual chessboard is kept displayed in the form of full screen, and the chessboard image corresponding to the first opponent is displayed in a region outside the chess piece display region.

[0107] In the embodiment of the present application, in the case of displaying only the virtual chessboard, the terminal can display the virtual chessboard in the form of full screen display, and in the case of viewing the formation of any opponent, the virtual chessboard can be kept displayed in full screen while the chessboard image corresponding to the opponent is displayed in a region outside the chess piece display region, so as to ensure that the terminal can simultaneously display the virtual chessboard and the chessboard image corresponding to the opponent, and avoid the inconvenience of chess adjustment caused by the reduction of the virtual chessboard, ensure the convenience of chess adjustment, and also take into account the viewing of the formation of the opponent and the adjustment of the formation of his own side, ensure the convenience of formation adjustment, and further improve the user experience. For example, the terminal displays the first virtual chessboard in the form of full screen, keeps the display size of the first virtual chessboard unchanged in the case of obtaining the chessboard image corresponding to the first opponent, and displays the chessboard image corresponding to the first opponent in a region outside the chess piece display region, and the display size of the chessboard image is smaller than the display size of the first virtual chessboard.

[0108] In the embodiment of the present application, in the case of displaying the first virtual chessboard, the chessboard image corresponding to the first opponent is displayed in a region outside the first virtual chessboard, or in a region outside the chess piece display region in the first virtual chessboard, so that the user can view the virtual chess piece in the first virtual chessboard in time while viewing the formation of the first opponent, facilitate the user to timely adjust the virtual chess piece of his own side according to the formation of the first opponent, take into account the viewing of the formation of the opponent and the adjustment of the formation of his own side, ensure the convenience of formation adjustment, and further improve the user experience.

[0109] In the scheme provided by the embodiments of the present application, in the process of the turn-based chess game, in response to the chessboard viewing operation on any of the opponents, the chessboard image of the opponent is obtained, and the chess piece formation of the opponent is presented by displaying the chessboard image. The terminal does not need to pull the chessboard data of the opponent to render the virtual chessboard of the opponent. This formation viewing method occupies less resources of the terminal, can save the resources of the terminal, reduces the requirements on the terminal, and can save the time-consuming of rendering the virtual chessboard of the opponent, and ensures the formation viewing efficiency.

[0110] In addition, the chessboard image of the opponent can be obtained by obtaining the screenshot of the virtual chessboard of the opponent and adding prompt information in the screenshot. The efficiency of obtaining the chessboard image can be improved. Compared with rendering the virtual chessboard of the first opponent by using the chessboard data of the first opponent, the calculation amount of the process of adding prompt information in the screenshot is small, and the resources of the terminal can be saved, and the requirements on the terminal are reduced.

[0111] In addition, the coincidence degree of the virtual chess pieces of the two opponents or the formation type that the virtual chess pieces of the opponent will reach soon is prompted by the prompt information in the chessboard image, so as to enrich the content included in the chessboard image corresponding to the first opponent. The user can not only view the virtual chess pieces in the virtual chessboard of the opponent, but also display the coincidence degree or the formation type that the virtual chess pieces of the opponent will reach soon. The user can observe the chess piece formation of the opponent without analyzing the formation of the opponent by viewing the virtual chess pieces again. The user can deeply understand the formation characteristics and strategic intention of the opponent, can help the user to predict the strategic intention of the opponent in advance, and can make corresponding coping strategies, thereby improving the information acquisition efficiency of the user in the game.

[0112] On the basis of the embodiment shown in FIG. 3, in the embodiments of the present application, the terminal adds prompt information in the screenshot by using the chess piece data obtained from the server. The process is described in detail in the following embodiments. FIG. 4 is a flowchart of an interactive method provided by the embodiments of the present application. Taking the method executed by the terminal as an example, as shown in FIG. 4, the method comprises the following steps.

[0113] 401. The terminal displays the first virtual chess piece in the first virtual chessboard of the turn-based chess game.

[0114] The step 401 is the same as the step 301 described above, and will not be described here again.

[0115] 402. The terminal sends a first viewing request to the server in response to the chessboard viewing operation on the first opponent. The first viewing request is used to request the screenshot of the virtual chessboard of the first opponent and the chess piece data of the first opponent.

[0116] In the embodiments of the present application, the server is configured to provide services for the turn-based chess game, and the server is capable of interacting with each terminal participating in the same game.

[0117] 403、The terminal receives the screenshot of the second virtual chessboard and the chess piece data of the second virtual chess piece returned by the server based on the first viewing request.

[0118] In the embodiments of the present application, the server receives the first viewing request sent by the terminal, acquires the screenshot of the second virtual chessboard and the chess piece data of the second virtual chess piece in response to the first viewing request, sends the screenshot of the second virtual chessboard and the chess piece data of the second virtual chess piece to the terminal, and the terminal receives the screenshot of the second virtual chessboard and the chess piece data of the second virtual chess piece sent by the server.

[0119] The chess piece data of the second virtual chess piece is used to represent the virtual chess piece (i.e., the second virtual chess piece) of the first opponent. For example, the chess piece data of the second virtual chess piece is used to represent the name of the second virtual chess piece, the type of the second virtual chess piece, the level of the second virtual chess piece, the bond owned by the second virtual chess piece, the energy consumption value corresponding to the second virtual chess piece, and the like. The energy consumption value indicates the energy consumed to purchase the virtual chess piece.

[0120] In a possible implementation manner, the process in which the server acquires the screenshot of the second virtual chessboard and the chess piece data of the second virtual chess piece includes: the server sends an image capturing instruction to the terminal corresponding to the first opponent in response to the first viewing request, determines the chess piece data of the second virtual chess piece from the locally stored chess piece data, the terminal corresponding to the first opponent captures the image of the displayed second virtual chessboard in response to the image capturing instruction, obtains the screenshot of the second virtual chessboard, sends the screenshot of the second virtual chessboard to the server, and the server receives the screenshot returned by the terminal corresponding to the first opponent.

[0121] The image capturing instruction instructs the terminal corresponding to the first opponent to capture the image of the displayed virtual chessboard and return it. The server is configured to provide services for the turn-based chess game, and the chess piece data corresponding to each opponent is stored in the server. Therefore, the server is capable of determining the chess piece data corresponding to the first opponent (i.e., the chess piece data of the second virtual chess piece) from the locally stored chess piece data in response to the first viewing request. In the embodiments of the present application, the server acquires the screenshot of the virtual chessboard of the first opponent by interacting with the terminal corresponding to the first opponent in response to the first viewing request, and the first opponent has no awareness, which can ensure the accuracy of the screenshot of the second virtual chessboard obtained by the server, and can ensure the privacy of the lineup of the first opponent on the local side, avoid the awareness of the first opponent, hide the intention of the user, avoid exposing the intention of the opponent in the process of viewing the first opponent, and further ensure the flexibility and interest of the game.

[0122] Optionally, the first viewing request carries a battle party identifier corresponding to the first battle party, and the first viewing request indicates the screenshot of the virtual chessboard of the first battle party and the chess piece data of the first battle party.

[0123] 404. The terminal adds prompt information in the screenshot of the second virtual chessboard based on the chess piece data of the second virtual chess piece, to obtain the chessboard image corresponding to the first battle party.

[0124] In the embodiment of the application, the chess piece data of the second virtual chess piece is used to represent the second virtual chess piece, and based on the chess piece data of the second virtual chess piece, the composition of the second virtual chess piece can be reflected, and the coincidence degree between the composition of the second virtual chess piece and the composition of the first virtual chess piece can be determined, and the composition type that the second virtual chess piece is about to achieve can be predicted, that is, the prompt information can be determined, and then the prompt information is added in the screenshot of the second virtual chessboard to obtain the chessboard image corresponding to the first battle party.

[0125] It should be noted that, in the embodiment of the application, the chess piece data obtained from the server is used to add prompt information in the screenshot to obtain the chessboard image corresponding to the first battle party, and in another embodiment, the steps 402-404 do not need to be performed, and other ways are adopted to obtain the screenshot of the second virtual chessboard in response to the chessboard viewing operation of the first battle party; the prompt information is added in the screenshot of the second virtual chessboard to obtain the chessboard image corresponding to the first battle party.

[0126] 405. The terminal displays the chessboard image corresponding to the first battle party.

[0127] The step 405 is the same as the step 304 described above, and will not be described here.

[0128] In the scheme provided in the embodiment of the application, in the process of the round-based chess game, in response to the chessboard viewing operation of any battle party, the chessboard image corresponding to the battle party is obtained, and the chess piece composition of the battle party is presented by displaying the chessboard image, without the terminal pulling the chessboard data of the battle party and then rendering the virtual chessboard of the battle party. This composition viewing method occupies less resources of the terminal, can save the resources of the terminal, reduces the requirements on the terminal, and can save the time-consuming of rendering the virtual chessboard of the battle party, and ensures the composition viewing efficiency.

[0129] When the terminal views the chessboard formation of the first opponent, the terminal interacts with the server to obtain a screenshot of the virtual chessboard of the first opponent and chess piece data of the first opponent, so as to ensure the accuracy of the obtained screenshot and chess piece data, to add prompt information in the screenshot based on the chess piece data, to obtain a chessboard image, so that the chessboard image can accurately reflect the formation of the first opponent, and the accuracy of the prompt information is ensured, and the accuracy of the obtained chessboard image is ensured, and the calculation amount of the process of adding prompt information in the screenshot based on the chess piece data is small, and the virtual chessboard of the first opponent does not need to be rendered through the chessboard data of the first opponent, so that the resources of the terminal can be saved, and the requirements on the terminal are reduced.

[0130] On the basis of the above-mentioned embodiments shown in FIGS. 2 to 4, in the process of displaying the chessboard image corresponding to the first opponent, the displayed chessboard image is updated, that is, the process of displaying the chessboard image corresponding to the first opponent includes: in the case where the display duration of the chessboard image corresponding to the first opponent reaches a second duration, obtaining an updated chessboard image of the first opponent; and switching the display of the chessboard image corresponding to the first opponent to the updated chessboard image of the first opponent. The second duration is any duration, for example, the second duration is 10 seconds. The updated chessboard image of the first opponent is a re-obtained chessboard image. In the embodiments of the present application, the first opponent can adjust the virtual chess pieces on the virtual chessboard at any time, and the chess formation of the first opponent can change over time, therefore, in the process of displaying the chessboard image corresponding to the first opponent, that is, in the process of viewing the chess formation of the first opponent, if the display duration of the chessboard image corresponding to the first opponent reaches the second duration, the updated chessboard image of the first opponent is re-obtained, and the currently displayed chessboard image is updated to the newly obtained chessboard image, so that the displayed chessboard image can match the chess formation of the first opponent, and the network resources are saved without the need to update the displayed chessboard image in real time, and the accuracy of the displayed chessboard image is ensured. Optionally, the process of obtaining the updated chessboard image of the first opponent is the same as the above-mentioned steps 302-303, and will not be described herein.

[0131] On the basis of the above-mentioned embodiments shown in FIGS. 2 to 4, the process of determining the prompt information includes the following two ways.

[0132] In the first mode, the prompt information includes the coincidence degree between the first virtual chess piece and the second virtual chess piece, and includes: comparing, by the terminal, the chess piece data of the first virtual chess piece and the chess piece data of the second virtual chess piece to obtain coincidence information, the coincidence information including at least one of a first quantity, a second quantity, or a similarity between a third virtual chess piece and a fourth virtual chess piece, the first quantity being a quantity of same chess pieces in the first virtual chess piece and the second virtual chess piece, the second quantity being a quantity of same level chess pieces in the first virtual chess piece and the second virtual chess piece, the third virtual chess piece being a virtual chess piece with the highest ability value in the first virtual chess piece, and the fourth virtual chess piece being a virtual chess piece with the highest ability value in the second virtual chess piece; and determining the coincidence degree between the first virtual chess piece and the second virtual chess piece based on the coincidence information.

[0133] In the embodiments of the present application, the chess piece data of the first virtual chess piece can reflect the formation of the first virtual chess piece, and the chess piece data of the second virtual chess piece can reflect the formation of the second virtual chess piece. By comparing the chess piece data of the first virtual chess piece and the chess piece data of the second virtual chess piece, the coincidence information can reflect the similarity and difference between the virtual chess pieces of the two sides in the battle, or reflect the similarity between the virtual chess pieces with the strongest ability value of the two sides in the battle. Then, based on the coincidence information, the coincidence degree between the first virtual chess piece and the second virtual chess piece is determined, so that the similarity between the chess formations of the two sides in the battle can be considered from multiple angles, and the coincidence degree can accurately reflect the similarity between the first virtual chess piece and the second virtual chess piece, thereby ensuring the accuracy of the determined coincidence degree. The first virtual chess piece and the second virtual chess piece can have the same virtual chess piece or different virtual chess pieces. The quantity of same chess pieces in the first virtual chess piece and the second virtual chess piece can reflect the similarity of the formations of the first virtual chess piece and the second virtual chess piece.

[0134] In the embodiments of the present application, the virtual chess pieces can have different levels, and the virtual chess pieces of different levels have different ability values, and the virtual chess pieces of the same level have similar ability values. For example, the virtual chess pieces of different levels have different attack values or different defense values. Therefore, the quantity of same level chess pieces in the first virtual chess piece and the second virtual chess piece can reflect the similarity of the levels of the virtual chess pieces of the two sides in the battle, and further reflect the similarity between the chess formations of the two sides in the battle. Optionally, the second quantity includes a quantity corresponding to each level. For example, the virtual chess pieces have three levels, and the second quantity includes a quantity corresponding to each of the three levels.

[0135] In the embodiments of the present application, the higher the ability value of the virtual chess piece is, the greater the influence on the result of the match is, and therefore, when the coincidence information is determined, the similarity between the virtual chess pieces with the highest ability value in the virtual chess pieces of the two match sides is considered, so as to ensure that the coincidence information can accurately reflect the similarity between the chess piece formations of the two match sides, and further ensure that the coincidence degree determined subsequently can accurately reflect the similarity of the chess piece formations of the two match sides, and ensure the accuracy of the coincidence degree.

[0136] Optionally, the chess piece data of the first virtual chess piece is the chess piece data already stored in the terminal. In the embodiments of the present application, for the chess piece data already stored in the terminal, when the terminal displays the first virtual chessboard, the terminal interacts with the server to obtain the chessboard data of the first virtual chessboard from the server, the chessboard data including the chess piece data of the first virtual chess piece, and the terminal caches the chessboard data of the first virtual chessboard, or caches the chess piece data of the first virtual chess piece, so as to directly call the cached chess piece data of the first virtual chess piece when viewing the chess piece formation of any match side subsequently.

[0137] Optionally, the first viewing request is used to request a screenshot of the virtual chessboard of the first match side, the chess piece data of the terminal and the chess piece data of the first match side, the server sends the screenshot of the virtual chessboard of the first match side and the chess piece data of the first match side to the terminal in response to the first viewing request, and further sends the chess piece data of the first virtual chess piece to the terminal.

[0138] Optionally, the second quantity is the number of the same level chess pieces in the same virtual chess pieces contained in the first virtual chess piece and the second virtual chess piece. For example, the first virtual chessboard displays a plurality of first virtual chess pieces, and the second virtual chessboard displays a plurality of second virtual chess pieces, the plurality of first virtual chess pieces include a plurality of warrior virtual chess pieces 1, a plurality of assassin virtual chess pieces 1 and a plurality of assassin virtual chess pieces 2, the plurality of second virtual chess pieces include a plurality of warrior virtual chess pieces 1, a plurality of assassin virtual chess pieces 1 and a plurality of assassin virtual chess pieces 2, there are 3 warrior virtual chess pieces 1 of the same level, 1 assassin virtual chess piece 1 of the same level and 3 assassin virtual chess pieces 2 of the same level in the plurality of first virtual chess pieces and the plurality of second virtual chess pieces, and therefore, the second quantity indicates that there are 3 warrior virtual chess pieces 1 of the same level, 1 assassin virtual chess piece 1 of the same level and 3 assassin virtual chess pieces 2 of the same level.

[0139] In a possible implementation manner, the process of determining the coincidence degree includes: performing weighted processing on the coincidence information based on the weight of the coincidence information to obtain the coincidence degree of the first virtual chess piece and the second virtual chess piece, and the weight of the coincidence information includes at least one of the weight of the first quantity, the weight of the second quantity or the weight of the similarity.

[0140] In the embodiments of the present application, the weight of the coincidence information is a preset weight, and the weight of the coincidence information can reflect the influence degree of each item of information in the coincidence information on the coincidence degree between the piece formations of the two sides in the game. Therefore, the coincidence information is weighted processed by the weight of the coincidence information, so as to ensure the accuracy of the coincidence degree.

[0141] For example, the coincidence information includes the number of the same pieces in the first virtual piece and the second virtual piece (the first number), the number of the same level pieces in the first virtual piece and the second virtual piece (the second number), the similarity between the virtual piece with the highest ability value in the first virtual piece and the virtual piece with the highest ability value in the second virtual piece, the weight of the coincidence degree includes the weight of the first number, the weight of the second number or the weight of the similarity, the product of the first number and the corresponding weight, the product of the second number and the corresponding weight, the product of the similarity and the corresponding weight are determined, and the sum of the determined products is determined as the coincidence degree of the first virtual piece and the second virtual piece.

[0142] The second way, the prompt information is used to indicate the formation type that the second virtual piece is about to achieve, and includes at least one of the following.

[0143] The first item: the terminal determines the prompt information in the case that the number corresponding to the fifth virtual piece reaches the first early warning number, the difference between the first early warning number and the target number is a first preset value, the target number is the number of the second level virtual pieces required to combine the virtual pieces of the first level, the number corresponding to the fifth virtual piece is the number of the second level fifth virtual pieces required to combine the fifth virtual piece in the second virtual piece, the prompt information is used to indicate that the fifth virtual piece is about to reach the first level, the fifth virtual piece is any kind of virtual piece in the second virtual piece, and the first level is higher than the second level. Wherein, the first preset value is any number, for example, the first preset value is 1 or 2, etc. The first early warning number is less than the target number, and the target number is any number, for example, the target number is 9. When the number corresponding to the fifth virtual piece reaches the first early warning number, it indicates that the fifth virtual piece is about to reach the first level. In the embodiments of the present application, for the same kind of virtual piece, multiple low level virtual pieces can be combined into a high level virtual piece, for example, the level of the virtual piece is represented by the star level, the virtual piece 1 corresponds to 3 star levels, 3 virtual pieces 1 of 1 star can be combined into 1 virtual piece 1 of 2 stars, 3 virtual pieces 1 of 2 stars can be combined into a virtual piece 1 of 3 stars, and the target number is 9. In the embodiments of the present application, the user can purchase virtual pieces with virtual gold coins in the preparation stage, and the level of the purchased virtual pieces is the first level.

[0144] The quantity corresponding to the fifth virtual chess piece is the quantity of the fifth virtual chess piece of the second level that is combined to the fifth virtual chess piece. In the embodiment of the present application, considering that there can be multiple levels of virtual chess pieces of the same type of virtual chess piece in the second virtual chess piece, in order to facilitate comparison, the quantity of the fifth virtual chess piece corresponding to the fifth virtual chess piece that is equivalent to the second level of the fifth virtual chess piece currently owned by the first opponent is determined, that is, the quantity corresponding to the fifth virtual chess piece is determined. For example, the levels of virtual chess pieces include three star levels, that is, one star level, two star level and three star level, and the three star level is the highest level, and the fifth virtual chess piece includes two, that is, one first star level fifth virtual chess piece and one second star level fifth virtual chess piece, and three first star fifth virtual chess pieces can be combined into one second star fifth virtual chess piece, that is, one second star level fifth virtual chess piece is equivalent to three first star level fifth virtual chess pieces; then, the two fifth virtual chess pieces are converted into first star level fifth virtual chess pieces, which are equivalent to four first star level fifth virtual chess pieces, that is, the quantity corresponding to the fifth virtual chess piece is four.

[0145] In the embodiment of the present application, considering that the first level of virtual chess piece has a greater impact on subsequent battle conditions, when viewing the chess formation of the first opponent, whether there is a virtual chess piece about to reach the first level in the virtual chess piece of the first opponent is considered, so that in the case that there is a virtual chess piece about to reach the first level in the virtual chess piece of the first opponent, the prompt information is determined, so that the subsequently displayed chessboard image can prompt that there is a virtual chess piece about to reach the first level in the virtual chess piece of the first opponent, so that the user can timely adjust the chess layout according to the chess formation of the first opponent, ensure the reminding effect of the chessboard image, and further improve the user experience.

[0146] Optionally, the first level is the highest level of the virtual chess piece, and the second level is the lowest level of the virtual chess piece. For example, the levels of virtual chess pieces include three star levels, that is, one star level, two star level and three star level, and the three star level is the highest level, so the first level is the three star level, and the second level is the one star level.

[0147] It should be noted that the present application is described by taking the quantity corresponding to the fifth virtual chess piece reaching the first warning quantity as an example, and in another embodiment, the prompt information determined according to the above manner can indicate each virtual chess piece about to reach the first level in the second virtual chess piece.

[0148] Optionally, each virtual chess piece corresponds to an energy consumption value, the energy consumption value indicates energy consumed for purchasing the virtual chess piece, the virtual chess piece with higher energy consumption value has stronger ability value, and the first item includes: in a case where a quantity of virtual chess pieces corresponding to an energy consumption value not lower than a preset value in the first virtual chess piece reaches a first early warning quantity, determining the prompt information. The preset value is an arbitrary numerical value. For example, the energy consumption value includes 1, 2, 3, 4 or 5, and the preset value is 4. In the embodiments of the present application, since the virtual chess pieces with energy consumption value not lower than the preset value have a greater impact on subsequent battle conditions when reaching the first level, whether the virtual chess pieces with energy consumption value not lower than the preset value are about to reach the first level is considered only, so as to ensure that the determined prompt information can achieve the reminding effect. For example, the energy consumption value includes 1, 2, 3, 4 or 5, the preset value is 4, the first level is 1 star level, and the second level is 3 star level. If the virtual chess pieces of the enemy player with energy consumption value of 4 or 5 can only be 2 1 star virtual chess pieces away from being combined into a 3 star virtual chess piece, the determined prompt information indicates that these virtual chess pieces are about to reach the highest level.

[0149] The second item: in a case where the quantity of chess pieces with the same bond in the second virtual chess piece reaches a second early warning quantity, the difference between the second early warning quantity and the maximum chess piece quantity corresponding to the bond is a second preset numerical value, and the prompt information is used to indicate that the quantity of chess pieces with the bond is about to reach the maximum chess piece quantity corresponding to the bond. In the embodiments of the present application, the maximum chess piece quantity corresponding to the bond is equivalent to the level of the bond reaching the highest level. As the quantity of chess pieces corresponding to the bond increases, that is, as the level of the bond improves, the effect of the bond will also be enhanced. When the quantity of chess pieces corresponding to the bond reaches the maximum chess piece quantity, the effect of the bond has a greater impact on subsequent battle conditions. Therefore, when checking the chess piece formation of the first battle party, whether the quantity of chess pieces with the same bond in the virtual chess pieces of the first battle party is about to reach the maximum chess piece quantity corresponding to the bond is considered, so that in a case where the quantity of chess pieces with the same bond in the virtual chess pieces of the first battle party is about to reach the maximum chess piece quantity corresponding to the bond, the prompt information is determined, so that the subsequently displayed chessboard image can prompt that the quantity of chess pieces with the same bond in the virtual chess pieces of the first battle party is about to reach the maximum chess piece quantity corresponding to the bond, so that the user can timely adjust the chess piece layout according to the chess piece formation of the first battle party, ensure the reminding effect of the chessboard image, and further improve the user experience. The bond is an arbitrary bond, for example, the bond is an assassin bond or a warrior bond. The second preset numerical value is an arbitrary quantity, for example, the second preset numerical value is 1 or 2. The second early warning quantity is less than the maximum chess piece quantity corresponding to the bond. The maximum chess piece quantity corresponding to the bond is an arbitrary quantity, for example, the maximum chess piece quantity corresponding to the bond is 9 or 10.

[0150] It should be noted that the embodiments of the present application are described by taking the number of pawns of any constraint reaching the second warning number as an example, and in another embodiment, in the case where multiple constraints in the second virtual pawn have constraints that meet the above conditions, the determined prompt information can indicate that the number of pawns of each constraint in these constraints will reach the corresponding maximum number of pawns.

[0151] On the basis of the above-mentioned embodiment shown in FIG. 2, in the embodiments of the present application, the server provides the terminal with the board image corresponding to the first opponent, and the process is described in detail in the following embodiments. FIG. 5 is a flowchart of an interactive method provided by the embodiments of the present application. Taking the method executed by the terminal as an example, as shown in FIG. 5, the method comprises:

[0152] 501. The terminal displays the first virtual pawn in the first virtual board of the turn-based chess game.

[0153] This step 501 is the same as the above-mentioned step 301, and will not be repeated here.

[0154] 502. The terminal sends a second viewing request to the server in response to the board viewing operation of the first opponent, and the second viewing request is used to request the board image corresponding to the first opponent.

[0155] This step 502 is the same as the above-mentioned step 402, and will not be repeated here.

[0156] 503. The terminal receives the board image corresponding to the first opponent returned by the server based on the second viewing request, and the board image comprises a screenshot of the second virtual board, and the second virtual board is the virtual board of the first opponent.

[0157] In the embodiments of the present application, the server can directly provide the terminal with the board image corresponding to the first opponent. The server receives the second viewing request sent by the terminal, acquires the board image corresponding to the first opponent in response to the second viewing request, sends the board image corresponding to the first opponent to the terminal, and the terminal receives the board image sent by the server.

[0158] In a possible implementation, the chessboard image corresponding to the first opponent includes a screenshot of the second virtual chessboard and prompt information indicating the coincidence degree of the first virtual chess piece and the second virtual chess piece or the formation type that the second virtual chess piece is about to achieve. The server obtains the chessboard image corresponding to the first opponent, including: the server sends an image capturing instruction to the terminal corresponding to the first opponent in response to the second viewing request, determines the chess piece data of the second virtual chess piece from the locally stored chess piece data; the terminal corresponding to the first opponent captures the second virtual chessboard in response to the image capturing instruction to obtain a screenshot of the second virtual chessboard, sends the screenshot of the second virtual chessboard to the server, and the server receives the screenshot returned by the terminal corresponding to the first opponent; the server adds prompt information in the screenshot of the second virtual chessboard based on the chess piece data of the second virtual chess piece to obtain the chessboard image corresponding to the first opponent.

[0159] In the embodiments of the present application, the chessboard image corresponding to the first opponent includes a screenshot of the second virtual chessboard and prompt information, and the chessboard image is directly provided by the server. The terminal only needs to receive the chessboard image returned by the server and display it, without the terminal performing excessive processing, thereby saving the resources of the terminal and reducing the requirements on the terminal. It should be noted that the process of adding prompt information in the screenshot of the second virtual chessboard based on the chess piece data of the second virtual chess piece by the server is the same as the process of adding prompt information in the screenshot of the second virtual chessboard based on the chess piece data of the second virtual chess piece by the terminal, and will not be repeated here.

[0160] It should be noted that the embodiments of the present application take the server as an example to provide the terminal with the chessboard image corresponding to the first opponent, and in another embodiment, steps 502-503 are not performed, but other ways are adopted to obtain the chessboard image corresponding to the first opponent in response to the chessboard viewing operation of the first opponent.

[0161] 504. The terminal displays the chessboard image corresponding to the first opponent.

[0162] The step 504 is the same as the step 304, and will not be repeated here.

[0163] In the scheme provided in the embodiments of the present application, in the process of the turn-based chess game match, the terminal responds to the chessboard viewing operation on any one of the opponents, the server interacts, the server provides the chessboard image corresponding to the opponent, the terminal only needs to receive and display the chessboard image, the chess piece formation of the opponent is presented through the displayed chessboard image, so that the terminal does not need to process more data, the terminal does not need to pull the chessboard data of the opponent to render the virtual chessboard of the opponent, this formation viewing method occupies less resources of the terminal, can save the resources of the terminal, reduces the requirements on the terminal, can also save the time-consuming of rendering the virtual chessboard of the opponent, and ensures the formation viewing efficiency.

[0164] On the basis of the embodiment shown in FIG. 2, in the embodiments of the present application, the chessboard image corresponding to the first opponent is viewed through the pressing operation, and the process is described in detail in the following embodiments. FIG. 6 is a flowchart of an interactive method provided in the embodiments of the present application. Taking the method executed by the terminal as an example, as shown in FIG. 6, the method comprises the following steps.

[0165] 601. The terminal displays a first virtual chess piece and a plurality of opponent identifiers in a first virtual chessboard of a turn-based chess game, and the plurality of opponent identifiers indicate opponents participating in the same game.

[0166] The opponent identifier can be represented in any form, for example, the opponent identifier is an account, a name or an avatar. The plurality of opponent identifiers includes an opponent identifier corresponding to the terminal and other opponent identifiers. The step 601 is the same as the step 301 described above, and will not be described here.

[0167] 602. The terminal acquires a chessboard image corresponding to a first opponent in response to a pressing operation on a first identifier in the plurality of opponent identifiers, the first identifier indicates the first opponent, and the chessboard image includes a screenshot of a second virtual chessboard, and the second virtual chessboard is a virtual chessboard of the first opponent.

[0168] In the embodiments of the present application, the pressing operation on the first identifier is equivalent to the chessboard viewing operation on the first opponent. Optionally, the pressing operation on the first identifier is an operation in which the pressing time of the first identifier exceeds a third time length, and the third time length is any time length, for example, the third time length is 1 second or 2 seconds.

[0169] In the embodiment of the present application, the pressing operation is also a long pressing operation, and the operation of pressing the first identifier for more than the third time length is equivalent to the pressing operation of the first identifier, and the operation of pressing the first identifier for less than the third time length indicates that the pressing operation of the first identifier is not triggered, and the chessboard image corresponding to the first opponent cannot be obtained. It should be noted that the process of obtaining the chessboard image corresponding to the first opponent by the terminal is the same as the process of obtaining the chessboard image corresponding to the first opponent in the embodiments shown in FIGS. 2 to 5, and will not be repeated here. It should be noted that the pressing operation of the first identifier in the embodiment of the present application is taken as an example for description, and in another embodiment, the pressing operation of any opponent identifier can be triggered according to the above step 602 to indicate that the chessboard viewing operation of any opponent is triggered.

[0170] 603. The terminal displays the chessboard image corresponding to the first opponent.

[0171] The step 603 is the same as the above step 304, and will not be repeated here.

[0172] 604. The terminal cancels the display of the chessboard image corresponding to the first opponent in response to the end of the pressing operation.

[0173] In the embodiment of the present application, the end of the pressing operation indicates the end of the current chessboard viewing operation, which indicates that the user is not viewing the chess formation of other opponents, and the chessboard image corresponding to the first opponent is cancelled and the first virtual chessboard of the terminal is displayed. Wherein, the end of the pressing operation is that the user no longer presses any position of the terminal display, for example, the terminal displays the first virtual chessboard in the display interface, and the user presses the first identifier in the display interface by the finger, which is equivalent to triggering the pressing operation of the first identifier; when the user's finger no longer presses the display interface, it indicates that the pressing operation is ended. It should be noted that the embodiment of the present application is taken as an example for description by viewing the chessboard image corresponding to the first opponent through the pressing operation, and in another embodiment, the above steps 602 and 604 are not required to be performed, and other ways are adopted to obtain the chessboard image corresponding to the first opponent in response to the chessboard viewing operation of the first opponent.

[0174] In the scheme provided by the embodiment of the present application, in the process of the round chess game, the chessboard image corresponding to the opponent is obtained in response to the chessboard viewing operation of any opponent, and the chess formation of the opponent is presented by displaying the chessboard image, without the terminal pulling the chessboard data of the opponent and rendering the virtual chessboard of the opponent. This formation viewing method occupies less resources of the terminal, can save the resources of the terminal, reduces the requirements on the terminal, and can save the time-consuming of rendering the virtual chessboard of the opponent, and ensures the formation viewing efficiency.

[0175] Further, the terminal can display the board image corresponding to the viewed opponent, and in the case that the pressing operation is ended, the process of viewing the piece formation of the other opponent is ended, so that the user can view the piece formation of the other opponent without triggering a complex operation, ensuring the convenience of viewing the piece formation of the other opponent and improving the human-computer interaction efficiency.

[0176] On the basis of the embodiment shown in FIG. 6, in the embodiment of the present application, the viewed opponent is switched by sliding while maintaining the pressing operation, and the process is described in detail in the following embodiment. FIG. 7 is a flowchart of an interactive method provided by the embodiment of the present application. Taking the terminal as an example, the method includes the following steps as shown in FIG. 7.

[0177] 701. The terminal displays a first virtual chess piece and a plurality of opponent identifiers in a first virtual board of a round-based chess game, and the plurality of opponent identifiers indicate opponents participating in the same game.

[0178] 702. The terminal acquires a board image corresponding to a first opponent in response to a pressing operation on a first identifier of the plurality of opponent identifiers, the first identifier indicates the first opponent, and the board image includes a screenshot of a second virtual board, the second virtual board being a virtual board of the first opponent.

[0179] 703. The terminal displays the board image corresponding to the first opponent.

[0180] The steps 701-703 are the same as the steps 601-603 described above, and will not be described here.

[0181] 704. The terminal acquires a board image corresponding to a second opponent in response to the pressing position of the pressing operation moving to a position where a second identifier is located, the second identifier being any one of the plurality of opponent identifiers except the first identifier, and the second opponent being an opponent indicated by the second identifier.

[0182] In the embodiment of the present application, in the case that the pressing operation on the first identifier is triggered, the pressing position of the pressing operation can change, and the pressing position of the pressing operation moves to the position where the second identifier is located, which means that the pressing operation currently presses the second identifier, and is equivalent to triggering the formation viewing operation of the second opponent.

[0183] For example, the terminal displays the first virtual chess piece and the plurality of opponent identifiers on the screen, the user presses the first identifier on the terminal screen by a finger, the terminal receives the chessboard viewing operation of the first opponent, the terminal screen displays the chessboard image corresponding to the first opponent, and the user keeps pressing the terminal screen and starts moving on the terminal screen, if the pressing position of the finger is the position of the second identifier on the terminal screen, the terminal receives the chessboard viewing operation of the second opponent, and the terminal screen displays the chessboard image corresponding to the second opponent. At present, the user keeps pressing the terminal screen and can continue to move, so as to press the identifiers of other opponents to view the chessboard images corresponding to the other opponents.

[0184] It should be noted that the process of obtaining the chessboard image corresponding to the second opponent by the terminal is the same as the process of obtaining the chessboard image corresponding to the first opponent in the embodiments shown in FIGS. 2 to 5, and will not be described here.

[0185] 705. The terminal switches the display of the chessboard image corresponding to the first opponent to the chessboard image corresponding to the second opponent.

[0186] In the embodiments of the present application, the terminal can only display the chessboard image corresponding to the currently viewed opponent, therefore, the pressing position of the pressing operation moves to the position of the second identifier, the currently displayed chessboard image corresponding to the first opponent is switched to the chessboard image corresponding to the second opponent, so as to ensure that the displayed chessboard image is synchronized with the viewed opponent, and the user can view the chess piece arrangement of the opponent that the user wants to view in time.

[0187] It should be noted that the embodiments of the present application only view the chessboard image corresponding to the second opponent by the pressing operation in the case of displaying the chessboard image corresponding to the first opponent, and in another embodiment, the chessboard image corresponding to other opponents is viewed by the pressing operation according to the above steps 704-705 in the case of displaying the chessboard image corresponding to the first opponent, or in the case of displaying the chessboard image corresponding to the second opponent.

[0188] In a possible implementation, in the process of switching the viewed opponent by the pressing operation, the chess piece formation of the first opponent can also be re-viewed, that is, before the pressing operation ends, the method further includes: in response to the pressing position of the pressing operation moving to the position where the first identifier is located, acquiring an updated chessboard image of the first opponent in a case where the duration of the pressing operation reaches a first duration; and displaying the updated chessboard image of the first opponent. In the embodiment of the application, in the process of switching the viewed opponent by the pressing operation, the chess piece formation of the first opponent can also be re-viewed, and considering that the chess piece formation of the first opponent can change over time, when the chess piece formation of the first opponent is re-viewed, if the interval between the current time and the time corresponding to the last viewed chessboard image of the first opponent exceeds the first duration, the updated chessboard image of the first opponent is acquired, and the currently displayed chessboard image is updated to the updated chessboard image of the first opponent, so that the updated chessboard image of the first opponent displayed can match the current chess piece formation of the first opponent, the network resource occupied by the real-time updating of the displayed chessboard image is saved, the accuracy of the displayed chessboard image is ensured, and the network resource is saved.

[0189] 706、the terminal cancels displaying the currently displayed chessboard image in response to the end of the pressing operation.

[0190] In the embodiment of the application, in the process of viewing the chess piece formation of each opponent by the pressing operation, the terminal can ensure that the displayed chessboard image matches the opponent identifier pressed by the pressing operation, and can end the pressing operation at any time to end the current formation viewing operation, so that the currently displayed chessboard image is canceled, and the first virtual chessboard is kept displayed.

[0191] In the scheme provided in the embodiment of the application, in the process of the round-based chess game match, in response to the chessboard viewing operation on any opponent, the chessboard image corresponding to the opponent is acquired, and the chess piece formation of the opponent is presented by displaying the chessboard image, without the terminal pulling the chessboard data of the opponent and rendering the virtual chessboard of the opponent. This formation viewing manner occupies less resource of the terminal, saves the resource of the terminal, reduces the requirement on the terminal, saves the time for rendering the virtual chessboard of the opponent, and ensures the formation viewing efficiency.

[0192] And, in the case of maintaining the pressing operation, different battle party identifiers can be pressed by changing the pressing position, that is, sliding in the case of maintaining the pressing operation so as to press different battle identifiers, and further viewing the chess piece formation of different battle parties, the terminal displays the viewed chessboard image corresponding to the battle party, without the user needing to click each battle party identifier to view the chess piece formation of each battle party, the convenience of viewing the chess piece formation of each battle party is ensured, and the human-computer interaction efficiency is improved.

[0193] On the basis of the embodiment shown in FIG. 6, in the embodiment of the present application, when the pressing operation on any battle party identifier is triggered, the terminal acquires the chessboard images corresponding to the multiple battle party identifiers, and the process is described in detail in the following embodiment. FIG. 8 is a flowchart of an interactive method provided in an embodiment of the present application. Taking the terminal as an example, the method includes the following steps.

[0194] 801. The terminal displays a first virtual chess piece and multiple battle party identifiers in a first virtual chessboard of a round chess game, and the multiple battle party identifiers indicate battle parties participating in the same game.

[0195] The step 701 is the same as the step 601 described above, and will not be described here.

[0196] 802. The terminal acquires the chessboard images corresponding to the multiple battle party identifiers in response to the pressing operation on a first identifier in the multiple battle party identifiers, and the chessboard images corresponding to the multiple battle party identifiers include the chessboard image corresponding to the first battle party.

[0197] In the embodiment of the present application, the pressing operation on the first identifier is equivalent to the chessboard viewing operation on the first battle party, and considering that the chessboard formations of multiple battle parties can be viewed through one pressing operation, the pressing operation on the first identifier is also equivalent to triggering the chessboard viewing operation on the multiple battle parties, and then the chessboard image corresponding to each battle party identifier is acquired, so that when the chess piece formation of other battle parties is viewed through one pressing operation subsequently, the chess piece image corresponding to the other battle parties can be viewed in time. It should be noted that the process of acquiring the chessboard images corresponding to the multiple battle party identifiers by the terminal is the same as the process of acquiring the chessboard image corresponding to the first battle party in the embodiments shown in FIGS. 2 to 5, and will not be described here.

[0198] It should be noted that the multiple battle party identifiers are acquired in response to the pressing operation on the first identifier in the embodiment of the present application, and in another embodiment, the step 802 is not performed, and other ways are adopted to acquire the chessboard image in response to the pressing operation on the first identifier in the multiple battle party identifiers.

[0199] 803. The terminal displays the chessboard image corresponding to the first battle party.

[0200] The step 803 is the same as the step 304 described above, and thus will not be repeated here.

[0201] 804. The terminal displays the chessboard image corresponding to the first opponent and switches to the chessboard image corresponding to the second opponent in response to the press position of the press operation moving to the position where the second opponent is located.

[0202] In the embodiments of the present application, the terminal can only display the chessboard image corresponding to the opponent currently viewed. Since the press operation on the first opponent has been triggered, the chessboard images corresponding to multiple opponents have been obtained. Therefore, the press position of the press operation moves to the position where the second opponent is located, the chessboard image corresponding to the second opponent can be directly determined from the obtained chessboard images, and the chessboard image corresponding to the first opponent currently displayed is switched to the chessboard image corresponding to the second opponent, so as to ensure that the displayed chessboard image is synchronized with the opponent viewed, and the user can view the chess piece formation of the opponent intended to be viewed in time, and the real-time performance of the displayed chessboard image is ensured. The chessboard image corresponding to the second opponent is equivalent to the chessboard image corresponding to the second opponent.

[0203] 805. The terminal cancels the display of the chessboard image currently displayed in response to the end of the press operation.

[0204] The step 805 is the same as the step 706 described above, and thus will not be repeated here.

[0205] In the scheme provided by the embodiments of the present application, during the process of the round-based chess game, considering that the user may view the chess piece formation of other opponents when viewing the chess piece formation of any opponent, the press operation on the first opponent is equivalent to the chessboard viewing operation on the first opponent, and is equivalent to triggering the chessboard viewing operation on multiple opponents. Therefore, the chessboard images corresponding to multiple opponents are obtained, and the chessboard image corresponding to the first opponent is displayed to present the chess piece formation of the first opponent. The terminal does not need to pull the chessboard data of the opponent and render the virtual chessboard of the opponent. This formation viewing method occupies less resources of the terminal, can save the resources of the terminal, reduces the requirements on the terminal, saves the time-consuming of rendering the virtual chessboard of the opponent, and ensures the formation viewing efficiency. Moreover, since the chessboard images corresponding to multiple opponents have been obtained, the chess piece image corresponding to other opponents can be displayed in time when the chess piece formation of other opponents is viewed, the situation that the waiting time is too long due to network delay when the chess piece formation of other opponents is viewed is avoided, the real-time performance of the displayed chessboard image corresponding to the opponent viewed is ensured, and the formation viewing efficiency is ensured.

[0206] On the basis of the above-mentioned embodiments shown in FIGS. 6-8, the embodiments of the present application can view the chessboard image corresponding to any opponent through a pressing operation, and can switch the chessboard image corresponding to the opponent being viewed at any time through one pressing operation. In the scheme provided by the embodiments of the present application, as shown in FIG. 9, the opponent being viewed can be switched by maintaining the pressing operation and sliding, that is, the chessboard image corresponding to each opponent can be viewed, and after the pressing operation ends (the pressing operation is detected to be lifted), the viewing operation of this time ends. Compared with the related art, the embodiments of the present application do not need to trigger the identification of each opponent multiple times to view the chessboard image corresponding to each opponent.

[0207] On the basis of the above-mentioned embodiments shown in FIG. 2, in the embodiments of the present application, the chessboard image corresponding to the opponent includes the screenshot of the virtual chessboard of the opponent and the prompt information, and the chessboard image corresponding to the opponent is provided by the server, which will be described in detail in the following embodiments. FIG. 10 is a flowchart of an interactive method provided by the embodiments of the present application. Taking the case that the method is executed by the server as an example, as shown in FIG. 10, the method includes the following steps.

[0208] 1001. The server receives a chessboard viewing request sent by the first terminal, and the chessboard viewing request is used to request the virtual chessboard of any opponent.

[0209] It should be noted that the chessboard viewing request is the same as the second viewing request in the above-mentioned embodiments shown in FIG. 5, and will not be described herein again.

[0210] 1002. The server acquires a screenshot of a first virtual chessboard in response to the chessboard viewing request, and the first virtual chessboard is the virtual chessboard of the opponent.

[0211] In a possible implementation manner, the step 1002 includes: sending an image interception instruction to a second terminal in response to the chessboard viewing request, the second terminal being the terminal corresponding to the opponent indicated by the chessboard viewing request, the image interception instruction instructing the second terminal to perform image interception on the displayed virtual chessboard and return the obtained screenshot; and receiving the screenshot returned by the second terminal. In the embodiments of the present application, the server acquires the screenshot of the virtual chessboard of the opponent by interacting with the second terminal in response to the chessboard viewing request, and the opponent has no awareness, which can guarantee the accuracy of the screenshot of the first virtual chessboard obtained by the server, and can guarantee the privacy of the viewing of the lineup of the opponent at the local end, avoid the awareness of the opponent, hide the intention of the user, avoid exposing the intention of the opponent in the process of viewing the opponent, and further guarantee the flexibility and interest of the opponent.

[0212] Optionally, the process of sending the image capturing instruction comprises: in the case that the current stage is the preparation stage, sending the image capturing instruction to the second terminal in response to the chessboard viewing request. In the embodiments of the present application, in the case that the current stage is the preparation stage, each user can change the piece formation on the virtual chessboard at any time. Considering that the piece formation of each opponent in the preparation stage can change over time, in the case that the current stage is the preparation stage, the server sends the image capturing instruction to the second terminal in response to the chessboard viewing request, so as to ensure that the captured screenshot matches the current piece formation on the virtual chessboard of the second terminal, and ensure the accuracy of the virtual chessboard of the opponent obtained subsequently.

[0213] In a possible implementation manner, the step 1002 comprises: in the case that the current stage is the battle stage, determining the screenshot of the first virtual chessboard from the screenshots of the opponents in response to the chessboard viewing request; wherein the screenshot of the opponent is the screenshot of the virtual chessboard of the opponent, and the screenshots of the opponents are sent by the terminal corresponding to each opponent at the end of the preparation stage.

[0214] In the embodiments of the present application, when the preparation stage ends, the battle stage starts, and the piece formation of each opponent cannot be changed after entering the battle stage. In the case that the current stage is the battle stage, the user can still view the piece formation of each opponent. Since the opponents are grouped in pairs in the battle stage, the virtual pieces in the virtual chessboard of each opponent automatically battle, and if the terminal corresponding to each opponent captures the screenshot of the displayed virtual chessboard, the obtained screenshot can not display the piece formation in the virtual chessboard of each opponent. Therefore, when the preparation stage ends, the terminal corresponding to each opponent captures the screenshot of the displayed virtual chessboard and sends the screenshot to the server for storage. In this way, in the battle stage, if the user wants to view the virtual chessboard of any opponent, the server can directly determine the screenshot corresponding to the opponent that the user wants to view from the stored screenshots, so as to ensure the accuracy of the obtained screenshot, and the server can obtain the chessboard image corresponding to the opponent based on the screenshot, so as to ensure the accuracy of the chessboard image of each opponent viewed in the battle stage.

[0215] 1003. The server adds prompt information in the screenshot of the first virtual chessboard to obtain the chessboard image corresponding to the opponent, the prompt information is used to represent the coincidence degree of the first virtual piece and the second virtual piece or the formation type that the first virtual piece is about to achieve, the first virtual piece is the virtual piece corresponding to the first terminal, and the second virtual piece is the virtual piece of the opponent.

[0216] The step 1003 is the same as the step 303 described above, and will not be described here.

[0217] 1004、The server sends the chessboard image corresponding to the opponent to the first terminal.

[0218] In the scheme provided by the embodiments of the present application, the server is configured to provide services for turn-based chess games. The server acquires a screenshot of a first virtual chessboard and adds prompt information in the screenshot of the first virtual chessboard in response to a chessboard viewing request sent by a first terminal, so as to prompt the similarity between the chess piece formations of the viewing party and the viewed party, and sends a chessboard image corresponding to the opponent to the first terminal. In this way, the terminal only needs to receive and display the chessboard image, so that the terminal does not need to process more data, and the device does not need to pull the chessboard data of the opponent for rendering. This can save the resources of the device, reduce the requirements on the device, save the time for rendering the virtual chessboard of the opponent, and ensure the formation viewing efficiency.

[0219] It should be noted that the above-mentioned embodiments can be combined arbitrarily. On the basis of the above-mentioned embodiments, the terminal of any opponent participating in any game is taken as an example, as shown in FIGS. 11 to 16.

[0220] The terminal displays a virtual chessboard in the preparation phase of the game, as shown in FIG. 11. The virtual chessboard includes a battle area and a preparation area. The battle area includes a plurality of chess grids, and the virtual chess pieces A, B and C are displayed in the battle area. The virtual chess piece D is displayed in the preparation area. The virtual chess pieces A, B and C in the battle area have the shackles 1 and 2 displayed in the upper left corner area of the virtual chessboard, and the plurality of opponent identifiers participating in the current game, such as the players 1 to 8, are displayed in the right side area of the virtual chessboard.

[0221] On the basis that the terminal displays the virtual chessboard as shown in FIG. 11, the user presses any battle side identifier through the terminal, judges whether to start the formation viewing function based on the time length of pressing the battle side identifier, if the time length of pressing the battle side identifier does not exceed the third time length, it is determined that the formation viewing function is not started, and the process is ended; if the time length of pressing the battle side identifier exceeds the third time length, the formation viewing function is started, and the formation viewing function of the battle side is activated, taking the user long-pressing "player 1" through the terminal and the terminal adding prompt information in the screenshot as an example, the terminal acquires the screenshot of the current chessboard of player 1 according to the above-mentioned embodiments shown in FIGS. 2 to 9, and acquires the screenshot of the current chessboard of other players, the terminal calculates the coincidence degree of the chess piece formation of the terminal and the chess piece formation of player 1 according to the above-mentioned embodiments shown in FIGS. 2 to 9. And, it is judged whether each bond in the virtual chessboard of player 1 is about to collect corresponding virtual chess pieces, that is, it is judged whether the number of chess pieces corresponding to each bond in the virtual chessboard of player 1 is about to reach the maximum number of chess pieces corresponding to the bond. If any bond in the virtual chessboard of player 1 is about to collect corresponding virtual chess pieces, that is, if the number of chess pieces corresponding to any bond in the virtual chessboard of player 1 is about to reach the maximum number of chess pieces corresponding to the bond, the bond is highlighted in the screenshot of the current chessboard of player 1; if each bond in the virtual chessboard of player 1 cannot collect corresponding virtual chess pieces, the process is ended. And, it is judged whether each virtual chess piece of player 1 is about to reach the highest level; if any virtual chess piece of player 1 is about to reach the highest level, the virtual chess piece is highlighted in the screenshot of the current chessboard of player 1; if each virtual chess piece of player 1 cannot reach the highest level, the process is ended. After the above-mentioned two judgment processes are ended, the chessboard image corresponding to player 1 is obtained. The terminal displays the chessboard image corresponding to player 1 on the virtual chessboard shown in FIG. 11, and the chessboard image corresponding to player 1 is shown in FIGS. 12 to 15.

[0222] Taking the prompt information in the chessboard image corresponding to player 1 including the coincidence degree as an example, the chessboard image corresponding to player 1 is shown in FIG. 12, in the chessboard image shown in FIG. 12, the virtual chess pieces C, E, F and G are displayed in the battle area included in the chessboard image, the virtual chess piece D is displayed in the standby area included in the chessboard image, and the prompt information displayed in the upper left corner of the chessboard image is "current formation coincidence degree: 50%".

[0223] Taking the prompt information in the chessboard image corresponding to player 1 as an example, the prompt information includes coincidence degree and the fact that the virtual chess piece D of player 1 is about to be upgraded to the highest level, the chessboard image corresponding to player 1 is shown in FIG. 14, in the chessboard image shown in FIG. 14, the virtual chess pieces C, E, F and G are displayed in the battle area of the chessboard image, the virtual chess piece D is displayed in the standby area of the chessboard image, the prompt information includes the coincidence degree “current lineup coincidence degree: 50%”, and the coincidence degree included in the prompt information is displayed in the upper left corner area of the chessboard image; the special effect is displayed around the virtual chess piece D in the chessboard image to highlight the virtual chess piece D, so as to prompt that the virtual chess piece D is about to be upgraded to the highest level.

[0224] Taking the prompt information in the chessboard image corresponding to player 1 as an example, the prompt information includes coincidence degree and the fact that the virtual chess piece D of player 1 is about to be upgraded to the highest level, the chessboard image corresponding to player 1 is shown in FIG. 14, in the chessboard image shown in FIG. 14, the virtual chess pieces C, E, F and G are displayed in the battle area of the chessboard image, the virtual chess piece D is displayed in the standby area of the chessboard image, the prompt information includes the coincidence degree “current lineup coincidence degree: 50%”, and the coincidence degree included in the prompt information is displayed in the upper left corner area of the chessboard image; the special effect is displayed around the virtual chess piece D in the chessboard image to highlight the virtual chess piece D, so as to prompt that the virtual chess piece D is about to be upgraded to the highest level.

[0225] In addition, in the case of maintaining the pressing operation, the chessboard image of other players can be viewed, the pressing position of the pressing operation is moved from the position of “player 1” to the position of “player 2”, and then the terminal displays the chessboard image corresponding to player 2, the chessboard image corresponding to player 2 is shown in FIG. 15, in the chessboard image shown in FIG. 15, the virtual chess pieces A, B and C are displayed in the battle area of the chessboard image, and the virtual chess piece C is displayed in the standby area of the chessboard image, the prompt information includes the coincidence degree “current lineup coincidence degree: 0%”, and the coincidence degree included in the prompt information is displayed in the upper left corner area of the chessboard image.

[0226] In addition, in the case of ending the pressing operation, the lineup viewing function is equivalent to being exited, the terminal cancels the display of the currently displayed chessboard image, and displays the virtual chessboard shown in FIG. 11.

[0227] On the basis of the above-mentioned embodiments, the application further provides a way of viewing the chess piece lineup of a battle party, taking the first virtual chessboard displayed by the terminal as an example, a plurality of battle party identifiers are displayed in the first virtual chessboard, the terminal displays the virtual chessboard corresponding to any battle party identifier in response to the clicking operation on the battle party identifier, and the virtual chessboard displayed by the terminal is kept synchronous with the virtual chessboard displayed by the terminal corresponding to the battle party identifier.

[0228] In the embodiments of the present application, the formation viewing function of multiple opponents can be triggered not only by a long press operation, but also by a click operation on any opponent identifier, so that the formation viewing mode is provided in multiple ways, the different needs of users can be met, and the user experience is improved.

[0229] Optionally, the first virtual chessboard displays a virtual chess player, and the terminal displays the virtual chessboard corresponding to the opponent identifier in response to the click operation on the opponent identifier, and displays the virtual chess player in the virtual chessboard corresponding to the opponent identifier. In the embodiments of the present application, when the formation of any opponent is viewed through a click operation, the virtual chess player enters the virtual chessboard of the opponent to simulate the situation that the virtual chess player enters the virtual chessboard of the opponent to view the formation of the opponent, so that the interaction effect is improved, and the user experience is improved. In this case, the virtual chess player is also displayed in the virtual chessboard displayed by the terminal corresponding to the opponent, so that the opponent can know which party is viewing the formation of the opponent.

[0230] The embodiments of the present application add a new formation viewing mode to the round-based chess game, the player can activate the formation viewing function by long pressing the opponent identifier, and quickly switch between different players through a simple finger sliding operation, so as to quickly view the formation of each opponent. A quick switching mechanism is realized, so that the player can quickly view the target of interest without performing a cumbersome multi-step operation, the efficiency of information viewing is improved, and the player can obtain more valuable information in a short time.

[0231] In addition, the formation viewing function is automatically exited and returned to the chessboard view of the player after the press operation is completed, so that the virtual chess player of the player does not need to enter the virtual chessboard of the opponent during the process of viewing the formation of the opponent, so that the opponent has no perception, the privacy of the formation viewing of the first opponent by the terminal is ensured, the first opponent is avoided to perceive, the intention of the user is hidden, the intention of the user is avoided to be exposed during the process of viewing the first opponent, and the flexibility and interest of the game are ensured.

[0232] And the viewed player's piece formation is displayed through the static chessboard image, so that the chessboard image can not only present the opponent's piece formation, but also show the coincidence degree of the two sides through prompt information and warn the opponent's virtual piece of the approaching formation, ensuring the real-time and accuracy of the piece formation displayed by the chessboard image, allowing the player to view the current real chessboard state of the opponent, enabling the player to better understand the opponent's formation characteristics and strategic intent, helping the player to predict the opponent's strategic intent in advance, so as to make corresponding coping strategies, improve the player's information acquisition efficiency in the game, enable the player to enjoy the game process more happily, improve the convenience of formation viewing, and improve the human-computer interaction efficiency.

[0233] Fig. 17 is a structural schematic diagram of an interactive device provided by an embodiment of the present application. As shown in Fig. 17, the device comprises:

[0234] The display module 1701 is configured to display a first virtual piece in a first virtual chessboard of a turn-based chess game.

[0235] The acquisition module 1702 is configured to acquire a chessboard image corresponding to a first opponent in response to a chessboard viewing operation of the first opponent, the chessboard image comprising a screenshot of a second virtual chessboard, the second virtual chessboard being a virtual chessboard of the first opponent.

[0236] The display module 1701 is further configured to display the chessboard image.

[0237] In a possible implementation, the chessboard image further comprises prompt information, the prompt information being used to represent a coincidence degree of the first virtual piece and the second virtual piece or a formation type of the second virtual piece that is about to be achieved, the second virtual piece being a virtual piece located on the second virtual chessboard.

[0238] In another possible implementation, the acquisition module 1702 is configured to acquire the screenshot in response to the chessboard viewing operation, and add the prompt information in the screenshot to obtain the chessboard image.

[0239] In another possible implementation, the prompt information comprises the coincidence degree of the first virtual piece and the second virtual piece; and the acquisition module 1702 is further configured to compare piece data of the first virtual piece and piece data of the second virtual piece to obtain coincidence information, the coincidence information comprising at least one of a first quantity, a second quantity or a third virtual piece and a fourth virtual piece, the first quantity being a quantity of same pieces in the first virtual piece and the second virtual piece, the second quantity being a quantity of same level pieces in the first virtual piece and the second virtual piece, the third virtual piece being a virtual piece with the highest ability value in the first virtual piece, and the fourth virtual piece being a virtual piece with the highest ability value in the second virtual piece; and the coincidence degree of the first virtual piece and the second virtual piece is determined based on the coincidence information.

[0240] In a possible implementation, the acquisition module 1702 is configured to perform at least one of the following:

[0241] In a possible implementation, the prompt information is used to indicate the lineup type that is about to be achieved by the second virtual chess piece, and the acquisition module 1702 is further configured to perform at least one of the following:

[0242] In a possible implementation, the prompt information is used to indicate that the fifth virtual chess piece is about to reach the first level, and the fifth virtual chess piece is any one of the second virtual chess pieces, and the first level is higher than the second level.

[0243] In a possible implementation, the prompt information is used to indicate that the number of chess pieces with the same bond in the second virtual chess piece is about to reach the maximum number of chess pieces corresponding to the bond.

[0244] In a possible implementation, the acquisition module 1702 is configured to, in response to a chessboard viewing operation, send a first viewing request to the server, the first viewing request being used to request a screenshot of a virtual chessboard of a first opponent and chess piece data of the first opponent; receive the screenshot and the chess piece data of the second virtual chess piece returned by the server based on the first viewing request; and add the prompt information in the screenshot based on the chess piece data of the second virtual chess piece, to obtain a chessboard image.

[0245] In a possible implementation, the acquisition module 1702 is configured to, in response to a chessboard viewing operation, send a second viewing request to the server, the second viewing request being used to request a chessboard image corresponding to the first opponent.

[0246] In a possible implementation, the display module 1701 is configured to, in a case where the first virtual chessboard is displayed, display the chessboard image in a region outside the first virtual chessboard; or in a case where the first virtual chessboard is displayed, display the chessboard image in a region outside a chess piece display region in the first virtual chessboard, and the chess piece display region is used to display the first virtual chess piece.

[0247] In a possible implementation, the first virtual chessboard further displays a plurality of opponent identifiers, the plurality of opponent identifiers indicating opponents participating in the same game; the obtaining module 1702 is configured to obtain the chessboard image in response to a pressing operation on a first identifier of the plurality of opponent identifiers, the first identifier indicating a first opponent;

[0248] The display module 1701 is further configured to cancel display of the chessboard image in response to the end of the pressing operation.

[0249] In a possible implementation, the obtaining module 1702 is further configured to obtain a chessboard image corresponding to a second opponent in response to movement of the pressing position of the pressing operation to a position where a second identifier is located, the second identifier being any one of the plurality of opponent identifiers other than the first identifier, the second opponent being an opponent indicated by the second identifier;

[0250] The display module 1701 is further configured to switch display of the chessboard image corresponding to the first opponent to the chessboard image corresponding to the second opponent.

[0251] In a possible implementation, the obtaining module 1702 is configured to obtain chessboard images corresponding to the plurality of opponent identifiers in response to the pressing operation on the first identifier, the chessboard images corresponding to the plurality of opponent identifiers including the chessboard image corresponding to the first opponent;

[0252] The display module 1701 is further configured to switch display of the chessboard image corresponding to the first opponent to a chessboard image corresponding to the second identifier in response to movement of the pressing position of the pressing operation to a position where the second identifier is located.

[0253] In a possible implementation, the obtaining module 1702 is further configured to obtain an updated chessboard image of the first opponent in a case where the pressing position of the pressing operation moves to the position where the first identifier is located and a duration of the pressing operation reaches a first duration;

[0254] The display module 1701 is further configured to display the updated chessboard image of the first opponent.

[0255] In a possible implementation, after the chessboard image is displayed, the obtaining module 1702 is further configured to obtain an updated chessboard image of the first opponent in a case where a display duration of the chessboard image corresponding to the first opponent reaches a second duration;

[0256] The display module 1701 is further configured to switch display of the chessboard image corresponding to the first opponent to the updated chessboard image of the first opponent.

[0257] FIG. 18 is a structural schematic diagram of an interaction device provided by an embodiment of the present application, as shown in FIG. 18, the device includes:

[0258] The receiving module 1801 is configured to receive a chessboard viewing request sent by the first terminal, the chessboard viewing request being used to request a virtual chessboard of any opponent;

[0259] The obtaining module 1802 is configured to obtain a screenshot of the first virtual chessboard in response to the chessboard viewing request, the first virtual chessboard being a virtual chessboard of the opponent;

[0260] The adding module 1803 is configured to add prompt information in the screenshot to obtain a chessboard image corresponding to the opponent, the prompt information being used to indicate a coincidence degree of a first virtual chess piece and a second virtual chess piece or an army type that the first virtual chess piece is about to reach, the first virtual chess piece being a virtual chess piece corresponding to the first terminal, and the second virtual chess piece being a virtual chess piece of the opponent.

[0261] The sending module 1804 is configured to send the chessboard image corresponding to the opponent to the first terminal.

[0262] In a possible implementation, the obtaining module 1802 is configured to send an image capturing instruction to a second terminal in response to the chessboard viewing request, the second terminal being a terminal corresponding to the opponent, the image capturing instruction instructing the second terminal to capture an image of the displayed virtual chessboard and return the obtained screenshot; and the obtaining module 1802 is configured to receive the screenshot returned by the second terminal.

[0263] In another possible implementation, the obtaining module 1802 is configured to send the image capturing instruction to the second terminal in response to the chessboard viewing request in a case where the current stage is the preparation stage.

[0264] In another possible implementation, the obtaining module 1802 is configured to determine the screenshot of the first virtual chessboard from a plurality of screenshots corresponding to the opponents in response to the chessboard viewing request in a case where the current stage is the battle stage, the screenshot corresponding to the opponent being a screenshot of a virtual chessboard of the opponent, and the plurality of screenshots corresponding to the opponents being sent by terminals corresponding to the opponents at the end of the preparation stage.

[0265] It should be noted that the interactive device provided in the above embodiments is only exemplified by the division of the above functional modules, and in actual applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the interactive device and the interactive method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0266] The embodiments of the present application further provide a computer device including a processor and a memory, and the memory stores at least one computer program, which is loaded and executed by the processor to implement the operations performed by the interaction method of the above-mentioned embodiments. Optionally, the computer device is provided as a terminal. FIG. 19 shows a structural block diagram of a terminal 1900 provided by one exemplary embodiment of the present application. The terminal 1900 includes a processor 1901 and a memory 1902. In some embodiments, the terminal 1900 can also optionally include a peripheral device interface 1903 and at least one peripheral device. The processor 1901, the memory 1902 and the peripheral device interface 1903 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 1903 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1904, a display screen 1905, a camera assembly 1906, an audio circuit 1907 and a power supply 1908.

[0267] The peripheral device interface 1903 can be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1901 and the memory 1902. The radio frequency circuit 1904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1904 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. The display screen 1905 is used to display a UI (User Interface). The UI can include graphics, text, icons, videos and any combination thereof. When the display screen 1905 is a touch display screen, the display screen 1905 also has the ability to collect touch signals on or above the surface of the display screen 1905. The touch signals can be input to the processor 1901 as control signals for processing. At this time, the display screen 1905 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. The camera assembly 1906 is used to collect images or videos. Optionally, the camera assembly 1906 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. The audio circuit 1907 can include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals input to the processor 1901 for processing, or input to the radio frequency circuit 1904 to realize voice communication. The speaker is used to convert electrical signals from the processor 1901 or the radio frequency circuit 1904 into sound waves. The power supply 1908 is used to power each component in the terminal 1900.

[0268] Those skilled in the art can understand that the structure shown in FIG. 19 does not constitute a limitation on the terminal 1900, and can include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0269] Optionally, the computer device is provided as a server. FIG. 20 is a structural schematic diagram of a server provided by an embodiment of the present application. The server 2000 can be quite different in configuration or performance, and can include one or more processors (Central Processing Units, CPUs) 2001 and one or more memories 2002, wherein the memory 2002 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 2001 to implement the method provided by each method embodiment described above. Of course, the server can also have a wired or wireless network interface, a keyboard, and an input and output interface, and the like, so as to perform input and output. The server can also include other components for implementing device functions, which are not described here.

[0270] The embodiment of the present application further 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 interactive method of the above embodiment.

[0271] The embodiment of the present application further provides a computer program product, which includes a computer program. The computer program is executed by a processor to implement the operations performed by the interactive method of the above embodiment.

[0272] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by a program instructing relevant hardware to complete, and the program can be stored in a computer readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0273] The above description is only optional embodiments of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An interaction method executed by a computer device, the method comprising: displaying a first virtual chess piece in a first virtual chessboard of a turn-based chess game; in response to a chessboard viewing operation on a first opponent, obtaining a chessboard image corresponding to the first opponent, the chessboard image comprising a screenshot of a second virtual chessboard, the second virtual chessboard being a virtual chessboard of the first opponent; displaying the chessboard image.

2. The method of claim 1, wherein, The chessboard image further comprises prompt information, the prompt information being used to represent a coincidence degree of the first virtual chess piece and a second virtual chess piece or a formation type to be achieved by the second virtual chess piece, the second virtual chess piece being a virtual chess piece located on the second virtual chessboard.

3. The method of claim 2, wherein, The response to the chessboard viewing operation on the first opponent, obtaining the chessboard image corresponding to the first opponent, comprises: in response to the chessboard viewing operation, obtaining the screenshot; adding the prompt information in the screenshot to obtain the chessboard image.

4. The method of claim 3, wherein, The prompt information comprises the coincidence degree of the first virtual chess piece and the second virtual chess piece. Before the adding the prompt information in the screenshot to obtain the chessboard image, the method further comprises: comparing chess piece data of the first virtual chess piece and chess piece data of the second virtual chess piece to obtain coincidence information, the coincidence information comprising at least one of a first number, a second number or a similarity between a third virtual chess piece and a fourth virtual chess piece, the first number being a number of same chess pieces in the first virtual chess piece and the second virtual chess piece, the second number being a number of same level chess pieces in the first virtual chess piece and the second virtual chess piece, the third virtual chess piece being a virtual chess piece with the highest ability value in the first virtual chess piece, and the fourth virtual chess piece being a virtual chess piece with the highest ability value in the second virtual chess piece; determining the coincidence degree of the first virtual chess piece and the second virtual chess piece based on the coincidence information.

5. The method of claim 4, wherein, The determination of the coincidence degree of the first virtual chess piece and the second virtual chess piece based on the coincidence information comprises: performing weighted processing on the coincidence information based on weights of the coincidence information to obtain the coincidence degree of the first virtual chess piece and the second virtual chess piece, the weights of the coincidence information comprising at least one of a weight of the first number, a weight of the second number or a weight of the similarity.

6. The method of claim 3, wherein, The prompt information is used to represent the formation type to be achieved by the second virtual chess piece, and before the adding the prompt information in the screenshot to obtain the chessboard image, the method further comprises at least one of: In a case where the number of the fifth virtual chess pieces reaches a first warning number, the prompt information is determined, a difference between the first warning number and a target number is a first preset value, the target number is a number of virtual chess pieces of a second level required for virtual chess pieces combined into a first level, the number of the fifth virtual chess pieces is a number of fifth virtual chess pieces of the second level required for the fifth virtual chess pieces in the second virtual chess pieces, the prompt information is used to indicate that the fifth virtual chess pieces are about to reach the first level, the fifth virtual chess pieces are any of the second virtual chess pieces, and the first level is higher than the second level. In a case where the number of chess pieces with the same tie in the second virtual chess pieces reaches a second warning number, the prompt information is determined, a difference between the second warning number and a maximum number of chess pieces corresponding to the tie is a second preset value, and the prompt information is used to indicate that the number of chess pieces with the tie is about to reach the maximum number of chess pieces corresponding to the tie.

7. The method of claim 3, wherein, The response to the chessboard viewing operation, the screenshot is obtained, including: In response to the chessboard viewing operation, a first viewing request is sent to a server, the first viewing request is used to request a screenshot of a virtual chessboard of the first opponent and chess piece data of the first opponent; The server returns the screenshot and the chess piece data of the second virtual chess piece based on the first viewing request; The prompt information is added in the screenshot based on the chess piece data of the second virtual chess piece, and the chessboard image is obtained. The response to the chessboard viewing operation, a first viewing request is sent to a server, the first viewing request is used to request a screenshot of a virtual chessboard of the first opponent and chess piece data of the first opponent; 8. The method of claim 1, wherein, In response to the chessboard viewing operation, a second viewing request is sent to a server, the second viewing request is used to request a chessboard image corresponding to the first opponent; The server returns the chessboard image based on the second viewing request. The display of the chessboard image includes:

9. The method according to any one of claims 1 to 8, wherein, In a case where the first virtual chessboard is displayed, the chessboard image is displayed in a region outside the first virtual chessboard; or In a case where the first virtual chessboard is displayed, the chessboard image is displayed in a region outside a chess piece display region in the first virtual chessboard, and the chess piece display region is used to display the first virtual chess pieces. The first virtual chessboard also displays a plurality of opponent identifiers, the plurality of opponent identifiers indicate opponents participating in the same game; the response to the chessboard viewing operation of the first opponent, the chessboard image corresponding to the first opponent is obtained, including:

10. The method according to any one of claims 1 to 8, wherein, In response to a pressing operation on a first identifier in the plurality of opponent identifiers, the chessboard image is obtained, and the first identifier indicates the first opponent; After the display of the chessboard image, the method further includes: In response to the end of the pressing operation, the display of the chessboard image is cancelled. Before the response to the end of the pressing operation, the display of the chessboard image is cancelled, the method further includes:

11. The method of claim 10, wherein, ​ In response to the press position of the press operation moving to a position where a second identifier is located, a chessboard image corresponding to a second opponent is acquired, the second identifier being any one of the multiple opponent identifiers other than the first identifier, and the second opponent being an opponent indicated by the second identifier; The chessboard image corresponding to the first opponent is switched to display the chessboard image corresponding to the second opponent.

12. The method of claim 10, wherein, The acquiring of the chessboard image in response to the press operation on the first identifier of the multiple opponent identifiers comprises: In response to the press operation on the first identifier, chessboard images corresponding to the multiple opponent identifiers are acquired, the chessboard images corresponding to the multiple opponent identifiers including the chessboard image corresponding to the first opponent; Before the chessboard image is canceled in response to the press operation ending, the method further comprises: In response to the press position of the press operation moving to a position where a second identifier is located, the chessboard image corresponding to the first opponent is switched to display the chessboard image corresponding to the second identifier.

13. The method of claim 12, wherein, After the chessboard image corresponding to the first opponent is switched to display the chessboard image corresponding to the second identifier in response to the press position of the press operation moving to a position where a second identifier is located, the method further comprises: In response to the press position of the press operation moving to a position where the first identifier is located, if a duration of the press operation reaches a first duration, an updated chessboard image of the first opponent is acquired; The updated chessboard image of the first opponent is displayed.

14. The method according to any one of claims 1 to 8, wherein, After the chessboard image is displayed, the method further comprises: If a display duration of the chessboard image corresponding to the first opponent reaches a second duration, an updated chessboard image of the first opponent is acquired; The chessboard image corresponding to the first opponent is switched to display the updated chessboard image of the first opponent.

15. An interaction method performed by a computer device, the method comprising: receiving a chessboard viewing request sent by a first terminal, the chessboard viewing request being used to request a virtual chessboard of any opponent; in response to the chessboard viewing request, acquiring a screenshot of a first virtual chessboard, the first virtual chessboard being a virtual chessboard of the opponent; adding prompt information in the screenshot to obtain a chessboard image corresponding to the opponent, the prompt information being used to represent a coincidence degree of a first virtual chess piece and a second virtual chess piece or an array type that the first virtual chess piece is about to reach, the first virtual chess piece being a virtual chess piece corresponding to the first terminal, and the second virtual chess piece being a virtual chess piece of the opponent; sending the chessboard image corresponding to the opponent to the first terminal.

16. The method of claim 15, wherein, The acquiring of the screenshot of the first virtual chessboard in response to the chessboard viewing request comprises: in response to the chessboard viewing request, sending an image capturing instruction to a second terminal, the second terminal being a terminal corresponding to the opponent, the image capturing instruction instructing the second terminal to capture an image of a displayed virtual chessboard and return the obtained screenshot; receiving the screenshot returned by the second terminal.

17. The method of claim 16, wherein, The method further includes: in response to the chessboard viewing request, sending an image capturing instruction to the second terminal. In the case that the current phase is the preparation phase, in response to the chessboard viewing request, an image capturing instruction is sent to the second terminal.

18. The method of claim 15, wherein, The method further includes: in response to the chessboard viewing request, obtaining a screenshot of the first virtual chessboard. In the case that the current phase is the battle phase, in response to the chessboard viewing request, a screenshot of the first virtual chessboard is determined from screenshots corresponding to a plurality of battle parties. The screenshot corresponding to the battle party is a screenshot of a virtual chessboard of the battle party, and the screenshots corresponding to the plurality of battle parties are sent by a terminal corresponding to each battle party at the end of the preparation phase.

19. An interactive device, the device comprising: a display module configured to display a first virtual chess piece in a first virtual chessboard of a turn-based chess game; an obtaining module configured to, in response to a chessboard viewing operation of a first battle party, obtain a chessboard image corresponding to the first battle party, the chessboard image comprising a screenshot of a second virtual chessboard, the second virtual chessboard being a virtual chessboard of the first battle party; the display module is further configured to display the chessboard image.

20. An interactive device, the device comprising: a receiving module configured to receive a chessboard viewing request sent by a first terminal, the chessboard viewing request being used to request a virtual chessboard of any battle party; an obtaining module configured to, in response to the chessboard viewing request, obtain a screenshot of a first virtual chessboard, the first virtual chessboard being a virtual chessboard of the battle party; an adding module configured to add prompt information in the screenshot to obtain a chessboard image corresponding to the battle party, the prompt information being used to represent a coincidence degree of a first virtual chess piece and a second virtual chess piece or an array type that is about to be achieved by the first virtual chess piece, the first virtual chess piece being a virtual chess piece corresponding to the first terminal, and the second virtual chess piece being a virtual chess piece of the battle party; a sending module configured to send the chessboard image corresponding to the battle party to the first terminal.

21. A computer device, the computer device comprising a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement operations performed by the interactive method according to any one of claims 1 to 14, or to implement operations performed by the interactive method according to any one of claims 15 to 18.

22. A computer-readable storage medium, the computer-readable storage medium storing at least one computer program, the at least one computer program being loaded and executed by a processor to implement operations performed by the interactive method according to any one of claims 1 to 14, or to implement operations performed by the interactive method according to any one of claims 15 to 18.

23. A computer program product comprising a computer program which, when executed by a processor, implements the operations performed by the interaction method according to any one of claims 1 to 14, or implements the operations performed by the interaction method according to any one of claims 15 to 18.

Citation Information

Patent Citations

  • Method, device, equipment and storage medium for sharing view in three-dimensional virtual environment

    CN108295465A

  • Game screenshot share method, mobile terminal and computer-readable storage medium

    CN109165074A

  • Data processing method and device in round-robin game and electronic terminal

    CN110772786A

  • Chessboard picture display method and device, terminal equipment and storage medium

    CN113144596A

  • Screenshot editing method and device in game, storage medium and computer equipment

    CN113426140A