Virtual chessboard display method, virtual chessboard display device, terminal, and computer program
The method and device enhance Auto Chess battle preparation by enabling users to mark and synchronize opponent piece information on their own board, addressing the inefficiency of frequent board switching.
Patent Information
- Application Number
- JP2024522660
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-12-06
- Filing Date
- 2022-10-20
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-10-20
AI Technical Summary
The inefficiency in battle preparation for Auto Chess due to users having to frequently switch between their own and opponent's virtual chessboards to adjust lineups, leading to cumbersome operations and time wastage.
A method and device for displaying virtual chessboards that allow users to mark important opponent pieces on their own chessboard directly, synchronizing the information from the opponent's board in real-time, eliminating the need for repeated switching.
Improves battle preparation efficiency by allowing users to accurately adjust their lineups based on opponent information without relying on memory, reducing the need for frequent board switches.
Smart Images

Figure 0007718772000001 
Figure 0007718772000002 
Figure 0007718772000003
Abstract
Description
[Technical Field]
[0001] This application claims priority to a Chinese patent application filed on December 6, 2021, bearing application number 202111475697.4 and entitled "Virtual chessboard display method, terminal, storage medium and program product," the entire contents of which are incorporated herein by reference.
[0002] The embodiments of the present application relate to the technical field of man-machine interaction, and in particular to a virtual chessboard display method, terminal, storage medium and program product. [Background technology]
[0003] Auto Chess is a multiplayer strategy game. Users can build and develop their own lineup of pieces (also called "battle formations") to counter the opponent's lineup. During the battle, the pieces will automatically fight each other, reducing the hit points of the loser. Finally, the battle ranking will be determined according to the elimination order. Summary of the Invention [Problem to be solved by the invention]
[0004] The embodiments of the present application provide a virtual chessboard display method, a terminal, a storage medium and a program product, which avoid the influence of user's erroneous memory on the arrangement of virtual pieces, or the frequent operation and time-wasting of battle preparation due to each participant having to go back and forth between the second virtual chessboard and the first virtual chessboard multiple times, thereby improving the efficiency of battle preparation. The technical solutions are as follows: [Means for solving the problem]
[0005] According to one aspect, an embodiment of the present application provides a method for displaying a virtual chessboard, the method comprising: displaying a first virtual chessboard including first virtual pieces; In response to a lineup check operation for a target match participant, displaying a second virtual chessboard corresponding to the target match participant, the second virtual chessboard including second virtual pieces; acquiring piece information of at least one target virtual piece in response to a mark operation on the second virtual piece; and displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information.
[0006] According to another aspect, an embodiment of the present application provides a display device for a virtual chessboard, the device comprising: a first display module for displaying a first virtual chessboard including first virtual pieces; a second display module that displays a second virtual chessboard corresponding to a target match participant in response to a lineup check operation for the target match participant, the second virtual chessboard including second virtual pieces; a first acquisition module for acquiring piece information of at least one target virtual piece in response to a mark operation on the second virtual piece; and a third display module for displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information.
[0007] According to another aspect, an embodiment of the present application provides a terminal, the terminal including one or more processors and one or more memories, wherein at least one computer program is stored in the memories, and the at least one computer program is loaded and executed by the one or more processors to realize the virtual chessboard display method according to the above aspect.
[0008] According to another aspect, an embodiment of the present application provides a computer-readable storage medium, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is read and executed by a processor to realize the method for displaying a virtual chessboard according to the above aspect.
[0009] According to one aspect of the present application, there is provided a computer program product, the computer program product including at least one computer program, which is loaded and executed by a processor to realize a method for displaying a virtual chessboard provided by various preferred implementations of the above aspect. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is a schematic diagram of an implementation environment of one exemplary embodiment of the present application; [Figure 2] 1 is a flowchart of a method for displaying a virtual chessboard according to one exemplary embodiment of the present application. [Figure 3] FIG. 1 is a schematic diagram of a process of marking a target virtual piece in one exemplary embodiment of the present application. [Figure 4] 4 is a flowchart of a method for displaying a virtual chessboard according to another exemplary embodiment of the present application. [Figure 5] FIG. 1 is a schematic diagram of a process of displaying a target virtual piece in one exemplary embodiment of the present application. [Figure 6] FIG. 10 is a schematic diagram of the process of switching the target virtual piece in one exemplary embodiment of the present application. [Figure 7] FIG. 1 is a schematic diagram of a process of replacing a target virtual piece in one exemplary embodiment of the present application. [Figure 8] FIG. 1 is a schematic diagram of a process of updating a target virtual piece in one exemplary embodiment of the present application; [Figure 9] 4 is a flowchart of a method for displaying a virtual chessboard according to another exemplary embodiment of the present application. [Figure 10] 4 is a flowchart of a method for displaying a virtual chessboard according to another exemplary embodiment of the present application. [Figure 11] FIG. 10 is a schematic diagram of a process of performing a mark operation on a target virtual piece in one exemplary embodiment of the present application. [Figure 12] FIG. 1 is a structural block diagram of a display device of a virtual chessboard according to one exemplary embodiment of the present application. [Figure 13] FIG. 2 is a structural block diagram of a terminal of one exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION
[0011] In an Auto Chess station, the process is generally divided into a battle preparation period and a battle period, which are alternated. During the battle preparation period, users can use virtual resources to obtain the necessary pieces and place them on their own chessboard, and can also check the lineup on the opponent's chessboard and adjust their own piece lineup based on the opponent's lineup.
[0012] However, in the related art, the user needs to go to the opponent's chessboard to observe the opponent's lineup and placement actions, and then return to his / her own chessboard to implement a corresponding strategy. Furthermore, after the user returns to his / her own chessboard, the opponent's lineup may change at any time, so the user needs to perform multiple checking operations to continuously adjust the lineup, which makes the placement operation cumbersome.
[0013] First, the terms used in the examples of the present application will be briefly explained.
[0014] Auto Chess: Auto Chess is a new multiplayer strategy game. Users can combine and develop their own piece lineup, and attack the opponent's lineup to reduce the virtual hit points of the loser. When the virtual hit points fall below the threshold, the loser will be eliminated, and the ranking will be determined according to the elimination order.
[0015] Virtual Piece: Each combat unit in Auto Chess. Users can equip, upgrade, buy, sell, and adjust the position of virtual pieces.
[0016] Battle Preparation Period: In an Auto Chess station, the process is generally divided into a battle preparation period and a battle period, which alternate between the two. The battle preparation period is a truce period before each battle, during which the user can perform operations such as arranging the chessboard, purchasing pieces, and checking the opponent's lineup.
[0017] Virtual chessboard: Each user corresponds to one home chessboard, and during the battle preparation period, they assemble their lineup on the home chessboard. When the battle begins, the virtual pieces corresponding to the user are sent to the opponent's home chessboard through the transfer gate (if any, the opponent's virtual pieces are sent to the user's home chessboard).
[0018] Bonds: Each virtual piece has at least two bonds, which provide different strengths to the virtual piece, and activating a bond requires at least two virtual pieces with that bond to participate at the same time.
[0019] In the related art, during the battle preparation period, a user can use virtual resources to obtain and place the necessary pieces on his / her own chessboard, and can also check the lineup on the opponent's chessboard and adjust his / her own piece lineup based on the opponent's lineup. However, in the related art, the user must go to the opponent's chessboard to observe the opponent's lineup and placement, and then return to his / her own chessboard to implement a corresponding strategy. After the user returns to his / her own chessboard, the opponent's lineup may change at any time, so the user must perform multiple checks and continuously adjust the lineup, which makes the placement operation cumbersome.
[0020] To solve the above technical problems, an embodiment of the present application provides a method for displaying a virtual chessboard. Referring to Figure 1, a schematic diagram of an implementation environment provided by one embodiment of the present application is shown. The implementation environment includes a first terminal 110, a server 120, and a second terminal 130.
[0021] An application program 111 supporting the virtual chessboard is installed and executed on the first terminal 110, and the application program 111 may be an auto chess application program. When the first terminal executes the application program 111, a user interface of the application program 111 is displayed on the screen of the first terminal 110. The first terminal 110 is used by a first user 112, who uses the first terminal 110 to control a first virtual piece on the first virtual chessboard, such as by equipping, upgrading, purchasing, selling, and adjusting the piece's position, to complete the lineup. The first virtual piece is also referred to as the first user's 112's main control virtual piece. For example, the first virtual piece is a first virtual character, such as a simulation character or an animated character.
[0022] An application program 131 supporting the virtual chessboard is installed and executed on the second terminal 130, and the application program 131 may be an auto chess application program. When the second terminal 130 executes the application program 131, a user interface of the application program 131 is displayed on the screen of the second terminal 130. The second terminal 130 is used by a second user 132. The second user 132 uses the second terminal 130 to control second virtual pieces on the second virtual chessboard, such as equipping, upgrading, purchasing, selling, and adjusting piece positions, to complete the lineup arrangement. The second virtual pieces are also referred to as the main control virtual pieces of the second user 132. For example, the second virtual pieces are second virtual characters, such as simulation characters or animated characters.
[0023] Optionally, the first virtual piece and the second virtual piece belong to the same camp, team, or organization and have a friendly relationship or temporary communication rights. Optionally, the first virtual piece and the second virtual piece belong to different camps, teams, or organizations, or have an antagonistic relationship.
[0024] Optionally, the application programs installed on the first terminal 110 and the second terminal 130 may be the same, or the application programs installed on the two terminals may be the same type of application program on different operating system platforms (Android or IOS). The first terminal 110 generally refers to one of multiple terminals, and the second terminal 130 generally refers to another of the multiple terminals. In this embodiment, only the first terminal 110 and the second terminal 130 are described as examples. The device types of the first terminal 110 and the second terminal 130 may be the same or different, and the device types may include at least one of a smartphone, a tablet, an e-reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer.
[0025] 1 shows only two terminals, in different embodiments, there may be multiple other terminals that can access the server 120. Optionally, there may be one or more terminals corresponding to developers, on which an application program development and editing platform supporting virtual pieces is installed, whereby the developers edit and update the application programs on the terminals and transmit the updated application program installation packages to the server 120 via a wired or wireless network, and the first terminal 110 and the second terminal 130 download the application program installation packages from the server 120 to update the application programs.
[0026] The first terminal 110, the second terminal 130 and other terminals are connected to the server 120 via a wireless network or a wired network. When a user operation such as an add operation, an adjust operation, a remove operation or a select operation on a virtual piece is received, the terminal sends operation data to the background server 120 according to the operation result corresponding to the user operation, and the background server updates the piece information of each virtual piece. When a mark operation on a target virtual piece is received, the terminal sends a piece information acquisition request to the background server 120 to acquire the piece information, and displays the target virtual piece on the virtual chessboard corresponding to the terminal according to the piece information.
[0027] The server 120 includes at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. The server 120 provides background services to an application program supporting the virtual chessboard. Optionally, the server 120 performs a main computing task, and the terminal performs a secondary computing task, or the server 120 performs a secondary computing task, and the terminal performs a main computing task, or a distributed computing architecture is used between the server 120 and the terminal to perform collaborative computing.
[0028] In one schematic example, the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 reads instructions stored in the server 120 and processes data in the user account database 123 and the battle service module 124. The user account database 123 stores data on user accounts used by the first terminal 110, the second terminal 130, and other terminals, such as user account avatars, user account nicknames, user account combat power indices, and service areas where the user accounts are located. The battle service module 124 provides multiple battle rooms for user battles, such as 1V1 battles, 2V2 battles, 3V3 battles, etc. The user-facing I / O interface 125 establishes communication and exchanges data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.
[0029] 2 is a flowchart of a virtual chessboard display method provided by an exemplary embodiment of the present application. In this embodiment, the method is applied to a terminal that supports a virtual environment, and includes the following steps: Step 201: The terminal displays a first virtual chessboard including a first virtual piece.
[0030] In some embodiments, Auto Chess is divided into a battle preparation phase and a battle phase, which are alternately performed. During the battle preparation phase, the terminal displays a first virtual chessboard, and the user adjusts the first virtual piece within the first virtual chessboard. For example, the user can replace a piece, acquire a piece, improve a piece level, or move a piece to prepare for the next round of battle. The first virtual chessboard corresponds to the current login account, and the first virtual piece corresponds to the current login account. If an adjustment operation for the first virtual piece is received during the battle preparation phase, the terminal performs the operation to adjust the first virtual piece accordingly. During the battle phase, the terminal automatically controls the first virtual piece to play a game.
[0031] Optionally, the terminal displays the first virtual chessboard via a virtual chessboard interface, which further displays match information (e.g., remaining virtual hit points, account identifiers, etc.) of each match participant and interface elements such as user interface (UI) controls.
[0032] Step 202: In response to a lineup check operation for the target match participant, the terminal displays a second virtual chessboard corresponding to the target match participant, where the second virtual chessboard includes second virtual pieces.
[0033] In some embodiments, during the battle preparation stage, the user may trigger the display of a second chessboard of another player, the second virtual chessboard including second virtual pieces, and the user may observe the lineup arrangement of the other player and consider a corresponding strategy to adjust the first virtual pieces to prepare for the next stage of the game.
[0034] FIG. 3 is a schematic diagram illustrating a process of switching from a first virtual chessboard to a second virtual chessboard. When entering the preparation stage, the terminal displays the first virtual chessboard 301 by default via the virtual chessboard interface, and the first virtual chessboard 301 displays the first virtual piece 302. In the virtual chessboard interface, the right side of the first virtual chessboard 301 displays the match information (such as the user nickname, user avatar, and remaining hit points) of each match participant. When a lineup check operation for the target match participant 306 is received, the terminal switches from the first virtual chessboard 301 to the second virtual chessboard 303 corresponding to the target match participant 306 in the virtual chessboard interface, and the second virtual chessboard 303 displays the second virtual piece currently in play. Although FIG. 3 shows only one first virtual piece 302, a total of six first virtual pieces 302 are actually displayed in FIG. 3.
[0035] During the display period of the second virtual chessboard, the terminal obtains the piece adjustment data of the target match participant from the background server, and adjusts the second virtual pieces on the second virtual chessboard according to the piece adjustment data to realize synchronous display with the operation of the target match participant, so that the user can observe the placement operation of the opponent through the second virtual chessboard.
[0036] Step 203: In response to the mark operation on at least one target virtual piece in the second virtual piece, the terminal obtains piece information of the target virtual piece.
[0037] When a user checks the second virtual chessboard to obtain the piece lineups and placements of other participants in a match and then returns to the first virtual chessboard to adjust the lineups, the user must rely on memory to make the adjustments. If there are a large number of participants in a match, it is difficult for the user to accurately remember the lineups of each participant. Also, during the time it takes the user to return from the second virtual chessboard to the first virtual chessboard to adjust the lineups, other participants may continuously adjust their lineups. As a result, the information the user has memorized does not match the actual lineups, and the user must check the second virtual chessboard multiple times.
[0038] In some embodiments, in order to improve the efficiency of lineup adjustment, the embodiments of the present application provide a virtual piece marking mechanism, allowing a user to go to the virtual chessboard of another player, observe and determine the virtual pieces in the opponent's lineup that will have a significant impact on the player's lineup, perform a marking operation on them, and then, even after returning to the first virtual chessboard, still be able to observe the marked virtual pieces.
[0039] When a marking operation for a target virtual piece is received, the terminal obtains piece information of the target virtual piece from the background server. Note that the number of target virtual pieces is at least one, and the number of target competition participants is at least one. That is, a user may mark multiple target virtual pieces for the same competition participant, or may go to multiple second virtual chessboards of different competition participants to mark target virtual pieces, which is not limited to the embodiment of the present application. The piece information includes the piece's name, position, level, current attribute value, piece equipment, and bond, etc.
[0040] Step 204: The terminal displays the first virtual piece and the target virtual piece on the first virtual chessboard according to the piece information.
[0041] When a return operation is received, the terminal switches from the second virtual chessboard to the first virtual chessboard, and in this case, the first virtual piece is displayed on the first virtual chessboard, and the target virtual piece is also displayed.
[0042] In some embodiments, the terminal displays the target virtual piece based on the piece information of the target virtual piece, so that the target virtual piece displayed on the first virtual chessboard reflects the status (position, level, current attribute value, piece equipment, etc.) of the target virtual piece on the corresponding second virtual chessboard. During the period in which the target virtual piece is displayed through the first virtual chessboard, the terminal further obtains piece adjustment data corresponding to the target virtual piece from the background server according to the target frequency, so that when the target game participant performs an adjustment operation on the target virtual piece, the terminal can synchronously update the piece information of the target virtual piece, and the user can obtain the adjustment status of the target virtual piece through the first virtual chessboard, eliminating the need to go back and forth between the first virtual chessboard and the second virtual chessboard, thereby improving man-machine interaction efficiency.
[0043] 3, when a mark operation on a target virtual piece 304 on the second virtual chessboard 303 is received, the terminal acquires piece information of the target virtual piece 304. When a trigger operation on a return control 305 is received, the terminal switches the second virtual chessboard 303 to the first virtual chessboard 301 and displays the first virtual piece 302 and the target virtual piece 304 via the first virtual chessboard 301.
[0044] Here, the target virtual piece displayed on the first virtual chessboard is not the virtual piece itself, but a virtual image corresponding to the virtual piece, which itself is still displayed on the second virtual chessboard.
[0045] As described above, in the embodiment of the present application, when a marking operation for a target virtual piece on the second virtual chessboard is received, the terminal acquires the piece information, and after returning to the first virtual chessboard, displays the target virtual piece based on the piece information. Therefore, when a user visits the chessboards of other participants in the battle preparation stage to observe the piece lineup, they can select and mark important pieces within the chessboard based on the actual situation. After returning to their own first virtual chessboard, the user can observe the target virtual piece through the first virtual chessboard and adjust the first virtual piece within the first virtual chessboard, eliminating the need to rely on memory for placement. This avoids the impact of user erroneous memory on the arrangement of virtual pieces or the need to repeatedly go back and forth between the second virtual chessboard and the first virtual chessboard of each participant, which requires frequent operations and wastes battle preparation time, thereby improving battle preparation efficiency.
[0046] In some embodiments, after returning to the first virtual chessboard and during the process of displaying the target virtual piece through the first virtual chessboard, the terminal needs to obtain the piece status of the target virtual piece based on the piece information. If the piece status is piece present, the terminal displays the target virtual piece; otherwise, it cancels the display of the target virtual piece. Figure 4 is a flowchart of a virtual chessboard display method provided by another exemplary embodiment of the present application. In this embodiment, the method is described as being applied to a terminal supporting a virtual environment, and includes the following steps:
[0047] Step 401: The terminal displays a first virtual chessboard including a first virtual piece. Step 402: In response to a lineup check operation for the target match participant, the terminal displays a second virtual chessboard corresponding to the target match participant, where the second virtual chessboard includes second virtual pieces. Step 403: In response to a mark operation on at least one target virtual piece in the second virtual piece, the terminal obtains piece information of the target virtual piece. For specific implementations of steps 401 to 403, please refer to steps 201 to 203 above, and no detailed description will be given in the examples of the present application. Step 404: The terminal determines the piece state of the target virtual piece based on the piece information.
[0048] The user's marking of the target virtual piece and returning to the first virtual chessboard are two independent operations, and the time interval between the two operations is not fixed. If the user returns to the first virtual chessboard immediately after marking the target virtual piece, the time interval between the two operations is short, and the target virtual piece generally remains unchanged during that period (i.e., the target match participant has not had time to adjust the target virtual piece). If the user does not immediately return to the first virtual chessboard after marking the target virtual piece, but continues to observe the target match participant's second virtual chessboard or goes to observe the second virtual chessboard of another match participant, the time interval between the two operations of marking the target virtual piece and returning to the first virtual chessboard is long, and the target virtual piece may no longer exist during that period because the target match participant may have already adjusted the target virtual piece. Therefore, to avoid a mismatch between the target virtual piece displayed on the terminal and the target virtual piece in the second virtual chessboard of the target player after the user returns to the first virtual chessboard, in the above step 403, the piece information acquired by the terminal includes the piece identifier of the target virtual piece and the account identifier of the target player. When receiving the return operation, the terminal acquires the piece status of the target virtual piece from the background server based on the account identifier and the piece identifier. The piece status includes whether the piece is present or absent. The terminal displays the first virtual chessboard based on the piece status. If the piece status is present, the terminal executes step 405; if the piece status is absent, the terminal executes step 406.
[0049] Here, when each participant adjusts their virtual pieces, the terminal sends corresponding piece adjustment data to the background server based on the adjustment operation, and the background server updates the piece status of each virtual piece based on the piece adjustment data. When the background server receives a piece addition operation sent from the terminal indicating that a virtual piece has been added to the virtual chessboard, it determines that the piece status of the virtual piece is "piece present." When the background server receives piece adjustment data such as piece replacement or piece removal sent from the terminal indicating that a virtual piece has been removed from the virtual chessboard, it updates the piece status of the virtual piece from "piece absent" to "piece present."
[0050] Step 405: If the piece state is piece present, the terminal displays the first virtual piece and the target virtual piece through the first virtual chessboard.
[0051] If the terminal determines that the piece state of the target virtual piece is piece present, the terminal displays the target virtual piece via the first virtual chessboard.
[0052] In some embodiments, to avoid the display content being cluttered due to the number of virtual pieces in the first virtual chessboard being too large and affecting the user's observation and placement, a marked piece upper limit is set in the terminal, and the terminal displays the first virtual chessboard according to the marked piece upper limit and the number of target virtual pieces displayed in the first virtual chessboard. Step 405 includes the following steps 405a to 405c.
[0053] Step 405a: If the piece state is piece present, the terminal determines the target piece position based on the piece information.
[0054] When the terminal determines that the piece state of the target virtual piece is "piece present," the terminal determines the target piece position based on the piece information. In some embodiments, when the terminal receives a mark operation on the target virtual piece, the acquired piece information includes the piece position, and when the terminal determines that the piece state is "piece present," the terminal directly determines the target piece position based on the piece information; or, when the terminal acquires the piece information, the terminal acquires the piece identifier of the target virtual piece and the account identifier of the target game participant, and when the terminal requests to acquire the piece state, the terminal acquires the piece position by sending the piece information to the background server, thereby ensuring that the target piece position in the first virtual chessboard and the position where the target virtual piece is located in the second virtual chessboard are synchronized.
[0055] Note that a piece position refers to the position (grid) of a virtual piece on the corresponding virtual chessboard. In the piece lineup of the same match participant, only one virtual piece can be placed at one piece position. In the embodiment of the present application, since a user can mark the virtual pieces of at least one match participant, when there are at least two target match participants, at least two target virtual pieces (of different match participants) may be at the same piece position. Therefore, the terminal needs to determine whether there is another virtual piece at the target piece position on the first virtual chessboard, and further displays the target virtual piece based on the determination result.
[0056] Step 405b: If no virtual piece is placed at the target piece position on the first virtual chessboard, the terminal displays the target virtual piece at the target piece position.
[0057] If no other virtual piece is placed at the target piece position on the first virtual chessboard, the terminal directly displays the target virtual piece at the target virtual position.
[0058] Step 405c: If a virtual piece has already been placed at the target piece position on the first virtual chessboard, the terminal displays the first virtual piece and the target virtual piece through the first virtual chessboard based on the mark piece upper limit, where the mark piece upper limit is the maximum number of virtual pieces at the same piece position that can be marked simultaneously.
[0059] If another virtual piece has already been placed on the first virtual chessboard, the terminal needs to further determine whether it can display a target virtual piece at the target piece position.To avoid the display content becoming cluttered due to too many virtual pieces being displayed at the same piece position, which may affect the user's observation and placement, a mark piece upper limit is set in the terminal, which is the maximum number of virtual pieces at the same piece position that can be marked simultaneously.The terminal determines whether it can display the target virtual piece based on the mark piece upper limit and the number of pieces placed at the target piece position.
[0060] In some embodiments, if the number of pieces placed at the target piece positions has not reached the mark piece upper limit, step 405c includes the following steps 1 to 3.
[0061] Step 1: If a virtual piece has already been placed at the target piece position on the first virtual chessboard and the number of placed pieces has not reached the upper limit of marked pieces, the terminal displays the first virtual piece and the target virtual piece through the first virtual chessboard.
[0062] If the number of pieces already placed at the target piece position has not reached the upper limit of marked pieces, the terminal hides the virtual piece displayed at the target piece position on the first virtual chessboard (i.e., the virtual piece previously marked by the user) and displays the target virtual piece (i.e., the virtual piece marked by the current operation) at the target piece position.
[0063] For example, if the mark piece upper limit is 3, a maximum of three target virtual pieces can be placed at the same piece position. When returning to the first virtual chessboard, the terminal obtains the number of pieces placed at the target piece position, and if the number of placed pieces is 1 and the mark piece upper limit has not been reached, the terminal displays a target virtual piece at the target piece position and hides the virtual piece previously placed at the target piece position.
[0064] Step 2: The terminal displays the piece identifiers of the other virtual pieces at the target piece position on the periphery of the target piece position.
[0065] After the terminal displays the target virtual piece at the target piece position, other virtual pieces at that position are hidden. The terminal displays piece identifiers (e.g., thumbnails, piece names, etc.) of the hidden virtual pieces at that position around the target piece position, so that the user can understand the mark status of the pieces at each piece position and prompt the user that there is another marked second virtual piece at that position. Optionally, the periphery of the target piece position is a circular area or a polygonal area centered on the target piece position.
[0066] In the above process, if at least two virtual pieces are placed at the target piece position, the terminal will display the last marked target virtual piece by default. In one embodiment, before displaying the target virtual piece, if it determines that another virtual piece is placed at the target piece position, the terminal will display a piece selection pop-up, allowing the user to manually select the virtual piece to be displayed preferentially.
[0067] After the terminal displays the target virtual piece and hides other virtual pieces at the target piece's position, the virtual chessboard display method provided by the embodiment of the present application further includes the following step 3:
[0068] Step 3: In response to a trigger operation on the target piece identifier in the piece identifiers, the terminal switches the target virtual piece displayed at the target piece position to the virtual piece corresponding to the target piece identifier.
[0069] In some embodiments, a piece identifier corresponding to the hidden piece is displayed as a triggerable UI control. When a user wants to check the hidden virtual piece, the user triggers the corresponding piece identifier, causing the terminal to switch pieces. The terminal then switches the target virtual piece displayed at the target piece position to the virtual piece corresponding to the target piece identifier.
[0070] 5, a virtual piece 502 is displayed at a target virtual position on a first virtual chessboard 501, and the terminal determines that a target virtual piece 504 is also at the target virtual position and that the upper limit of marked pieces is 3. The terminal displays the target virtual piece 504 at the target virtual position and displays a piece identifier 503 corresponding to the virtual piece 502 on the periphery of the target position. If a trigger operation on the piece identifier 503 is received and the positions of the virtual piece 502 and the target virtual piece 504 have not been changed, the terminal displays the virtual piece 503 at the target position and displays a piece identifier 505 corresponding to the target virtual piece 504 on the periphery.
[0071] In some embodiments, if the number of pieces placed at the target piece positions reaches the mark piece upper limit, step 405c includes the following steps 4 to 6.
[0072] Step 4: When a virtual piece has already been placed at the target piece position on the first virtual chessboard and the number of placed pieces reaches the upper limit of marked pieces, the terminal displays a first prompt pop-up.
[0073] When the number of pieces placed at the target virtual positions on the first virtual chessboard reaches the marked piece upper limit, the terminal displays a first prompt pop-up, and the first prompt pop-up includes prompt information for prompting the user that the virtual pieces placed at the target piece positions corresponding to the target virtual pieces have reached the upper limit.
[0074] For example, in the first virtual chessboard, only one marked second virtual piece can be placed at the same piece position. If the terminal determines that a virtual piece has already been placed at the target piece position, it displays a first prompt pop-up.
[0075] Step 5: In response to a trigger operation on the piece replacement control in the first prompt pop-up, the terminal cancels the display of at least one virtual piece at the target piece position.
[0076] Since the marked second virtual pieces are all important virtual pieces determined by the user, a piece replacement control and a mark cancellation control are further displayed in the first prompt pop-up to allow the user to easily select a virtual piece to be reserved at the target virtual position according to their needs. When a trigger operation on the piece replacement control is accepted, the terminal displays a target virtual piece at the target piece position, determines at least one virtual piece from other virtual pieces already placed, and cancels its display (i.e., cancels the mark of at least one virtual piece at the target piece position).
[0077] Optionally, the terminal cancels the display of the virtual piece at the target piece position that first receives the mark operation, or the display of any one of the virtual pieces at the target piece position, or the display of the virtual piece manually selected by the user, although the embodiment of the present application is not limited thereto.
[0078] Step 6: The terminal displays the first virtual piece and the target virtual piece through the first virtual chessboard.
[0079] 6, a marked virtual piece 602 is displayed at the target virtual position on a first virtual chessboard 601, and the marked piece upper limit is 1, so the terminal displays a first prompt pop-up 603. When a trigger operation on a piece replacement control 604 in the first prompt pop-up 603 is accepted, the terminal cancels the display of the virtual piece 602 (cancels the mark on the virtual piece 602) and displays a target virtual piece 606 at the target virtual position.
[0080] After step 4, the method provided by the embodiment of the present application further includes step 7 as follows:
[0081] Step 7: In response to the trigger operation on the mark cancel control in the first prompt pop-up, the terminal cancels the display of the target virtual piece.
[0082] When a trigger operation on the mark cancel control in the first prompt popup is accepted, the terminal cancels the display of the target virtual piece, that is, cancels the mark on the target virtual piece.
[0083] As shown in FIG. 6, when a user's trigger operation on the mark cancel control 605 is received, the terminal cancels the display of the target virtual piece 606 and still displays the virtual piece 602 at the target virtual position.
[0084] Step 406: If the piece state is piece removal, the terminal cancels the display of the target virtual piece.
[0085] When the terminal returns to the first virtual chessboard, it determines that the piece state of the target virtual piece is piece removed (piece absent), and directly stops displaying the target virtual piece.
[0086] In some embodiments, after successfully displaying the target virtual piece, the terminal still obtains the piece status of each target virtual piece in the first virtual chessboard according to the target frequency, and if it determines that there is no target virtual piece in the field, the terminal stops displaying the target virtual piece, and step 406 includes the following step 406a:
[0087] Step 406a: If the piece state is piece removal, the terminal cancels the display of the target virtual piece according to the target display effect.
[0088] The target display effect includes at least one of disappearing from the gradation, blinking and disappearing, and displaying mark stop prompt information around the target virtual piece corresponding to the piece identifier.
[0089] During the period when the terminal displays the target virtual piece via the first virtual chessboard, the target match participant may remove the target virtual piece (for example, by removing the target virtual piece from the arrangement and placing it in the spare piece queue, or by selling the target virtual piece, or by the user changing it to another virtual piece), causing the piece state of the target virtual piece to become non-existent, and the terminal will cancel the display of the target virtual piece.
[0090] Optionally, the terminal prompts the user that there is currently a target virtual piece whose piece state is piece absent, and directly stops the display of the target virtual piece without the user's knowledge, so as to avoid missing important information, the terminal cancels the display of the target virtual piece according to the target display effect.
[0091] Optionally, during a period in which the terminal displays the second virtual chessboard, if the terminal previously determines that the piece state of the target virtual piece displayed in the first virtual chessboard is piece removal, when a return operation is received, the terminal cancels the display of the target virtual piece according to the target display effect.
[0092] In some embodiments, during the process in which the terminal displays the target virtual piece through the first virtual chessboard, the target competition participant may replace the target virtual piece with a candidate virtual piece that is more advantageous to the target competition participant, in which case the candidate virtual piece is also generally an important virtual piece in the camp of the target competition participant, that is, the user may need to mark the candidate virtual piece. In order to further simplify the user operation and improve the battle preparation efficiency, step 406 includes the following steps 406b to 406c.
[0093] Step 406b: If the piece state is piece removal and the target match participant replaces the target virtual piece with the candidate virtual piece, the terminal displays a second prompt pop-up.
[0094] The second prompt pop-up includes prompt information indicating that the target virtual piece has been replaced, the candidate virtual piece and the target virtual piece have the same bond, and the candidate virtual piece has a higher level than the target virtual piece, and / or the candidate virtual piece inherits the target virtual piece's equipment. The piece level is not related to the game experience level (e.g., star rating) but to the amount of virtual resources consumed by changing the virtual piece. The level of a low-cost piece is lower than the level of a high-cost piece. For example, the level of a virtual piece changed with one virtual gold coin is lower than the level of a virtual piece changed with two virtual gold coins.
[0095] Step 406c: In response to a trigger operation on the piece replacement control in the second prompt pop-up, the terminal replaces the target virtual piece on the first virtual chessboard with the candidate virtual piece based on the piece information of the candidate virtual piece.
[0096] If it is determined that the candidate virtual piece needs to be marked, the terminal displays a second prompt pop-up after determining that the target match participant has replaced the target virtual piece with the candidate virtual piece, so that the user does not need to trigger again and go to the second virtual chessboard corresponding to the target match participant to place a mark. The second prompt pop-up includes prompt information indicating that the target virtual piece has been replaced and a piece replacement control, and the user can trigger the piece replacement control to realize the piece replacement on the first virtual chessboard with one click.
[0097] In some embodiments, when a trigger operation on the replacement cancel control in the second prompt popup is received, the terminal cancels the display of the target virtual piece and stops acquiring piece information of the candidate virtual piece.
[0098] For example, as shown in Fig. 7, a target virtual piece 702 is displayed on a first virtual chessboard 701. When the terminal determines that the target match participant has removed the target virtual piece 702 and placed a candidate virtual piece 706 in the same position, the terminal displays a second prompt pop-up 703. When a trigger operation on a piece replacement control 704 in the second prompt pop-up 703 is received, the terminal replaces the target virtual piece 702 displayed on the first virtual chessboard 701 with the candidate virtual piece 706. When a trigger operation on a replacement cancel control 705 in the second prompt pop-up 703 is received, the terminal cancels the display of the target virtual piece 702.
[0099] Step 407: The terminal obtains the piece adjustment data of the target virtual piece.
[0100] In some embodiments, during the period when the terminal displays the target virtual piece through the first virtual chessboard, the target game participant may adjust the target virtual piece, for example, move the position of the target virtual piece, upgrade, replace, or add piece equipment to the target virtual piece. The terminal obtains the piece adjustment data of the target virtual piece according to the target frequency, thereby realizing synchronous updating of the target virtual piece, so that the user can easily observe the adjustment operation of the target game participant on the target virtual piece through the first virtual chessboard and adjust the arrangement in a timely manner, thereby improving man-machine interaction efficiency.
[0101] Step 408: The terminal updates the target virtual piece according to the piece adjustment method indicated by the piece adjustment data.
[0102] The piece adjustment method includes at least one of piece position adjustment, piece level adjustment, and piece equipment adjustment.
[0103] 8, a target virtual piece 802 is displayed on a first virtual chessboard 801. The terminal acquires piece adjustment data corresponding to the target virtual piece 802, and when the piece adjustment data indicates that the position of the target virtual piece 802 has moved from a first position to a second position, the terminal moves the target virtual piece 802, which is displayed at the first position, to the second position on the first virtual chessboard 801 based on the piece adjustment data.
[0104] In an embodiment of the present application, the device supports marking the second virtual piece of at least one target player. When at least two target virtual pieces are placed at the same target piece position, the device displays the piece identifiers of one of the target virtual pieces and the other virtual pieces, and the user can switch between them by triggering the piece identifiers. This allows the user to synchronously observe the important pieces of multiple players on the first virtual chessboard, eliminating the need to switch between each player's second virtual chessboard and their own first virtual chessboard multiple times. This further simplifies the user's step of marking virtual pieces and improves the efficiency of battle preparation and man-machine interaction. In the process of displaying the target virtual piece on the first virtual chessboard, piece adjustment data is obtained and the target virtual piece is updated according to the piece adjustment data, thereby realizing the synchronous display of the adjustment operations of the target player, improving the display efficiency of the device and the man-machine interaction efficiency.
[0105] Combining the above embodiments, in one schematic example, as shown in FIG. 9, the flow of a terminal performing a task of marking a virtual piece includes the following steps: Step 901: The terminal receives a mark operation on a target virtual piece. Step 902: The terminal determines whether the target virtual piece exists. If YES, execute step 904; if not, execute step 903. Step 903: The terminal cancels the display of the target virtual piece. Step 904: The terminal determines whether the target virtual piece has changed. If YES, execute step 906; if not, execute step 905. Step 905: The terminal keeps the display state of the target virtual piece on the first virtual chessboard unchanged. Step 906: The terminal updates the target virtual piece on the first virtual chessboard according to the piece adjustment data.
[0106] In order to allow a user to easily distinguish between the first virtual piece and the target virtual piece in the first virtual chessboard and to avoid confusion due to the large number of virtual pieces, the terminal displays the first virtual piece and the target virtual piece in different display areas using different display methods. Figure 10 is a flowchart of a virtual chessboard display method provided by another exemplary embodiment of the present application. In this embodiment, the method is described as being applied to a terminal supporting a virtual environment, and includes the following steps: Step 1001: The terminal displays a first virtual chessboard including a first virtual piece. Step 1002: In response to a lineup check operation for the target match participant, the terminal displays a second virtual chessboard corresponding to the target match participant, where the second virtual chessboard includes second virtual pieces. For the embodiment of steps 1001 and 1002, it is sufficient to refer to steps 201 and 202 described above, and no detailed description of the examples of the present application will be given. Step 1003: In response to the selection operation on the target virtual piece, the terminal displays a mark setting popup corresponding to the target virtual piece, where the mark setting popup includes a mark control.
[0107] In some embodiments, the user actively selects a second virtual piece to be marked. When a selection operation for a target virtual piece among the second virtual pieces (e.g., a trigger operation for a piece model corresponding to the target virtual piece) is received, the terminal displays a mark setting pop-up corresponding to the target virtual piece. The user obtains piece information and a mark to be set for the target virtual piece from the mark setting pop-up.
[0108] 11, when a selection operation is received for a target virtual piece 1103 on a second virtual chessboard 1102, the terminal displays a mark setting pop-up 1105 corresponding to the target virtual piece 1103. The mark setting pop-up 1105 includes piece information such as the piece name, piece type, and piece equipment of the target virtual piece 1103, as well as a mark control 1106.
[0109] Step 1004: In response to the trigger operation on the mark control, the terminal obtains the piece information of the target virtual piece.
[0110] When a trigger operation for the mark control is accepted, the terminal determines that a mark operation for the target virtual piece has been accepted, and acquires piece information for the target virtual piece.
[0111] Step 1005: The terminal displays the first virtual piece through a first display area of the first virtual chessboard, and displays the target virtual piece through a second display area of the first virtual chessboard based on the piece information.
[0112] In some embodiments, the virtual chessboard in the battle preparation phase corresponds to the virtual chessboard in the game phase, the virtual chessboard includes a first display area and a second display area, the first virtual piece is located in the first display area of the first virtual chessboard, and the second virtual piece is located in the second display area of the second virtual chessboard.
[0113] The first virtual piece and the target virtual piece are displayed in different display areas of the first virtual chessboard, thereby simulating the arrangement of pieces in a battle stage and making it convenient for the user to consider the placement strategy, while also allowing the user to easily distinguish between the first virtual piece and the target virtual piece and avoiding confusion.
[0114] 11, both of the second virtual pieces are displayed in a second display area 1102b of a second virtual chessboard 1102. After receiving a mark operation on a target virtual piece 1103 and a trigger operation on a return control 1104, the terminal displays a first virtual chessboard 1101, displays the first virtual piece in a first display area 1101a of the first virtual chessboard 1101, and displays the target virtual piece 1103 in a second display area 1101b.
[0115] To further distinguish between the first virtual piece and the target virtual piece, in some embodiments, the first virtual piece is displayed differently from the target virtual piece on the first virtual chessboard. The differences in the display methods of the first virtual piece and the target virtual piece include at least one of the following: the orientation of the first virtual piece is different from the orientation of the target virtual piece (for example, the first virtual piece and the target virtual piece are placed opposite each other, and their orientations correspond to the attack direction in the battle stage); the transparency of the first virtual piece is different from the transparency of the target virtual piece (for example, the transparency of the first virtual piece is 0, and the target virtual piece is a virtual image of the corresponding second virtual piece, and its transparency is 50%); the color of the attribute bar of the first virtual piece is different from the color of the attribute bar of the target virtual piece; the target virtual piece is highlighted (for example, the surrounding area of the target virtual piece is brightened, or a mark with a special color is displayed below the target virtual piece), and the account identifier of the participant in the battle to which the target virtual piece belongs is displayed around the surrounding area of the target virtual piece (for example, the user avatar of the participant in the battle is displayed above the target virtual piece).
[0116] Step 1006: In response to the mark stop operation, the terminal cancels the display of the target virtual piece indicated by the mark stop operation.
[0117] In some embodiments, if the user determines that the target virtual piece in the first virtual chessboard does not need to continue to be displayed, a mark stop operation can cause the terminal to stop displaying the target virtual piece.
[0118] For example, when a selection operation on a target virtual piece on the first virtual chessboard is received, the terminal displays a mark cancel pop-up, and the mark cancel pop-up includes a mark cancel control. When a trigger operation on the mark cancel control is received, the terminal stops displaying the target virtual piece. A mark remove control is further displayed on the virtual chessboard interface corresponding to the first virtual chessboard, and when a trigger operation on the mark remove control is received, the terminal stops displaying all target virtual pieces on the first virtual chessboard.
[0119] Step 1007: If the preparation stage for the match is completed, the terminal cancels the display of the target virtual piece on the first virtual chessboard.
[0120] In some embodiments, the user marks the second virtual piece during the preparation phase, and when the preparation phase ends and the game phase begins, the terminal automatically stops displaying the target virtual piece on the first virtual chessboard.
[0121] Optionally, when the terminal cancels the display of the target virtual piece because the battle preparation stage is ended, the terminal reserves the mark of the target virtual piece, and when the next battle preparation stage starts, the terminal determines whether the target virtual piece in the previous battle preparation stage exists, and if so, displays the target virtual piece via the first virtual chessboard, or the terminal removes the marks of all target virtual pieces after the battle preparation stage is ended.
[0122] In an embodiment of the present application, the user triggers and selects a target virtual piece on the second virtual chessboard, marks a single virtual piece, and displays it on the first virtual chessboard. The user then moves and displays the virtual objects that are important to the user and have a significant impact on the user's placement on the first virtual chessboard according to his or her needs. This allows the user to adjust the placement while observing the target virtual object, thereby simplifying the game preparation process, improving the efficiency of game preparation, and further enhancing the efficiency of man-machine interaction.
[0123] FIG. 12 is a structural block diagram of a display device of a virtual chessboard provided by one exemplary embodiment of the present application, the device including: a first display module 1201 for displaying a first virtual chessboard including first virtual pieces; a second display module 1202 that displays a second virtual chessboard corresponding to the target match participant in response to a lineup check operation for the target match participant, the second virtual chessboard including second virtual pieces; a first acquisition module 1203 for acquiring piece information of the target virtual piece in response to a mark operation on at least one target virtual piece of the second virtual piece; and a third display module 1204 that displays the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information.
[0124] Optionally, the third display module 1204 is: a first determination unit for determining a piece state of a target virtual piece based on the piece information; a first display unit for displaying the first virtual piece and the target virtual piece through the first virtual chessboard when the piece state is piece present; The device is The device further includes a first control module that cancels the display of the target virtual piece when the piece state is piece removed.
[0125] Optionally, the first display unit further comprises: If the piece state is piece present, determine a target piece position based on the piece information; If no virtual piece is placed at the target piece position on the first virtual chessboard, displaying a target virtual piece at the target piece position; When a virtual piece is placed at a target piece position on the first virtual chessboard, the first virtual piece and the target virtual piece are displayed through the first virtual chessboard based on an upper mark piece limit, which is the maximum number of virtual pieces at the same piece position that can be simultaneously marked.
[0126] Optionally, the first display unit further comprises: If a virtual piece has already been placed at the target piece position on the first virtual chessboard and the number of placed pieces has not reached the upper limit of marked pieces, display the first virtual piece and the target virtual piece through the first virtual chessboard; Displaying the piece identifiers of other virtual pieces at the target piece position on the periphery of the target piece position; The device is The device further includes a second control module that switches the target virtual piece displayed at the target piece position to the virtual piece corresponding to the target piece identifier in response to a trigger operation on the target piece identifier in the piece identifiers.
[0127] Optionally, the first display unit further comprises: When a virtual piece has already been placed at the target piece position on the first virtual chessboard and the number of placed pieces has reached the upper limit of marked pieces, display a first prompt pop-up; in response to a trigger operation on the piece replacement control in the first prompt pop-up, ceasing display of at least one virtual piece at the target piece position; displaying the first virtual piece and the target virtual piece via a first virtual chessboard; The device is The device further includes a third control module that stops displaying the target virtual piece in response to a trigger operation on the mark cancel control in the first prompt pop-up.
[0128] Optionally, the apparatus comprises: a second acquisition module for acquiring piece adjustment data of the target virtual piece; It further includes an update module that updates the target virtual piece based on a piece adjustment manner indicated by the piece adjustment data, where the piece adjustment manner includes at least one of piece position adjustment, piece level adjustment, and piece equipment adjustment.
[0129] Optionally, the first control module: A control unit is included which, when the piece state is piece removal, cancels the display of the target virtual piece according to a target display effect, and the target display effect includes at least one of disappearing from gradation, disappearing by blinking, and displaying mark cancellation prompt information around the target virtual piece.
[0130] Optionally, the control unit further comprises: If the piece state is piece removal and the target match participant replaces the target virtual piece with a candidate virtual piece, display a second prompt pop-up, and the second prompt pop-up includes prompt information indicating that the target virtual piece has been replaced, the candidate virtual piece and the target virtual piece have the same bond, and the level of the candidate virtual piece is higher than the level of the target virtual piece, and / or the candidate virtual piece inherits the piece equipment of the target virtual piece; In response to a trigger operation on a piece replacement control in the second prompt pop-up, the target virtual piece on the first virtual chessboard is replaced with the candidate virtual piece based on the piece information of the candidate virtual piece.
[0131] Optionally, the display manner of the first virtual piece on the first virtual chessboard is different from the display manner of the target virtual piece; The difference in the display method between the first virtual piece and the target virtual piece is as follows: The orientation of the first virtual piece is different from the orientation of the target virtual piece; The transparency of the first virtual piece is different from the transparency of the target virtual piece; The color of the attribute bar of the first virtual piece is different from the color of the attribute bar of the target virtual piece; Highlighting the target virtual piece, and At least one of the following is included: an account identifier of a participant in the game to which the target virtual piece belongs is displayed around the target virtual piece.
[0132] Optionally, the virtual chessboard includes a first display area and a second display area, the first virtual piece being located within the first display area of the first virtual chessboard and the second virtual piece being located within the second display area of the second virtual chessboard; The third display module 1204 is and a second display unit that displays a first virtual piece through a first display area of the first virtual chessboard and displays a target virtual piece through a second display area of the first virtual chessboard based on the piece information.
[0133] Optionally, the first obtaining module 1203: a third display unit that displays a mark placement pop-up corresponding to the target virtual piece in response to a selection operation on the target virtual piece, the mark placement pop-up including a mark control; and an acquisition unit that acquires piece information of the target virtual piece in response to a trigger operation on the mark control.
[0134] Optionally, the apparatus comprises: a fourth control module that, in response to the mark stop operation, cancels the display of the target virtual piece indicated by the mark stop operation; The game system further includes a fifth control module that cancels the display of the target virtual piece on the first virtual screen when the battle preparation stage is completed.
[0135] As described above, in the embodiment of the present application, when a marking operation for a target virtual piece on the second virtual chessboard is received, the piece information is acquired, and after returning to the first virtual chessboard, the target virtual piece is displayed based on the piece information. Therefore, when the user goes to the chessboards of other participants to observe the piece lineup during the battle preparation stage, he or she can select and mark important pieces within the chessboard of the other participants based on the actual situation. After returning to his or her own first virtual chessboard, the user can observe the target virtual piece through the first virtual chessboard and adjust the first virtual piece within the first virtual chessboard, without relying on memory to arrange the pieces. This avoids the influence of user's erroneous memory on the arrangement of the virtual pieces, or the need to go back and forth between the second virtual chessboard and the first virtual chessboard of each participant, which requires frequent operations and wastes time in battle preparation, thereby improving the efficiency of battle preparation and man-machine interaction.
[0136] 13 is a structural block diagram of a terminal 1300 provided by an exemplary embodiment of the present application. The terminal 1300 may be a portable mobile terminal, such as a smartphone, a tablet, a Moving Picture Experts Group Audio Layer III (MP3) playback device, or a Moving Picture Experts Group Audio Layer IV (MP4) playback device. The terminal 1300 may also be referred to as a user device, a portable terminal, or other names.
[0137] The terminal 1300 generally includes a processor 1301 and a memory 1302 .
[0138] The processor 1301 includes one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 1301 may be implemented in at least one hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1301 further includes a main processor, also called a central processing unit (CPU), that processes data in a wake-up state, and a coprocessor, which is a low-power processor that processes data in a standby state. In some embodiments, the processor 1301 is integrated with a graphics processing unit (GPU), which renders and draws content to be displayed on a display. In some embodiments, the processor 1301 further includes an artificial intelligence (AI) processor, which processes computing operations related to machine learning.
[0139] The memory 1302 includes one or more computer-readable storage media, which are tangible and non-transitory. The memory 1302 further includes high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 1302 stores at least one instruction that is executed by the processor 1301 to implement a method provided by an embodiment of the present application.
[0140] In some embodiments, the terminal 1300 may further include a peripheral interface 1303 and at least one peripheral. Specifically, the peripheral includes at least one of a touch display 1305 and an audio circuit 1307.
[0141] The touch display 1305 displays a UI. The UI may include graphics, text, icons, video, and any combination thereof. The touch display 1305 is further capable of collecting touch signals on or above the surface of the touch display 1305. The touch signals may be input as control signals to the processor 1301 for processing. The touch display 1305 provides virtual buttons and / or a virtual keyboard (also referred to as soft buttons and / or a soft keyboard). In some embodiments, there may be one touch display 1305 located on the front panel of the terminal 1300. In other embodiments, there may be at least two touch displays 1305 located on different surfaces of the terminal 1300 or designed to be foldable. In other embodiments, the touch display 1305 is a flexible display located on a curved or foldable surface of the terminal 1300. The touch display 1305 may also be configured as a non-rectangular, irregular pattern, i.e., an irregularly shaped screen. The touch display 1305 is made from materials such as Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), and the like.
[0142] The audio circuit 1307 provides an audio interface between the user and the terminal 1300. The audio circuit 1307 includes a microphone and a speaker. The microphone collects sound waves from the user and the environment, converts the sound waves into electrical signals, and inputs them to the processor 1301 for processing. To perform stereophonic sound collection or noise reduction, multiple microphones may be provided at different locations on the terminal 1300. The microphone may also be an array microphone or an omnidirectional microphone. The speaker converts electrical signals from the processor 1301 into sound waves. The speaker may be a conventional thin-film speaker or a piezoelectric ceramic speaker. If the speaker is a piezoelectric ceramic speaker, it can convert electrical signals into sound waves that are audible to humans, as well as into sound waves that are inaudible to humans for distance measurement, etc. In some embodiments, the audio circuit 1307 may further include an earphone jack.
[0143] An embodiment of the present application further provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is read and executed by a processor to realize the virtual chessboard display method described in each of the above embodiments.
[0144] According to one aspect of the present application, there is provided a computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a computer-readable storage medium, a processor of a terminal reading the computer instructions from the computer-readable storage medium and executing the computer instructions to cause the terminal to perform the method for displaying a virtual chessboard provided by various preferred implementations of the above aspect.
[0145] As will be appreciated by those skilled in the art, in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions are stored in or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, and communication media include any medium for facilitating the transfer of a computer program from one place to another. Storage media are any available media that can be accessed by a general-purpose or special-purpose computer.
[0146] The above does not limit the present application, but merely represents preferred embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. completed within the spirit and principles of the present application should fall within the scope of protection of the present application. [Explanation of symbols]
[0147] 110 First Terminal 111 Application Program 112 First User 120 background servers 121 memory 122 processors 123 User Account Database 124 Battle Service Module 125 Output Interface (Input / Output Interface, I / O Interface) 125 I / O interfaces 130 Second Terminal 131 Application Programs 132 Second User 301 First Virtual Chessboard 302 First Virtual Piece 303 Second Virtual Chessboard 304 Target Virtual Piece 305 Control 306 Target Match Participants 501 First Virtual Chessboard 502 Virtual Pieces 503 Piece Identifier 503 Virtual Pieces 504 Target Virtual Piece 505 Piece Identifier 601 First Virtual Chessboard 602 Virtual Pieces 603 First prompt popup 604 Piece Replacement Control 605 Mark Cancel Control 606 Target Virtual Piece 701 First Virtual Chessboard 702 Target Virtual Piece 703 Second prompt popup 704 Piece Replacement Control 705 Replace Cancel Control 706 Candidate Virtual Pieces 801 The first virtual chessboard 802 Target Virtual Piece 1101 The first virtual chessboard 1101 First display area 1101 Second display area 1102 Second Virtual Chessboard 1102 Second display area 1103 Target Virtual Piece 1104 Control 1105 Mark Installation Popup 1106 Mark Control 1201 First display module 1202 Second display module 1203 First Acquisition Module 1204 Third Display Module 1300 terminals 1301 processor 1302 memory 1303 Peripheral Device Interface 1305 Touch Display 1307 Audio Circuit
Claims
1. A method for displaying a virtual chessboard executed by a terminal, comprising: displaying a first virtual chessboard including first virtual pieces; In response to a lineup check operation for a target match participant, displaying a second virtual chessboard corresponding to the target match participant, the second virtual chessboard including second virtual pieces; acquiring piece information of at least one target virtual piece in response to a marking operation on the second virtual piece; displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information; A method comprising:
2. The step of displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information includes: determining a piece state of the target virtual piece based on the piece information; If the piece state is piece present, displaying the first virtual piece and the target virtual piece via the first virtual chessboard; The method of claim 1 , comprising:
3. The method of claim 2 , further comprising the step of canceling the display of the target virtual piece if the piece state is piece removed.
4. When the piece state is a piece present state, displaying the first virtual piece and the target virtual piece via the first virtual chessboard includes: If the piece state is piece present, determining a target piece position based on the piece information; if no virtual piece is placed at the target piece position on the first virtual chessboard, displaying the target virtual piece at the target piece position; The method of claim 2 , comprising:
5. 5. The method of claim 4, further comprising the step of: when a virtual piece has already been placed at the target piece position on the first virtual chessboard, displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on a mark piece upper limit, wherein the mark piece upper limit is a maximum number of virtual pieces at the same piece position that can be simultaneously marked.
6. When a virtual piece has already been placed at the target piece position on the first virtual chessboard, the step of displaying the first virtual piece and the target virtual piece through the first virtual chessboard based on a marked piece upper limit includes: When a virtual piece has already been placed at the target piece position on the first virtual chessboard and the number of placed pieces has not reached the upper limit of marked pieces, displaying the first virtual piece and the target virtual piece through the first virtual chessboard; displaying piece identifiers of other virtual pieces around the target piece position; The method of claim 5 , comprising:
7. 7. The method of claim 6, further comprising the step of switching the target virtual piece displayed at the target piece position to a virtual piece corresponding to the target piece identifier in response to a trigger operation on a target piece identifier in the piece identifier.
8. When a virtual piece has already been placed at the target piece position on the first virtual chessboard, displaying the first virtual piece and the target virtual piece through the first virtual chessboard based on an upper limit of marked pieces includes: displaying a first prompt pop-up when a virtual piece has already been placed at the target piece position on the first virtual chessboard and the number of placed pieces has reached the marked piece upper limit; in response to a trigger operation on a piece replacement control in the first prompt pop-up, ceasing display of at least one virtual piece at the target piece position; displaying the first virtual piece and the target virtual piece via the first virtual chessboard; The method of claim 5 , comprising:
9. 9. The method of claim 8, further comprising the step of canceling display of the target virtual piece in response to a trigger operation on a mark cancel control in the first prompt pop-up.
10. If the piece state is piece present, after displaying the first virtual piece and the target virtual piece via the first virtual chessboard, the method further comprises: acquiring piece adjustment data of the target virtual piece; updating the target virtual piece based on a piece adjustment method indicated by the piece adjustment data; further comprising The piece adjustment method includes at least one of piece position adjustment, piece level adjustment, and piece equipment adjustment; The method of claim 2.
11. When the piece state is piece removal, the step of canceling the display of the target virtual piece includes: When the piece state is the piece removal, canceling the display of the target virtual piece according to a target display effect; the target display effect includes at least one of disappearing from the gradation, blinking and disappearing, and displaying mark cancellation prompt information around the target virtual piece; The method of claim 3.
12. When the piece state is piece removal, the step of canceling the display of the target virtual piece includes: If the piece state is the piece removal and the target match participant replaces the target virtual piece with a candidate virtual piece, displaying a second prompt pop-up, the second prompt pop-up includes prompt information for indicating that the target virtual piece has been replaced; The candidate virtual piece and the target virtual piece have the same bond; the level of the candidate virtual piece is higher than the level of the target virtual piece, and / or the candidate virtual piece inherits the piece equipment of the target virtual piece; Steps and in response to a trigger operation on a piece replacement control in the second prompt pop-up, replacing the target virtual piece on the first virtual chessboard with the candidate virtual piece based on piece information of the candidate virtual piece; The method of claim 3, comprising:
13. The display method of the first virtual piece on the first virtual chessboard is different from the display method of the target virtual piece; The difference in display method between the first virtual piece and the target virtual piece is as follows: the orientation of the first virtual piece is different from the orientation of the target virtual piece; the transparency of the first virtual piece is different from the transparency of the target virtual piece; the color of the attribute bar of the first virtual piece is different from the color of the attribute bar of the target virtual piece; highlighting the target virtual piece; and The account identifier of the participant of the match is displayed around the target virtual piece. at least one of: The method of claim 1.
14. a virtual chessboard including a first display area and a second display area, the first virtual piece being located within the first display area of the first virtual chessboard and the second virtual piece being located within the second display area of the second virtual chessboard; The step of displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information includes: displaying the first virtual piece through the first display area of the first virtual chessboard, and displaying the target virtual piece through the second display area of the first virtual chessboard based on the piece information; The method of claim 1.
15. The step of acquiring piece information of the target virtual piece in response to a marking operation on at least one target virtual piece of the second virtual piece includes: displaying a mark placement pop-up corresponding to the target virtual piece in response to a selection operation on the target virtual piece, the mark placement pop-up including a mark control; acquiring the piece information of the target virtual piece in response to a trigger operation on the mark control; The method of claim 1 , comprising:
16. After displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information, the method includes: a step of canceling the display of a target virtual piece designated by the mark stop operation in response to the mark stop operation; canceling the display of the target virtual piece on the first virtual chessboard when the preparation stage for the match is completed; The method of claim 1 further comprising:
17. 1. A display device for a virtual chessboard, comprising: a first display module for displaying a first virtual chess board including first virtual pieces; a second display module configured to display a second virtual chessboard corresponding to a target match participant in response to a lineup check operation for the target match participant, the second virtual chessboard including second virtual pieces; a first acquisition module for acquiring piece information of at least one target virtual piece in response to a mark operation on the second virtual piece; a third display module for displaying the first virtual piece and the target virtual piece via the first virtual chessboard based on the piece information; 1. An apparatus comprising:
18. A terminal, the terminal including one or more processors and one or more memories, wherein at least one computer program is stored in the memories, and the at least one computer program is loaded and executed by the one or more processors to implement the method of any one of claims 1 to 16.
19. A computer program which, when loaded and executed by a processor, implements the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Virtual object layout method and device, terminal and storage medium
CN111282274A
Virtual object display method and device, terminal and storage medium
CN112843737A
Virtual chess piece display method and device, terminal and storage medium
CN112933594A
Chessboard picture display method and device, terminal equipment and storage medium
CN113144596A
Game system and information storage medium
JP2006320770A