Equipment providing method and apparatus for virtual pieces, device and medium
By selecting virtual chess pieces to select equipment in the equipment bar, the problem of cumbersome equipment and mistouching in turn-based chess games is solved, the equipment assembly efficiency and accuracy are improved, and the operation process is simplified.
Patent Information
- Application Number
- PCT/CN2024/084574
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-15
- Filing Date
- 2024-03-28
- Publication Date
- 2024-12-19
AI Technical Summary
In the existing turn-based chess games, the equipment assembly process of virtual chess pieces is complicated, and it is easy to cause mistouching due to the dense virtual chess pieces, which reduces the efficiency and accuracy of equipment assembly.
By selecting the virtual chess piece, you can select and assemble equipment in the equipment bar, avoiding redundant steps of disassembly and dragging assembly, and achieving rapid and accurate assembly of equipment.
It improves the equipment assembly efficiency and accuracy of virtual chess pieces, saves operating costs, reduces mistouch caused by dragging equipment, and simplifies the human-computer interaction process.
Smart Images

Figure CN2024084574_19122024_PF_FP_ABST
Abstract
Description
Method, device, equipment and medium for assembling virtual chess pieces
[0001] This application claims priority to Chinese patent application No. 202310713768.2 filed on June 15, 2023, entitled “Assembly method, device, equipment and medium for virtual chess piece equipment,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The embodiments of the present application relate to the field of human-computer interaction, and in particular to a method, device, equipment, and medium for assembling equipment of virtual chess pieces. Background Art
[0003] Turn-based chess games are a new type of chess game. After the two opposing teams place their virtual chess pieces on the battle area of the chessboard, the game application automatically controls the virtual chess pieces of both teams on the chessboard to fight and displays the battle results.
[0004] In related art, virtual chess pieces in turn-based chess games often feature an equipment mechanism, which allows them to gain enhanced combat power by attaching equipment to virtual pieces. For example, to equip virtual piece A with equipment on virtual piece B, the player must first remove the equipment from virtual piece A, then select the removed equipment in the equipment bar, and finally drag it onto virtual piece B. This process is cumbersome, and due to the large number of virtual pieces on the board, it's easy to accidentally touch items during the dragging process, resulting in inefficient equipment assembly for virtual pieces.
[0005] Summary of the Invention
[0006] The present invention provides a method, device, apparatus, and medium for assembling equipment for virtual chess pieces. The technical solution is as follows:
[0007] In one aspect, a method for assembling equipment for a virtual chess piece is provided. The method is executed by a client logged in with a first account, and the method includes:
[0008] Displaying a battle board of a turn-based chess game, the battle board including a first virtual chess piece and a second virtual chess piece controlled by the first account, wherein the second virtual chess piece is equipped with a first equipment;
[0009] In response to a first selection operation for selecting the first virtual chess piece, displaying the first virtual chess piece in a selected state;
[0010] In response to a second selection operation for selecting the first equipment in the equipment column, the first equipment on the second virtual chess piece is removed, and the first equipment is equipped for the first virtual chess piece.
[0011] In another aspect, a device for assembling equipment for a virtual chess piece is provided, the device comprising:
[0012] a display module configured to display a battle board of a turn-based chess game, wherein the battle board includes a first virtual chess piece and a second virtual chess piece controlled by the first account, wherein the second virtual chess piece is equipped with a first piece of equipment;
[0013] The display module is further configured to display the first virtual chess piece in a selected state in response to a first selection operation for selecting the first virtual chess piece;
[0014] An equipping module is configured to remove the first equipment from the second virtual chess piece and equip the first virtual chess piece with the first equipment in response to a second selection operation for selecting the first equipment in the equipment column.
[0015] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for assembling virtual chess pieces as described above.
[0016] On the other hand, a computer-readable storage medium is provided, in which at least one program is stored. The at least one program is loaded and executed by a processor to implement the method for assembling virtual chess pieces as described above.
[0017] On the other hand, an embodiment of the present application provides a computer program product, which stores at least one program, and the at least one program is loaded and executed by a processor to implement the equipment assembly method of the virtual chess piece as described above.
[0018] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0019] During the process of assembling equipment for a virtual chess piece, one only needs to select the virtual chess piece to select the equipment to be assembled for the virtual chess piece in the equipment bar, thereby realizing quick assembly of the virtual chess piece and avoiding the redundant steps of first disassembling, selecting the equipment, and then dragging and assembling it, saving operating costs and improving the efficiency of assembling equipment for the virtual chess piece. In addition, when the virtual chess pieces on the battle board are densely packed, accidental touches caused by dragging equipment onto the virtual chess piece can be effectively avoided, thereby realizing accurate assembly of the equipment for the virtual chess piece and improving the accuracy of equipment assembly for the virtual chess piece. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a schematic diagram of a battle interface of a turn-based chess game provided by an exemplary embodiment of the present application;
[0021] FIG2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0022] FIG3 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece in the related art;
[0023] FIG4 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece provided by an exemplary embodiment of the present application;
[0024] FIG5 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece provided by another exemplary embodiment of the present application;
[0025] FIG6 is a flow chart of a method for assembling equipment of virtual chess pieces provided by an exemplary embodiment of the present application;
[0026] FIG7 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece provided by another exemplary embodiment of the present application;
[0027] FIG8 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece provided by another exemplary embodiment of the present application;
[0028] FIG9 is a flowchart of a method for assembling equipment of virtual chess pieces provided by another exemplary embodiment of the present application;
[0029] FIG10 is a schematic diagram of an interface of an equipment bar provided by an exemplary embodiment of the present application;
[0030] FIG11 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece provided by another exemplary embodiment of the present application;
[0031] FIG12 is a schematic diagram of an interface of a method for assembling equipment of a virtual chess piece provided by another exemplary embodiment of the present application;
[0032] FIG13 is a flowchart of a method for assembling equipment of virtual chess pieces provided by another exemplary embodiment of the present application;
[0033] FIG14 is a block diagram of a device for assembling equipment for a virtual chess piece provided by an exemplary embodiment of the present application;
[0034] FIG15 is a block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0036] First, the nouns involved in the embodiments of this application are introduced:
[0037] Turn-based chess games: refers to chess games in which "chess pieces" (virtual chess pieces) are arranged in advance before the game, and during the game, the "chess pieces" can automatically fight according to the pre-arranged layout. "Chess pieces" are usually represented by virtual characters. During the game, the virtual characters automatically release various skills to fight. The game usually adopts a turn-based system. When all the "chess pieces" of one side are killed (i.e., the health value of the virtual characters is reduced to zero), that side is the loser of the current round of battle. In some embodiments, in addition to the "chess-type virtual characters" for the game, each side is also provided with a virtual character (chess player) to represent the user participating in the game. The virtual character cannot be moved to the battle area or the preparation area as a "chess piece". The virtual character is also provided with a health value (or health point). The health value of the virtual character is reduced accordingly (battle failure) or remains unchanged (battle victory) according to the result of each game. When the health value of the virtual character is reduced to zero, the user corresponding to the virtual character exits the game, and the remaining users continue to play. Optional, turn-based chess games include Auto Chess.
[0038] Auto Chess is a turn-based chess game featuring collectible hero cards played in an eight-player, turn-based competitive format. There are eight players in the game, each occupying a chessboard. Each round consists of two phases: preparation and battle. During the preparation phase, users purchase virtual chess pieces (heroes) from the store and deploy them on the board. During the battle phase, both teams lock their lineups, and the virtual chess pieces automatically engage until all of one player's virtual pieces are dead. The player who destroys all of their chess pieces loses the round, and a certain amount of health is deducted from their opponent's health. Rounds repeat, matching new opponents until a player's health reaches ≤ 0 and they are eliminated. The last remaining player wins the game (1st place), while the remaining players are ranked 2nd-8th based on their health at the time of death.
[0039] Game board: refers to the area in the battle interface of a turn-based chess game used for preparing for and conducting battles. This board can be any of a two-dimensional virtual board, a 2.5-dimensional virtual board, and a three-dimensional virtual board, and is not limited in this embodiment of the application. The game board is divided into a combat area and a preparation area.
[0040] Battle Zone: The battle area in Auto Chess where heroes (virtual chess pieces) from both teams fight. During the preparation phase, it is divided into the friendly and enemy deployment zones. During the preparation phase, players can place heroes they have acquired in their own deployment zones. During the battle phase, both deployment zones merge to form the complete battle zone, where heroes from both teams engage in automatic combat. The number of virtual chess pieces that can be placed in the battle zone is limited. This limit is determined by factors such as player level and special items.
[0041] The battle area includes a number of chess pieces of the same size, which are used to place battle pieces for fighting during the battle.
[0042] The War Zone: An area in Auto Chess where your team stores extra heroes (virtual chess pieces). Heroes in the War Zone don't participate in combat, but after a battle (the preparation phase), they can be moved to your team's deployment area and become heroes for the next round. The War Zone serves as an additional hero storage space for merging heroes, forming bonds, and more.
[0043] The battle preparation area includes several candidate chess piece positions, which are used to place candidate chess pieces. The candidate chess pieces will not participate in the battle during the battle, but can be dragged and placed in the battle area during the preparation phase.
[0044] Regarding the setting method of the chess piece positions in the battle area, in some embodiments, the battle area includes n (rows) × m (columns) chess piece positions, schematically, n is an integer multiple of 2, and the positions of two adjacent rows of chess pieces are aligned, or the positions of two adjacent rows of chess pieces are staggered. In addition, the battle area is divided into two parts according to the rows, namely the one-side battle area and the enemy battle area, and the users participating in the battle are located on the upper and lower sides of the battle interface, and in the preparation stage, the user can only place chess pieces in the one-side battle area. In other embodiments, the battle area is divided into two parts according to the columns, namely the one-side battle area and the enemy battle area, and the users participating in the battle are located on the left and right sides of the battle interface. The shape of the chess piece position can be any one of a square, a rectangle, a circle, and a hexagon. The embodiment of the present application does not limit the shape of the chess piece position.
[0045] In some embodiments, the chess piece positions are always displayed on the chessboard. In other embodiments, the chess piece positions are displayed when the user places the battle pieces, and the chess piece positions are undisplayed after the battle pieces are placed in the chess piece positions.
[0046] Schematically, as shown in Figure 1, the battle chessboard 11 in the battle interface includes a preparation area 111 and a battle area 112, wherein the own battle area in the battle area 112 includes 3×7 chess piece positions, the shape of the chess piece positions is hexagonal, and the two adjacent rows of chess piece positions are staggered, and the preparation area 111 includes 9 candidate chess piece positions.
[0047] Virtual chess pieces refer to virtual objects placed on the board in turn-based chess games. These include battle pieces, candidate pieces, and pieces sold in stores. Battle pieces include those in the battle area, while candidate pieces include those in the preparation area. Virtual chess pieces can be avatars, virtual characters, virtual animals, anime characters, etc., and can be displayed using three-dimensional models.
[0048] Optionally, the position of the battle pieces on the board can be changed. During the preparation phase, the user can adjust the position of the virtual pieces in the battle area, adjust the position of the virtual pieces in the preparation area, move a virtual piece in the battle area to the preparation area (if there are available candidate positions in the preparation area), or move a virtual piece in the preparation area to the battle area. It should be noted that the position of the virtual pieces in the preparation area can also be adjusted during the battle phase.
[0049] Optionally, during the combat phase, the virtual chess pieces' positions in the combat area are different from those during the preparation phase. During the combat phase, the game application automatically controls the movement and combat of the virtual chess pieces within the combat area. For example, during the combat phase, a virtual chess piece may automatically move from its own combat area to the enemy's combat area and attack the enemy's virtual chess piece; or a virtual chess piece may automatically move from position A in its own combat area to position B in its own combat area, where positions A and B are different.
[0050] In addition, during the preparation phase, virtual chess pieces can only be set in one's own battle area (one's own formation area).
[0051] Regarding the method of obtaining battle chess pieces, in some embodiments, during the game process, users can use gold coins to purchase virtual chess pieces in the store during the preparation stage.
[0052] It should be noted that, in some embodiments, a player virtual character is used to represent the user participating in the battle. The virtual character can be a virtual person, a virtual animal, an animated character, etc. The following embodiments name this type of virtual character as a player virtual character or a user virtual character.
[0053] 1 , a first battle piece 111a, a second battle piece 111b, and a third battle piece 111c are displayed in a battle area 112, and a first candidate piece 112a, a second candidate piece 112b, and a third candidate piece 112c are displayed in a battle preparation area 111. A player avatar 113 is displayed next to the battle area and the battle preparation area.
[0054] Attributes: Each virtual chess piece in a turn-based chess game has its own attributes, which include at least two of the following attributes: the camp to which the virtual chess piece belongs (such as Alliance A, Alliance B, Neutral Faction, etc.), the type of virtual chess piece (such as Warrior, Shooter, Mage, Assassin, Guard, Swordsman, Gunner, Fighter, etc.), the attack type of the virtual chess piece (such as Magic, Physical, etc.), the identity of the virtual chess piece (such as Noble, Demon, Elf, etc.), etc. The embodiments of this application do not limit the specific types of attributes. Optionally, each virtual chess piece has attributes of at least two dimensions, and the equipment carried by the virtual chess piece can enhance the attributes of the virtual chess piece.
[0055] Bonds: An Auto Chess mechanic that enhances the effectiveness of players' selected virtual pieces in combat. Bonds not only enhance gameplay, but also foster passion and a sense of challenge.
[0056] For example, the bond mechanism of Auto Chess can be based on the following three methods:
[0057] Character Type Bond: This type of bond is activated when a player has pieces of the same character type. For example, owning three Orc pieces increases the slowing effect of their skills, while owning six Elf pieces grants the Elf's skills an additional effect.
[0058] Character Attack Type Bond: This bond is activated when a player simultaneously possesses virtual pieces of the same character attack type. For example, possessing two mage-type pieces increases their skill damage, while possessing four mage-type pieces allows their skills to ignore enemy resistance.
[0059] Character Combination Bond: This type of bond is activated when a player simultaneously possesses all the virtual pieces corresponding to a character combination. For example, possessing virtual pieces A, B, and C increases their skill damage, while possessing virtual pieces A, B, C, and D allows their skills to ignore enemy defenses.
[0060] The bond is activated by entering the field. The more people with the same bond enter the field (battle area), the higher the bonus strength provided by the bond (the bond will be enhanced according to the number of layers. For every N pieces entered, the number of layers increases by one, and the bonus strength increases by a certain amount. The strength will not be affected if the number of people entering the field does not reach one layer).
[0061] Bonds can enhance the attributes and skills of chess pieces, making them more powerful and effective. Players can achieve higher bond effects and enhance their team's combat capabilities by properly selecting and matching chess pieces. Therefore, the bond mechanic is a very important part of the game.
[0062] For example, in a battle area, when different virtual chess pieces have associated attributes (including different virtual chess pieces with the same attribute, or different virtual chess pieces with complementary attributes), and the number reaches a threshold (or called a bond), the virtual chess pieces with that attribute or all virtual chess pieces in the battle area can obtain the corresponding gain effect of that attribute. For example, when the battle area includes two chess pieces with the attribute of warrior at the same time, all battle chess pieces will receive a 10% defense bonus; when the battle area includes four battle chess pieces with the attribute of warrior at the same time, all battle chess pieces will receive a 20% defense bonus; when the battle area includes three chess pieces with the attribute of elf at the same time, all battle chess pieces will receive a 20% dodge probability bonus.
[0063] Shop: This is where players can spend virtual in-game resources (gold) to purchase virtual chess pieces (heroes). Typically, the shop displays five random heroes (repeated). Shops are tiered, with higher tiers increasing the chance of finding higher-quality heroes. The initial level is typically 1-3 (this varies across Auto Chess games), and users can spend gold to upgrade the shop.
[0064] User Interface (UI) Controls: These are visible or invisible controls or elements on an application's user interface, such as images, input boxes, text boxes, buttons, and labels. For example, when UI controls are invisible, users can trigger them by triggering designated areas on the user interface. Some UI controls respond to user actions, such as a purchase control that triggers the purchase of corresponding chess pieces, and an upgrade control that upgrades a store's tier.
[0065] 2 shows a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 100 includes a first terminal 110 , a server 120 , and a second terminal 130 .
[0066] A first terminal 110 has a client 111 installed and running that supports a virtual environment. This client 111 can be a client for a turn-based chess game program. When the first terminal runs client 111, the user interface of client 111 is displayed on the screen of the first terminal 110. This client can be a client for an Auto Chess game. The first terminal 110 is used by a first user 112. During the preparation phase of a game, the first user uses the first terminal 110 to place chess pieces in the battle area of the chessboard. During the battle phase, the first terminal 110 or the server 120 automatically controls the chess pieces based on the attributes, skills, and placement of the chess pieces in the battle area. In the embodiments of the present application, a terminal may also be referred to as a terminal device, and the computer device in the embodiments of the present application can be implemented as a terminal device. The virtual environment refers to a virtual scene displayed or provided by the client 111 during operation. This virtual environment can be a simulation of a real environment, a semi-simulated and semi-fictitious environment, or a purely fictitious environment. This virtual environment can include at least one of the following: a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment.
[0067] The second terminal 130 has a client 131 installed and running that supports a virtual environment. This client 131 can be a client for a turn-based chess game program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. This client can be a client for an Auto Chess game. The second terminal 130 is used by the second user 113. The second terminal 130 is used by the second user 113. During the preparation phase of the game, the second user uses the second terminal 130 to place the battle pieces on the chessboard. During the battle phase, the second terminal 130 or the server 120 automatically controls the battle pieces based on the attributes, skills, and placement of the battle pieces in the battle area.
[0068] Optionally, the battle pieces placed by the first user via the first terminal 110 and the second user via the second terminal 130 are located in different battle areas on the same chessboard, i.e., the first user and the second user are on the same chessboard in the same game. Alternatively, the battle pieces placed by the first user via the first terminal 110 and the second user via the second terminal 130 are located on different chessboards, i.e., the first user and the second user are on different chessboards in the same game. It should be noted that, in an optional embodiment, a game of a turn-based chess game is jointly participated in by eight user accounts, and each round matches the eight user accounts in pairs, and the two matched user accounts play against each other on the same chessboard during that round.
[0069] Optionally, the client installed on the first terminal 110 and the second terminal 130 is the same, or the client installed on the two terminals is the same type of client on different operating system platforms (Android or IOS). The first terminal 110 can generally refer to one of multiple terminals, and the second terminal 130 can generally refer to another of the multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example. The 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 smartphone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, an intelligent robot, a vehicle-mounted terminal, a laptop computer, and a desktop computer. The following embodiment is described by taking the terminal including a smartphone as an example.
[0070] Those skilled in the art will appreciate that the number of terminals may be greater or less. For example, there may be only one terminal (i.e., a user plays against an AI), or there may be eight terminals (a 1v1v1v1v1v1v1v1 game in which eight users compete in a round-robin fashion and are eliminated to ultimately determine a winner), or even more. The embodiments of the present application do not limit the number of terminals or device types.
[0071] FIG2 shows only two terminals, but in different embodiments, multiple other terminals 140 may be connected to the server 120. Optionally, one or more terminals 140 may be terminals corresponding to developers, and a client development and editing platform supporting a virtual environment may be installed on the terminal 140. The developer may edit and update the client on the terminal 140 and transmit the updated client installation package to the server 120 via a wired or wireless network. The first terminal 110 and the second terminal 130 may then download the client installation package from the server 120 to update the client.
[0072] The first terminal 110 , the second terminal 130 , and the other terminals 140 are connected to the server 120 via a wireless network or a wired network.
[0073] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 provides backend services for clients supporting virtual environments (turn-based chess game clients / Auto Chess game clients). Optionally, server 120 performs primary computing tasks, while terminals perform secondary computing tasks; alternatively, server 120 performs secondary computing tasks, while terminals perform primary computing tasks; alternatively, server 120 and terminals utilize a distributed computing architecture for collaborative computing.
[0074] In one example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 is configured to load instructions stored in the server 120 and process data in the user account database 123 and the battle service module 124. The user account database 123 is configured to store user account data used by the first terminal 110, the second terminal 130, and other terminals 140, such as user account avatars, user account nicknames, user account combat power indexes, and the service areas where the user accounts are located. The battle service module 124 is configured to provide multiple battle rooms for users to engage in battles. The user-facing I / O interface 125 is configured to establish communication with the first terminal 110 or the second terminal 130 via a wireless network or a wired network to exchange data.
[0075] In some embodiments, a common rule in turn-based chess games is to improve the performance of virtual chess pieces in battle by equipping them with equipment. Figure 3 shows a schematic interface diagram of a method for equipping virtual chess pieces in the related art. As shown in Figure 3, a battle board 17 is displayed on a battle interface 10. The board 17 includes a virtual chess piece 11 and an enemy virtual chess piece 16 in battle. A health bar 13 is displayed above the virtual chess piece 11. Equipment 12 is displayed in the upper left corner of the battle interface 10. After the player selects the equipment 12, he drags the equipment 12 to the position of his own virtual chess piece 11. Figure 3 shows that after the equipment 12 is dragged from the middle position 12a to the position 12b where the own virtual chess piece 11 is located, the battle interface 10 displays the assembly information card 14, which displays the name of the equipment 12 to be assembled, the function of the equipment 12 and the name of the own virtual chess piece 11; after the player releases the equipment 12, the equipment 12 is assembled to the own virtual chess piece 11, and the equipment identifier 15 of the equipment 12 is displayed in front of the health bar 13 of the own virtual chess piece; when the player wants to remove the equipment 12 from the own virtual chess piece 11, the equipment removal needs to be achieved when there is a disassembler 16 in the equipment column, that is, drag the disassembler 16 in the equipment column to the own virtual chess piece 11 to remove the equipment 12, and then cancel the equipment identifier 15 of the equipment 12 in front of the health bar 13 of the own virtual chess piece.
[0076] When assembling one's own virtual chess pieces by dragging equipment, if there are multiple virtual chess pieces densely arranged on the game board, it is easy to accidentally touch and assemble equipment to the wrong virtual chess piece, resulting in low equipment assembly efficiency for virtual chess pieces during the game and inefficient human-computer interaction. Furthermore, in related art, the steps for switching equipment between virtual chess pieces include first disassembling the equipment of virtual chess piece A, and then dragging the equipment selected from the equipment bar and removed from virtual chess piece A to virtual chess piece B as shown in Figure 3. This process is cumbersome and takes a long time to assemble equipment, which prolongs the player's layout time, reduces chess piece layout efficiency, and leads to inefficient game play.
[0077] FIG4 shows an interface diagram of a method for assembling equipment for virtual chess pieces provided by an exemplary embodiment of the present application. On the battle chessboard in the battle interface 20, the battle area is divided into a friendly area 28 (i.e., the aforementioned friendly formation area) and an enemy area 29. The friendly area 28 includes a virtual chess piece A 21 and a virtual chess piece B 22. An equipment bar 23 is displayed in the upper left corner of the battle chessboard interface 20. In normal mode (i.e., a mode in which no virtual chess piece is selected for equipment assembly), clicking on the equipment in the equipment bar 23 will display the information card of the equipment; for example, clicking on the equipment 24 in the equipment bar 23 will display the information card 25 of the equipment 24, which includes the name and description of the equipment 24. When assembling the virtual chess piece A 21, click on the virtual chess piece A 21. The chess piece position 26 of the selected virtual chess piece A 21 is displayed in bold to indicate that the virtual chess piece A 21 is in the selected state. Then, click on the equipment 24 in the equipment column 23. The equipment 24 is assembled to the virtual chess piece A 21. The identification icon 27 of the equipment 24 is displayed above the virtual chess piece A 21, and the assembly of the equipment 24 on the virtual chess piece A 21 is completed.
[0078] FIG5 shows an interface diagram of a method for assembling equipment for virtual chess pieces provided by another exemplary embodiment of the present application. On the battle chess board in the battle interface 30, the battle area is divided into a friendly area 38 and an enemy area 39. The friendly area 38 includes a virtual chess piece A 31 and a virtual chess piece B 32. An identification icon 34 of equipment 35 is displayed above the head of the virtual chess piece B 32, indicating that the virtual chess piece B 32 is equipped with the equipment. An equipment bar 33 is displayed in the upper left corner of the battle interface 30. When assembling the virtual chess piece A 31, click on the virtual chess piece A 31, and the chess piece position 36 of the selected virtual chess piece A 31 is displayed in bold to indicate that the virtual chess piece A 31 is in the selected state; the equipment bar 33 newly displays the equipment 35 equipped by the virtual chess piece B 32. After clicking on the equipment 35 in the equipment column 33, the equipment 35 is equipped on the virtual chess piece A 31, and the identification icon 34 of the equipment 35 is displayed above the virtual chess piece A 31. The identification icon 34 is no longer displayed above the virtual chess piece B 32, and the switching of the equipment 35 from the virtual chess piece B 32 to the virtual chess piece A 31 is completed.
[0079] As can be seen from Figures 4 and 5, the method provided in the embodiment of the present application can achieve rapid and accurate assembly of equipment for the first virtual chess piece by selecting the first virtual chess piece and then selecting the equipment to be assembled to the first virtual chess piece through the equipment bar, and can also achieve convenient switching of equipment between different virtual chess pieces, thereby shortening the equipment assembly time and improving the efficiency of human-computer interaction.
[0080] In conjunction with the above introduction to the turn-based chess game and the description of the implementation environment, the equipment assembly method for virtual chess pieces provided in the embodiment of the present application is described. This method is illustrated by taking the terminal shown in FIG2 as the execution subject, or the client running on the terminal, as an example. The client running on the terminal is the client of the application, which is the program for the turn-based chess game.
[0081] Figure 6 shows a flowchart of a method for assembling virtual chess pieces, according to an exemplary embodiment of the present application. This method can be executed by any of the terminals in Figure 2 above, or by a client running on any of the terminals, where the client is a client for a turn-based chess game and a first account is logged into the client. The method includes the following steps:
[0082] Step 220: Display the game board of the turn-based chess game.
[0083] The battle board refers to the area of the battle interface in a turn-based chess game used for preparing for and conducting battles. The battle board is divided into a battle area and a preparation area. The battle area is used to place virtual chess pieces involved in the turn-based chess game, while the preparation area is used to store excess virtual chess pieces.
[0084] For example, a battle interface of a turn-based chess game displays a battle board of the turn-based chess game, which includes a first virtual chess piece and a second virtual chess piece controlled by a first account, and the second virtual chess piece is equipped with a first equipment. The first account refers to the user account currently logged in in the client, and the user account may refer to an account registered by the user in the turn-based chess game. The first virtual chess piece may refer to any virtual chess piece provided by the turn-based chess game, and the second virtual chess piece may refer to another virtual chess piece provided by the turn-based chess game, and the first virtual chess piece and the second virtual piece are different. The first equipment may refer to any virtual equipment provided by the turn-based chess game, and the virtual equipment can be used to change the properties, appearance, etc. of the virtual chess piece.
[0085] For example, as shown in Figure 5, the battle interface 30 displays a battle board of a turn-based chess game, which includes a friendly area 38 and an enemy area 39. The battle board includes a first virtual chess piece (for example, virtual chess piece A 31) controlled by a first account and a second virtual chess piece (for example, virtual chess piece B 32), and the second virtual chess piece is equipped with a first equipment (for example, equipment 35).
[0086] Optionally, the battle board may also include other virtual chess pieces controlled by the first account (not exceeding the upper limit of the number of virtual chess pieces that can be deployed in battle). The virtual chess pieces in the battle area are all referred to as battle pieces, and the virtual chess pieces in the preparation area are all referred to as candidate pieces. The first virtual chess piece and the second virtual chess piece may be referred to as battle pieces.
[0087] Step 240: In response to a first selection operation for selecting a first virtual chess piece, display the first virtual chess piece in a selected state.
[0088] The first selection operation is an operation of selecting a virtual chess piece. The first selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, and a somatosensory control, and the present embodiment of the application does not limit this. Optionally, the operation in the embodiment of the present application can be triggered by the terminal's display screen (such as a touch screen) or an external device (such as a mouse, keyboard, joystick, etc.), such as a click operation can be triggered by the terminal's touch screen, and somatosensory control can be triggered by an external device of the terminal.
[0089] For example, if the first selection operation is a click operation, in response to the user's first click operation on the first virtual chess piece, the client displays the first virtual chess piece in a selected state. The selected state refers to the state in which the virtual chess piece is selected, and the user can perform related operations on the first virtual chess piece in the selected state, such as moving, equipping equipment, viewing information, etc.
[0090] In one example, the client highlights the first virtual chess piece in a selected state to indicate that the first virtual chess piece is in a selected state. The selected first virtual chess piece may be expressed as at least one of the following: a first virtual chess piece with a highlighted color, a first virtual chess piece with a thickened appearance, a first virtual chess piece with a shadow, a first virtual chess piece displaying an animation, a first virtual chess piece displaying the action of a character corresponding to the virtual chess piece, a first virtual chess piece with a sound effect played, the color of the chess piece position where the first virtual chess piece is located is highlighted, the lines of the chess piece position where the first virtual chess piece is located are thickened, and the chess piece position where the first virtual chess piece is located is shaded.
[0091] For example, as shown in FIG5 , in response to the first selection operation on the first virtual chess piece (virtual chess piece A 31 ), the client displays the chess piece position 36 of the selected first virtual chess piece in bold to indicate that the first virtual chess piece is in the selected state.
[0092] Optionally, when the equipment bar is not displayed on the battle interface, the client displays the equipment bar in response to the first selection operation on the first virtual chess piece. The equipment bar is used to display the equipment owned by the first account in the game match. For example, the equipment bar can be used to display equipped equipment and unequipped equipment. This embodiment of the application does not limit the display position and display style of the equipment bar. For example, referring to Figure 4, the client displays the equipment bar 23 in the upper left corner of the battle interface 20, and the various equipment in the equipment bar 23 are displayed in a row.
[0093] Alternatively, in a case where an equipment bar in an unselectable equipment state is displayed on the battle interface, in response to a first selection operation for selecting a first virtual chess piece, the equipment bar is switched to an equipment selectable equipment state, where the selectable equipment state is used to indicate that the equipment in the equipment bar is in a selectable state, and the unselectable equipment state is used to indicate that the equipment in the equipment bar is in an unselectable state. Optionally, the client highlights the equipment bar in an equipment selectable state, as distinguished from the equipment bar in an unselectable equipment state, such as by converting the equipment bar from a gray state (unselectable equipment state) to a highlighted state (selectable equipment state), or by converting the equipment in the equipment bar from a gray state to a highlighted state. This embodiment of the present application is not limited to this.
[0094] Alternatively, in a case where the equipment column displays only equipment belonging to the first account and not equipped by any virtual chess piece on the game board, in response to a first selection operation for selecting the first virtual chess piece, the client additionally displays in the equipment column the equipment equipped by virtual chess pieces other than the first virtual chess piece. For example, referring to FIG5 , in a case where the equipment column 33 displays only unequipped equipment, in response to a first selection operation for selecting the first virtual chess piece (virtual chess piece A 31), the client additionally displays in the equipment column 33 the equipment 35 equipped by the second virtual chess piece (virtual chess piece B 32).
[0095] Optionally, the equipment column includes a first equipment column and a second equipment column. In response to the first selection operation for selecting the first virtual chess piece, the client displays the first equipment column and the second equipment column in an equipment selectable state. Among them, the first equipment column is used to display the first equipment to be selected, which belongs to the first account and has not been equipped by any virtual chess piece. Each equipment in the first equipment column in the equipment selectable state is in a selectable state. The first equipment to be selected generally refers to equipment that has not been assembled; the second equipment column is used to display the second equipment to be selected, which belongs to the first account and has been assembled by a virtual chess piece other than the first virtual chess piece. The second equipment to be selected includes the first equipment. Each equipment in the second equipment column in the equipment selectable state is in a selectable state. The second equipment to be selected generally refers to equipment that has been assembled. Through the first equipment column and the second equipment column, it is possible to effectively distinguish between transferred equipment and unassembled equipment, thereby quickly determining whether to execute the equipment assembly process or the equipment switching process, thereby improving the efficiency of human-computer interaction.
[0096] In one example, the client displays a first equipment column. In response to a first selection operation for selecting a first virtual chess piece, the client displays a second equipment column and switches the first equipment column and the second equipment column from a non-selectable equipment state to a selectable equipment state.
[0097] Step 260: In response to a second selection operation for selecting the first equipment in the equipment column, removing the first equipment from the second virtual chess piece, and equipping the first virtual chess piece with the first equipment.
[0098] The second selection operation is an operation for selecting equipment. The second selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, and a body control, and the present embodiment of the application does not limit this.
[0099] For example, if the second selection operation is a click operation, in response to the second click operation for selecting the first equipment in the equipment column, the client removes the first equipment from the second virtual chess piece and instead displays the first virtual chess piece equipped with the first equipment. In other words, the first equipment equipped on the second virtual chess piece is transferred to the first virtual chess piece. By setting the first and second selection operations as click operations, the selection of virtual chess pieces and equipment is more convenient than dragging, thereby effectively improving the efficiency of equipping virtual chess pieces with equipment.
[0100] For example, as shown in FIG5 , after clicking the first equipment (equipment 35) in the equipment column 33, the first equipment is equipped on the first virtual chess piece (virtual chess piece A 31), and the identification icon 34 of the first equipment is displayed above the first virtual chess piece. The identification icon 34 is no longer displayed above the second virtual chess piece (virtual chess piece B 32), thus completing the migration of the first equipment from the second virtual chess piece to the first virtual chess piece.
[0101] Optionally, the equipment column includes a first equipment column and a second equipment column. In response to a second selection operation for selecting a first equipment in the second equipment column, the first equipment on the second virtual chess piece is removed, and the first equipment is equipped on the first virtual chess piece; wherein the first equipment column is used to display a first equipment to be selected that belongs to the first account and is not equipped by any virtual chess piece; and the second equipment column is used to display a second equipment to be selected that belongs to the first account and is equipped by a virtual chess piece other than the first virtual chess piece, and the second equipment to be selected includes the first equipment.
[0102] That is, after the first virtual chess piece is selected through the first selection operation, the first equipment equipped by the second virtual chess piece will be displayed in the second equipment column, and through the second selection operation on the first equipment in the second equipment column, the first equipment will be transferred from the second virtual chess piece to the first virtual chess piece.
[0103] In some embodiments, after migrating the first equipment from the second virtual chess piece to the first virtual chess piece, the user can exit the equipment assembly process on the first virtual chess piece by clicking a blank area of the game board or by clicking the first virtual chess piece again. Specifically, after assembling the equipment on the first virtual chess piece, in response to a third selection operation for selecting a blank area of the game board, the first virtual chess piece is displayed in an unselected state. The unselected state refers to the state in which the virtual chess piece is not selected, and the user cannot perform any related operations on the unselected first virtual chess piece. Alternatively, after assembling the equipment on the first virtual chess piece, in response to the first selection operation for selecting the first virtual chess piece again, the first virtual chess piece is displayed in an unselected state. The third selection operation is an operation to deselect the virtual chess piece. The third selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, or a somatosensory control. Through the third selection operation and the first selection operation, the virtual chess piece can be quickly switched out of the selected state and the equipment assembly process on the virtual chess piece can be exited, thereby improving the efficiency of human-computer interaction.
[0104] For example, as shown in FIG7 , the battle interface 40 displays a first virtual chess piece 41 that has been assembled, with an icon 43 of the assembled equipment displayed above it. The chess piece position 46 where the first virtual chess piece 41 is located is displayed in bold to indicate that the first virtual chess piece 41 is selected. In response to the user clicking on a blank area 45 of the battle board (an area on the battle board without virtual chess pieces or outside the battle board) or clicking on the first virtual chess piece 41 again, the client displays the first virtual chess piece 41 in an unselected state and removes the bold display of the chess piece position 46 to indicate that the equipment assembly of the first virtual chess piece has been canceled.
[0105] In other embodiments, after the first equipment is transferred from the second virtual chess piece to the first virtual chess piece, the object to be equipped with the equipment can be switched by selecting a virtual chess piece other than the first virtual chess piece; that is, after the equipment of the first virtual chess piece is equipped, in response to a first selection operation for selecting a third virtual chess piece, the client displays the third virtual chess piece in a selected state and displays the first virtual chess piece in an unselected state, where the third virtual chess piece is a virtual chess piece other than the first virtual chess piece controlled by the first account. When the first virtual chess piece is selected, the first selection operation for other virtual chess pieces can be used to switch to the selected other virtual chess pieces, thereby achieving rapid switching between virtual chess pieces, thereby improving the switching efficiency of virtual chess pieces, and further improving the efficiency of human-computer interaction.
[0106] For example, as shown in FIG8 , the battle interface 50 displays a first virtual chess piece 51 that has been assembled, with an identification icon 53 of the assembled equipment displayed above it. The chess piece position 54 where the first virtual chess piece 51 is located is bolded to indicate that the first virtual chess piece 51 is selected. In response to the user clicking on the third virtual chess piece 52, the client displays the first virtual chess piece 51 in an unselected state and displays the third virtual chess piece 52 in a selected state. That is, the client cancels the bolding of the chess piece position 54 where the first virtual chess piece 51 is located, and bolds the chess piece position 55 where the third virtual chess piece 52 is located, indicating that the assembled state of the first virtual chess piece 51 has switched to the assembled state of the third virtual chess piece 52. The assembled state refers to the state in which equipment can be assembled.
[0107] In summary, the method provided in the embodiments of the present application, during the process of assembling equipment for a virtual chess piece, only needs to select the virtual chess piece to select the equipment to be assembled for the virtual chess piece in the equipment bar, thereby realizing rapid assembly of the virtual chess piece, avoiding the redundant steps of first disassembling, selecting the equipment, and then dragging and assembling, saving operating costs, and improving the efficiency of assembling equipment for the virtual chess piece; in addition, when the virtual chess pieces on the battle chess board are densely populated, it can effectively avoid accidental touches that are easily caused by dragging equipment onto the virtual chess piece, thereby realizing accurate assembly of the equipment for the virtual chess piece, thereby improving the accuracy of equipment assembly for the virtual chess piece.
[0108] In addition, after selecting the first virtual chess piece, the equipment to be assembled on the second virtual chess piece is selected in the assembly bar, so that the equipment is assembled to the first virtual chess piece, thereby realizing the rapid switching of equipment between virtual chess pieces, avoiding the redundant steps of first disassembling the equipment and then reassembling it, saving operating costs, and improving human-computer interaction efficiency; and through the fixed-point assembly method of equipment, accidental touches during the dragging process of equipment are avoided, shortening the equipment assembly time and improving the game efficiency.
[0109] Figure 9 shows a flowchart of a method for assembling equipment for virtual chess pieces provided by another exemplary embodiment of the present application. The method can be executed by any terminal in Figure 2 above, or by a client running on any terminal, which is a client of a turn-based chess game, and a first account is logged into the client. In the embodiment shown in Figure 9, the equipment column includes a first equipment column and a second equipment column, wherein the first equipment column is used to display a first equipment to be selected that belongs to the first account and has not been assembled by any virtual chess piece; the second equipment column is used to display a second equipment to be selected that belongs to the first account and has been assembled by a virtual chess piece other than the first virtual chess piece, and the second equipment to be selected includes the first equipment assembled by the second virtual chess piece. The content not described in the embodiment of the present application can refer to the above embodiment. The method comprises the following steps:
[0110] Step 320: Display the game board of the turn-based chess game.
[0111] The battle board refers to the area of the battle interface in a turn-based chess game used for preparing for and conducting battles. The battle board is divided into a battle area and a preparation area. The battle area is used to place virtual chess pieces involved in the turn-based chess game, while the preparation area is used to store excess virtual chess pieces.
[0112] For example, the battle interface displays a battle board of a turn-based chess game, which includes a first virtual chess piece and a second virtual chess piece controlled by a first account, and the second virtual chess piece is equipped with a first equipment. For example, as shown in FIG5 , the battle interface 30 displays a battle board of a turn-based chess game, which includes a friendly area 38 and an enemy area 39 , and includes a first virtual chess piece (e.g., virtual chess piece A 31) and a second virtual chess piece (e.g., virtual chess piece B 32) controlled by the first account, and the second virtual chess piece is equipped with a first equipment (e.g., equipment 35).
[0113] It should be noted that both the following steps 342 and 344 are executed, but in no particular order.
[0114] Step 342: In response to a first selection operation for selecting a first virtual chess piece, display the first virtual chess piece in a selected state.
[0115] The first selection operation is an operation of selecting a virtual chess piece. The first selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, and a body control, and the embodiment of the present application is not limited thereto.
[0116] Exemplarily, in a case where the first selection operation is a click operation, in response to the first click operation on the first virtual chess piece, the client displays the first virtual chess piece in a selected state.
[0117] The first virtual chess piece in the selected state can be expressed as at least one of the following: a first virtual chess piece with a highlighted color, a first virtual chess piece with thickened lines, a first virtual chess piece with a shadow, a first virtual chess piece displaying an animation, a first virtual chess piece displaying the action of a character corresponding to the virtual chess piece, a first virtual chess piece with a sound effect, the color of the chess piece position where the first virtual chess piece is located is highlighted, the lines of the chess piece position where the first virtual chess piece is located are thickened, and the chess piece position where the first virtual chess piece is located is shaded.
[0118] For example, as shown in FIG5 , in response to the first selection operation on the first virtual chess piece (virtual chess piece A 31 ), the client boldly displays the chess piece position 36 of the first virtual chess piece in the selected state to indicate that the first virtual chess piece is in the selected state.
[0119] Step 344: In response to a first selection operation for selecting a first virtual chess piece, a first equipment column and a second equipment column in an equipment selectable state are displayed.
[0120] The first selection operation is an operation of selecting a virtual chess piece. The first selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, and a body control, and the embodiment of the present application is not limited thereto.
[0121] The first equipment column is used to display the first equipment to be selected that belongs to the first account and has not been equipped by any virtual chess piece; the second equipment column is used to display the second equipment to be selected that belongs to the first account and has been equipped by virtual chess pieces other than the first virtual chess piece, and the second equipment to be selected includes the first equipment.
[0122] The selectable equipment state means that the equipment in the equipment bar is selectable. For example, the equipment bar changes from a dimmed state to a highlighted state; or the equipment in the equipment bar changes from an unselectable state to a selectable state.
[0123] Optionally, in normal mode (i.e., when the first virtual chess piece is not equipped), the client displays the first equipment bar; in assembly mode (i.e., when the first virtual chess piece is equipped), the client additionally displays the second equipment bar; or, the client does not display the equipment bar in normal mode, and displays the first equipment bar and the second equipment bar in assembly mode.
[0124] Optionally, in the absence of any equipped virtual chess pieces, in response to a first selection operation for selecting a first virtual chess piece, the client only displays the first equipment column in an equipment-selectable state. That is, if only the first virtual chess piece is on the opposing side's board, or if none of the opposing virtual chess pieces are equipped with equipment, after selecting the first virtual chess piece, the client only displays the first equipment column in an equipment-selectable state. This reduces the number of elements in the battle interface, improves the simplicity of the battle interface, and facilitates layout by the user.
[0125] Optionally, the arrangement order of the equipment in the first equipment column and the second equipment column can be randomly arranged; or, the equipment in the first equipment column and the second equipment column are arranged in the order of the time when the equipment is obtained; or, the equipment in the first equipment column and the second equipment column are arranged according to the recommended priority determined based on the attributes of the first virtual chess piece and the attributes of the equipment (such as sorting in order of the degree of match between the attributes of the first virtual chess piece; or sorting in order according to the quality of the attributes of the equipment); or, the equipment in the second equipment column is arranged corresponding to the virtual chess piece equipped with the equipment (such as multiple equipment equipped on the second virtual chess piece are arranged together), etc., and the embodiments of the present application are not limited to this.
[0126] Optionally, when there are at least two virtual chess pieces of one's side equipped with equipment in addition to the first virtual chess piece, all second-selectable equipment can be displayed in a second equipment column, and the second-selectable equipment is displayed corresponding to the virtual chess piece of one's side equipped with the second-selectable equipment. When there is only one virtual chess piece of one's side equipped with equipment in addition to the first virtual chess piece, the display order of the second-selectable equipment is not restricted; or, the equipment column includes multiple second equipment columns, each second equipment column corresponds to a virtual chess piece, such as the number of second equipment columns is the same as the number of virtual chess pieces of one's side equipped with equipment in addition to the first virtual chess piece, that is, each second equipment column is used to display the equipment equipped by a virtual chess piece of one's side equipped with equipment in addition to the first virtual chess piece.
[0127] In some embodiments, in response to a first selection operation for selecting a first virtual chess piece, a first equipment column is displayed in an equipment-selectable state, along with a second equipment column equal in number to the number of candidate equipment virtual chess pieces. Each second equipment column displays the equipped equipment of the candidate equipment virtual chess piece corresponding to the second equipment column. The candidate equipment virtual chess piece is a virtual chess piece other than the first virtual chess piece that is already equipped with at least one equipment. The candidate equipment virtual chess pieces include the second virtual chess piece. By providing a second equipment column for each candidate equipment virtual chess piece, the user can quickly obtain the equipment assembly status, improve information acquisition efficiency, facilitate quick decision-making by the user, and thus enhance user engagement.
[0128] For example, as shown in FIG10( a ), the virtual chess pieces on one's side are equipped with equipment including virtual chess piece B and virtual chess piece C; after performing the first selection operation on the first virtual chess piece, the client displays a first equipment column 61 in an equipment selectable state and two second equipment columns in an equipment selectable state, the two equipment columns being a second equipment column 62 corresponding to virtual chess piece B and a second equipment column 63 corresponding to virtual chess piece C.
[0129] In some embodiments, in response to a first selection operation for selecting a first virtual chess piece, a first equipment column and a second equipment column in an equipment selectable state are displayed, and the second equipment to be selected in the second equipment column are arranged in an order corresponding to the virtual chess piece equipped with the second equipment to be selected.
[0130] For example, as shown in Figure 10(b), among the virtual chess pieces on one's side, virtual chess piece B and virtual chess piece C are equipped with equipment. After performing the first selection operation on the first virtual chess piece, the client displays a first equipment column 64 in an equipment selectable state and a second equipment column 65 in an equipment selectable state. The equipment displayed in the second equipment column 65 all corresponds to the virtual chess piece equipped with the equipment. That is, an icon is displayed before the equipment to indicate which virtual chess piece the equipment is currently equipped on, such as the avatar of the corresponding virtual chess piece. In this way, by displaying the equipment in the second equipment column in correspondence with the virtual chess piece equipped with the equipment, the user can quickly obtain the equipment assembly status while ensuring a simple battle interface, thereby improving the user experience.
[0131] In some embodiments, in response to a first selection operation for selecting a first virtual chess piece, a first equipment column and a second equipment column are displayed in an equipment selectable state, the equipment to be selected in the first equipment column are sorted according to a first recommendation priority, and the second equipment to be selected in the second equipment column are sorted according to a second recommendation priority. The first recommendation priority is determined based on the attributes of the first virtual chess piece and the attributes of the first equipment to be selected, and the second recommendation priority is determined based on the attributes of the first virtual chess piece and the attributes of the second equipment to be selected.
[0132] For example, as shown in Figure 10(c), after a first selection operation is performed on a first virtual chess piece, the client displays a first equipment column 66 and a second equipment column 67 in an equipment selectable state. If the first virtual chess piece is an attacking type (e.g., a shooter), equipment that improves its damage performance is prioritized, and equipment with attributes that enhance damage is prioritized in the equipment column. By prioritizing equipment that closely matches the attributes of the first virtual chess piece, the attributes of the first virtual chess piece can be effectively improved, and the user can quickly select equipment, thereby improving the efficiency of equipment allocation.
[0133] Optionally, the virtual chess piece attributes include at least one of the following: character attack type, character type, attack type, faction affiliation, attack power, piece level / star rating, piece price, gender, attack range, health, and defense. For example, each virtual chess piece has a character attack type attribute and a character type attribute. The character attack type attribute includes: Mage, Warrior, Assassin, Archer, Support, etc., and the character type attribute includes: Human, Orc, Elf, Protoss, Dwarf, etc.
[0134] The first recommendation priority is used to indicate the assembly priority of the first candidate equipment, and the second recommendation priority is used to indicate the assembly priority of the second candidate equipment. Optionally, the first recommendation priority and the second recommendation priority are recommended priorities of equipment determined using an artificial intelligence (AI) model. Exemplarily, a priority model is trained based on the first equipment assembly data, and the priority model is used to determine the first and second recommendation priorities; the parameters of the priority model are updated based on the second equipment assembly data; and the first and second recommendation priorities are determined based on the priority model. The first equipment assembly data is the equipment assembly data of all authorized user accounts, and the second equipment assembly data is the equipment assembly data of the first account. The equipment assembly data includes at least one of the following: records of each piece of equipment being assembled to the first virtual chess piece, records of each piece of equipment being removed from the first virtual chess piece, records of each piece of equipment being migrated from other virtual chess pieces to the first virtual chess piece, and records of each piece of equipment being migrated from the first virtual chess piece to other virtual chess pieces.
[0135] Specifically, the AI model is trained based on the equipment data of all players, then deployed to the current player. Based on the current player's equipment data, the AI model's parameters are updated to adapt the AI model to the current player. In other words, a universal base model is generated based on the equipment data of all players to roughly rank the degree of compatibility between virtual chess pieces and equipment. This base model is then iterated based on the current player's personal usage habits to generate a personalized model for the current player, ensuring that the equipment recommendation priority is more aligned with the current player's equipment habits.
[0136] It should be noted that the user information and equipment data involved in the embodiments of the present application are information and data authorized by the players or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0137] It should be noted that the display methods of the three equipment columns shown in Figure 10 can be used individually or in combination; for example, the methods of Figure 10(b) and Figure 10(c) are combined to display the equipment in the second equipment column while displaying the virtual chess piece currently equipped with the equipment; for another example, the methods of Figure 10(a) and Figure 10(c) are combined to display the equipment in the second equipment column when there are at least two pieces of equipment (for example, equipment column 63 of virtual chess piece C), the equipment in the second equipment column is sorted according to the recommended priority.
[0138] It should be noted that either or both of the following steps 362 and 364 can be performed; if both are performed, the order of execution is irrelevant. For example, the first virtual chess piece can be equipped with equipment that is not already equipped by any other virtual chess piece; or equipment from other virtual chess pieces controlled by the first account can be transferred to the first virtual chess piece.
[0139] Step 362: In response to the second selection operation for selecting the first equipment to be selected in the first equipment column, equip the first virtual chess piece with the first equipment to be selected.
[0140] The first equipment to be selected is equipment that belongs to the first account and is not equipped by any virtual chess piece.
[0141] The second selection operation is an operation for selecting equipment. The second selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, and a body control, and the present embodiment of the application does not limit this.
[0142] For example, if the second selection operation is a click operation, in response to the second click operation on the first equipment to be selected in the first equipment column, the client displays the first virtual chess piece equipped with the first equipment to be selected. In other words, the client equips the equipment that has not yet been equipped by any of its own virtual chess pieces to the first virtual chess piece.
[0143] Step 364: In response to a second selection operation for selecting the first equipment in the second equipment column, removing the first equipment from the second virtual chess piece, and equipping the first virtual chess piece with the first equipment.
[0144] The first equipment is the equipment currently equipped on the second virtual chess piece.
[0145] The second selection operation is an operation for selecting equipment. The second selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a pressure touch operation, an eye control, and a body control, and the present embodiment of the application does not limit this.
[0146] For example, if the second selection operation is a click operation, in response to the second click operation on the first equipment in the equipment column, the client cancels the display of the first equipment on the second virtual chess piece and displays the first virtual chess piece equipped with the first equipment. In other words, the client transfers the first equipment equipped on the second virtual chess piece to the first virtual chess piece.
[0147] For example, as shown in FIG5 , after clicking the first equipment (equipment 35) in the equipment column 33, the first equipment is equipped on the first virtual chess piece (virtual chess piece A 31), and the identification icon 34 of the first equipment is displayed above the first virtual chess piece. The identification icon 34 is no longer displayed above the second virtual chess piece (virtual chess piece B 32), thus completing the migration of the first equipment from the second virtual chess piece to the first virtual chess piece.
[0148] In some embodiments, after migrating the first equipment from the second virtual chess piece to the first virtual chess piece, the assembly of the first virtual chess piece can be exited by clicking a blank area of the game board or clicking the first virtual chess piece again. That is, after assembling the equipment for the first virtual chess piece, in response to a third selection operation for selecting a blank area of the game board, the client displays the first virtual chess piece in an unselected state; or, after assembling the equipment for the first virtual chess piece, in response to the first selection operation for selecting the first virtual chess piece again, the client displays the first virtual chess piece in an unselected state. The third selection operation can be implemented as at least one of a click operation, a double-click operation, a voice operation, a force touch operation, eye control, or somatosensory control.
[0149] For example, as shown in FIG7 , a battle interface 40 displays a first virtual chess piece 41 that has been assembled, with an icon 43 of the assembled equipment displayed above it. The client boldly displays the position 46 of the first virtual chess piece 41 to indicate that the first virtual chess piece 41 is selected. In response to the user clicking a blank area 45 of the battle board (an area without virtual chess pieces on the battle board or outside the battle board) or clicking the first virtual chess piece 41 again, the client displays the first virtual chess piece 41 in an unselected state, i.e., the client cancels the bold display of the chess piece position 46 to indicate that the equipment assembly of the first virtual chess piece has been withdrawn.
[0150] In other embodiments, after the migration of the first equipment from the second virtual chess piece to the first virtual chess piece is achieved, the object of the assembled equipment can be switched by selecting one's own virtual chess piece other than the first virtual chess piece; that is, after the equipment of the first virtual chess piece is assembled, in response to the first selection operation for selecting the third virtual chess piece, the third virtual chess piece is displayed in a selected state, and the first virtual chess piece is displayed in an unselected state, and the third virtual chess piece is a virtual chess piece other than the first virtual chess piece controlled by the first account.
[0151] For example, as shown in FIG8 , a battle interface 50 displays a first virtual chess piece 51 that has been assembled, with an icon 53 indicating the assembled equipment displayed above it. The client bolds the position 54 of the first virtual chess piece 51 to indicate that the first virtual chess piece 51 is selected. In response to a user clicking on a third virtual chess piece 52, the client displays the first virtual chess piece 51 in an unselected state and the third virtual chess piece 52 in a selected state. That is, the client unbolds the position 54 of the first virtual chess piece 51 and bolds the position 55 of the third virtual chess piece 52 to indicate that the assembled state of the first virtual chess piece 51 has switched to the assembled state of the third virtual chess piece 52.
[0152] Optionally, a disassembler is required to remove equipment from a virtual chess piece. The disassembler is used to disassemble equipment. Each disassembler can be used to disassemble one piece of equipment at the same time. Each disassembler can also be used to disassemble the equipment of a virtual chess piece at the same time. This embodiment of the present application does not limit this. Exemplarily, only when the first account has a disassembler does the client display the second equipment bar or the second equipment bar in an equipment selectable state. For example, as shown in Figure 11, a first virtual chess piece 71 and a second virtual chess piece 72 are displayed on the battle interface 70, and the second virtual chess piece 72 is equipped with equipment. A disassembler 73 is displayed in the first equipment bar; after clicking on the first virtual chess piece 71, the equipment 74 in the second equipment bar (i.e., the equipment currently equipped with the second virtual chess piece 72) is displayed. After the user clicks on the equipment 74 in the second equipment bar, the equipment 74 is migrated from the second virtual chess piece 72 to the first virtual chess piece 71, and a disassembler 73 is consumed at the same time. If the user continues to click on the equipment of other virtual chess pieces in the second equipment bar, the client displays a prompt message indicating that the number of disassemblers is insufficient.
[0153] When assembling equipment on a first virtual chess piece, if the equipment is transferred from a second virtual chess piece, a disassembler is required to disassemble the equipment from the second virtual chess piece. One disassembler can migrate at least one piece of equipment from one second virtual chess piece. Similarly, two disassemblers can migrate at least one piece of equipment from two second virtual chess pieces, and so on. After exiting the assembly of the first virtual chess piece, the existing disassemblers are automatically deducted according to the number of second virtual chess pieces.
[0154] Optionally, when the number of disassemblers is greater than or equal to the number of second virtual chess pieces, in response to the second selection operation for selecting the first equipment in the equipment column, the first equipment on the second virtual chess piece is removed, and the first equipment is equipped for the first virtual chess piece; or, when the number of disassemblers is less than the number of second virtual chess pieces, a prompt message indicating that the number of disassemblers is insufficient is displayed, for example, a pop-up prompt message "Insufficient disassemblers, equipment migration cannot be performed" is displayed.
[0155] For example, when the number of disassemblers is greater than or equal to the number of second virtual chess pieces, the migration of the second equipment to be selected can be performed directly regardless of whether one or multiple equipment to be selected need to be migrated at the same time; when the number of disassemblers is less than the number of second virtual chess pieces, if the number of second equipment to be migrated simultaneously is less than or equal to the number of disassemblers, the migration of the second equipment to be selected can be performed directly; if the number of second equipment to be migrated simultaneously is greater than the number of disassemblers, a prompt message indicating that the number of disassemblers is insufficient is displayed.
[0156] Alternatively, when the number of disassemblers is greater than or equal to the number of second virtual chess pieces, the migration of the second selected equipment can be performed directly regardless of the number of second virtual chess pieces that need to be migrated; when the number of disassemblers is less than the number of second virtual chess pieces, if the number of second virtual chess pieces that need to be migrated at the same time is less than or equal to the number of disassemblers, the migration of the second selected equipment can be performed directly; if the number of second virtual chess pieces that need to be migrated at the same time is greater than the number of disassemblers, a prompt message indicating that the number of disassemblers is insufficient is displayed, and the migration of equipment of the second virtual chess pieces with the same number as the disassemblers (or the migration of equipment of the second virtual chess pieces) is performed. This embodiment of the present application does not limit this.
[0157] In this way, the disassembly of equipment is restricted through the disassembler, which motivates users to plan the assembly of equipment to ensure the rationality of equipment disassembly and reduce the fluctuation of equipment-related data changes during game matches, thereby reducing the processing pressure of computer equipment (such as terminal devices and servers).
[0158] Optionally, after selecting the first virtual chess piece through the first selection operation, the function of selecting the equipment to assemble the first virtual chess piece through the second selection operation can be set with a function entrance, which can be used to select to turn on or off the function. The function entrance can be set in the setting interface of the game, or the corresponding quick function entrance can be set on the battle interface. For example, as shown in Figure 12, the battle interface 80 is displayed with the first virtual chess piece 81 and the second virtual chess piece 82, as well as the quick function entrance 83 for assembling the first virtual chess piece. The user can use the quick function entrance to simply and quickly turn on the function and realize the fixed-point assembly of the equipment of the first virtual chess piece. After the function is turned on, if there is a disassembler, the disassembler is in an activated state (that is, it can be used).
[0159] In summary, the method provided in the embodiment of the present application, after selecting the first virtual chess piece, selects the equipment to be assembled on the second virtual chess piece in the assembly bar, so that the equipment is assembled to the first virtual chess piece, thereby realizing rapid switching of equipment between virtual chess pieces, avoiding the redundant steps of first disassembling the equipment and then reassembling it, saving operating costs, and improving human-computer interaction efficiency; and through the fixed-point assembly method of equipment (i.e., there is no need to drag the equipment), accidental touches during the dragging process of the equipment are avoided, the assembly time of the equipment is shortened, and the game efficiency is improved.
[0160] In addition, the method provided in the embodiment of the present application is also applicable to equipping the first virtual chess piece with equipment that has not been equipped by any of the own virtual chess pieces. It can realize the fixed-point assembly of the equipment of the first virtual chess piece without accidentally touching the equipment when dragging it from the equipment bar to the first virtual chess piece, avoiding the problem of assembling the equipment to the wrong object, and improving the equipment assembly accuracy and game efficiency.
[0161] In addition, the method provided in the embodiment of the present application divides the equipment column into a first equipment column and a second equipment column, so that the ownership of the equipment is displayed more clearly, which is conducive to helping users select equipment and improving the efficiency of human-computer interaction.
[0162] In addition, the method provided in the embodiment of the present application displays the equipment in the second equipment column in correspondence with the virtual chess piece equipped with the equipment, making the number of disassemblers required clearer, which is helpful in helping users select equipment and improving the equipment assembly efficiency and the game efficiency in the game.
[0163] Figure 13 shows a flowchart of a method for assembling virtual chess pieces, according to another exemplary embodiment of the present application. This method can be executed by any of the terminals in Figure 2 above, or by a client running on any of the terminals, where the client is a client for a turn-based chess game and a first account is logged into the client. The method includes the following steps:
[0164] Step 401: Set the equipment bar to two states: normal mode and assembly mode.
[0165] The equipment bar can be set in two different modes: normal mode and assembly mode. Normal mode refers to the mode in which no virtual chess pieces are selected, while assembly mode refers to the mode in which virtual chess pieces are selected and equipped.
[0166] Optionally, the equipment bar in normal mode is displayed in a gray state, and the equipment bar in assembly mode is displayed in a highlighted state.
[0167] Optionally, after a piece of equipment in the equipment column in normal mode is clicked, the client displays an information card of the piece of equipment, where the information card includes the name and description of the piece of equipment for the user to view.
[0168] Optionally, the equipment bar in normal mode only displays the first equipment bar in the aforementioned embodiment, that is, it is used to display equipment that is not equipped by any virtual chess piece; the equipment bar in assembly mode will display the first equipment bar and the second equipment bar in the aforementioned embodiment, and the second equipment bar includes the equipment that has been assembled.
[0169] Step 402: Determine whether a virtual chess piece is selected.
[0170] Determine whether there is a selected virtual chess piece among the current virtual chess pieces of the player's own team. If there is no selected virtual chess piece, execute step 403, i.e., keep the equipment bar in normal mode; if there is a selected virtual chess piece, execute the steps starting from step 404, i.e., start assembling equipment.
[0171] For example, the client obtains the operation data call status (i.e., indicating the user's operation) and determines whether the player has selected a virtual chess piece. If the player has selected a virtual chess piece, the client displays the equipment bar in the assembly mode; if the player has not selected a virtual chess piece, the client displays the equipment bar in the normal mode.
[0172] Step 403: Stay in normal mode and click on the equipment bar to view details.
[0173] If it is determined in step 402 that there is no selected virtual chess piece among the current virtual chess pieces of the player's own team, the equipment bar remains in normal mode; the player can click on the equipment in the equipment bar to view the details of the equipment (for example, the client displays an information card containing a detailed description of the equipment). Optionally, the initial mode of the equipment bar is normal mode.
[0174] Optionally, the equipment bar in normal mode is displayed in a gray state.
[0175] It should be noted that the equipment column that maintains the normal mode in step 403 refers to displaying only the first equipment column in the aforementioned embodiment, that is, for displaying equipment that is not equipped with any virtual chess piece.
[0176] Step 404: Determine whether there is a virtual chess piece equipped with equipment.
[0177] In step 402 , when it is determined that there is a selected virtual chess piece among the current virtual chess pieces of the own side, it is determined whether there is a virtual chess piece equipped with equipment.
[0178] For example, data of one's own virtual chess piece on the game board is obtained to determine whether any virtual chess piece is equipped with equipment. If any virtual chess piece is equipped with equipment, the steps starting from step 409 are executed, i.e., a second equipment column is added to display the equipment equipped on the virtual chess piece. If no virtual chess piece is equipped with equipment, steps 405 to 408 are executed, i.e., the second equipment column is not displayed.
[0179] Step 405: Entering assembly mode, the second equipment bar is not displayed.
[0180] If it is determined in step 404 that there is no virtual chess piece equipped with equipment, step 405 is executed.
[0181] The client controls the equipment bar to enter the assembly mode, that is, the mode of equipping the selected virtual chess piece is turned on; the second equipment bar is not displayed on the battle interface, that is, only the equipment in the first equipment bar can be selected to equip the selected virtual chess piece.
[0182] Step 406: Click the first equipment to be selected in the first equipment column.
[0183] The first equipment to be selected refers to the equipment belonging to the first account that has not been equipped by any virtual chess piece of the player's side.
[0184] Exemplarily, the player clicks on any first equipment to be selected in the first equipment column.
[0185] Step 407: Assemble the first candidate equipment to the selected virtual chess piece.
[0186] Exemplarily, after the player selects the first equipment to be selected, the client assembles the first equipment to be selected to the selected virtual chess piece.
[0187] Step 408: Click on a blank area to exit assembly mode.
[0188] The blank area includes an area on the game board where there are no virtual chess pieces, or an area outside the game board.
[0189] For example, the user can click on a blank area to end the equipment assembly of the selected virtual chess piece, and the client will display the virtual chess piece as unselected.
[0190] Optionally, the user can exit the assembly mode of the selected virtual chess piece by clicking on the selected virtual chess piece again, and the client will display the virtual chess piece as unselected; or, the user can switch to the assembly mode of other virtual chess pieces by clicking on other virtual chess pieces, and the client will display the virtual chess piece as unselected and the newly selected virtual chess piece as selected.
[0191] Step 409: Enter assembly mode and display the second equipment bar.
[0192] If it is determined in step 404 that there is a virtual chess piece that has been equipped with equipment, step 409 is executed.
[0193] The client controls the equipment bar to enter the assembly mode, that is, to start equipping the selected virtual chess piece; a second equipment bar is added to the battle interface, that is, the player can select the equipment in the first equipment bar to equip the selected virtual chess piece, or select the equipment in the second equipment bar to equip the selected virtual chess piece.
[0194] Exemplarily, the client obtains equipment data of its own virtual chess piece that has been equipped with equipment, determines the equipped equipment, and displays the equipment in the second equipment column.
[0195] Optionally, the equipment in the second equipment column is displayed in groups according to the virtual chess pieces on which the equipment is currently equipped, that is, the equipment in the second equipment column is displayed corresponding to the virtual chess pieces equipped with the equipment.
[0196] Step 410: Click on the equipment in the first equipment column or the second equipment column.
[0197] For example, the player can select the equipment that he wants to equip to the selected virtual chess piece by clicking on the equipment in the first equipment column or the second equipment column. The client can determine whether there is any equipment selected for transfer by detecting whether there is a click operation on the equipment.
[0198] Step 411: Determine whether a disassembler is needed.
[0199] The client determines whether a disassembler is needed. If a disassembler is not needed, steps 412 to 413 are executed; if a disassembler is needed, steps starting from step 414 are executed.
[0200] Optionally, when the equipment is in the first equipment column, a disassembler is not required; when the equipment is in the second equipment column, a disassembler is required.
[0201] Step 412: Equipment assembly is completed.
[0202] In the case where the equipment assembly does not require a disassembler, the client completes the assembly of the selected virtual chess piece. The equipment selected in step 410 is assembled onto the selected virtual chess piece.
[0203] Step 413: Click on a blank area to exit assembly mode.
[0204] For example, the user can click on a blank area to end the equipment assembly of the selected virtual chess piece, and the client will display the virtual chess piece as unselected.
[0205] Optionally, the user can exit the assembly mode for the selected virtual chess piece by clicking on the selected virtual chess piece again, and the client will display the virtual chess piece as unselected; or, the user can switch to the assembly mode for other virtual chess pieces by clicking on other virtual chess pieces, and the client will display the virtual chess piece as unselected and the newly selected virtual chess piece as selected.
[0206] Step 414: Determine whether the number of disassemblers is sufficient.
[0207] If a detacher is required, determine whether the number of detachers is sufficient.
[0208] A disassembler can dismantle one or more equipment on a virtual chess piece, that is, the equipment on a virtual chess piece can be regarded as a group, and a disassembler can dismantle the equipment of a group; and so on, two disassemblers can dismantle the equipment of two groups, and so on.
[0209] When the number of disassemblers is greater than or equal to the number of groups to be disassembled (i.e., the number of second virtual chess pieces in the aforementioned embodiment), that is, the number of disassemblers is sufficient, execute steps 416 to 417; when the number of disassemblers is less than the number of groups to be disassembled, that is, the number of disassemblers is insufficient, execute step 415.
[0210] Step 415: Prompt the player that the number of disassemblers is insufficient.
[0211] If the number of disassemblers is insufficient, the player will be prompted with the message "Insufficient disassemblers, unable to migrate equipment" will pop up on the battle interface.
[0212] Optionally, the user can also disassemble the equipment for a corresponding number of groups according to the number of disassemblers.
[0213] Step 416: The equipment is assembled and the corresponding number of disassemblers is reduced.
[0214] When the number of disassemblers is sufficient, the equipment assembly of the selected virtual chess piece is completed. The equipment selected in step 410 is assembled to the selected virtual chess piece. At the same time, the corresponding number of disassemblers in the equipment column is reduced.
[0215] Step 417: Click on a blank area to exit assembly mode.
[0216] For example, the user can end the assembly of the selected virtual chess piece by clicking on a blank area, and the client will display the virtual chess piece as unselected.
[0217] Optionally, the user can exit the assembly mode for the selected virtual chess piece by clicking on the selected virtual chess piece again, and the client will display the virtual chess piece as unselected; or, the user can switch to the assembly mode for other virtual chess pieces by clicking on other virtual chess pieces, and the client will display the virtual chess piece as unselected and the newly selected virtual chess piece as selected.
[0218] In summary, the method provided in the embodiments of the present application, during the process of assembling equipment for a virtual chess piece, only needs to select the virtual chess piece to select the equipment to be assembled for the virtual chess piece in the equipment bar, thereby realizing rapid assembly of the virtual chess piece, avoiding the redundant steps of first disassembling, selecting the equipment, and then dragging and assembling, saving operating costs, and improving the efficiency of assembling equipment for the virtual chess piece; in addition, when the virtual chess pieces on the battle chess board are densely populated, it can effectively avoid accidental touches that are easily caused by dragging equipment onto the virtual chess piece, thereby realizing accurate assembly of the equipment for the virtual chess piece, thereby improving the accuracy of equipment assembly for the virtual chess piece.
[0219] The following are device embodiments of the present application. For details not described in detail in the device embodiments, reference may be made to the above method embodiments.
[0220] FIG14 is a block diagram of a device for assembling equipment of a virtual chess piece provided by an exemplary embodiment of the present application, wherein the device comprises: a display module 520 and an assembly module 540 .
[0221] The display module 520 is configured to display a battle board of a turn-based chess game, wherein the battle board includes a first virtual chess piece and a second virtual chess piece controlled by the first account, wherein the second virtual chess piece is equipped with a first equipment.
[0222] The display module 520 is further configured to display the first virtual chess piece in a selected state in response to a first selection operation for selecting the first virtual chess piece.
[0223] The assembling module 540 is configured to remove the first equipment from the second virtual chess piece and equip the first virtual chess piece with the first equipment in response to a second selection operation for selecting the first equipment in the equipment column.
[0224] In an optional embodiment, the equipment column includes a first equipment column and a second equipment column, and the display module 520 is further used to display the first equipment column and the second equipment column in a selectable equipment state in response to the first selection operation, wherein the selectable equipment state is used to indicate that the equipment is in a selectable state; the assembly module 540 is used to remove the first equipment on the second virtual chess piece and assemble the first equipment for the first virtual chess piece in response to the second selection operation for selecting the first equipment in the second equipment column; wherein the first equipment column is used to display a first candidate equipment belonging to the first account and not assembled by any virtual chess piece, and the second equipment column is used to display a second candidate equipment belonging to the first account and assembled by a virtual chess piece other than the first virtual chess piece, and the second candidate equipment includes the first equipment.
[0225] In an optional embodiment, the second equipment to be selected in the second equipment column is arranged in an order corresponding to the virtual chess pieces equipped with the second equipment to be selected.
[0226] In an optional embodiment, the display module 520 is further used to display the first equipment column in the selectable equipment state and a second equipment column whose number is the same as the number of candidate equipment virtual chess pieces in response to the first selection operation, and the second equipment column displays the equipped equipment of the candidate equipment virtual chess pieces corresponding to the second equipment column, the candidate equipment virtual chess pieces are virtual chess pieces that are equipped with at least one equipment except the first virtual chess pieces, and the candidate equipment virtual chess pieces include the second virtual chess pieces.
[0227] In an optional embodiment, the first equipment to be selected in the first equipment column is sorted according to a first recommendation priority, and the second equipment to be selected in the second equipment column is sorted according to a second recommendation priority, the first recommendation priority being determined based on the attributes of the first virtual chess piece and the attributes of the first equipment to be selected, and the second recommendation priority being determined based on the attributes of the first virtual chess piece and the attributes of the second equipment to be selected.
[0228] In an optional embodiment, the display module 520 is further configured to, in response to the first selection operation, display only the first equipment column in the equipment selectable state when there is no virtual chess piece equipped with equipment.
[0229] In an optional embodiment, the assembling module 540 is configured to equip the first virtual chess piece with the first equipment to be selected in response to a second selection operation for selecting the first equipment to be selected in the first equipment column.
[0230] In an optional embodiment, the first selection operation and the second selection operation are click operations; the display module 520 is further used to display the first virtual chess piece in the selected state in response to the first click operation for selecting the first virtual chess piece; the display module 520 is further used to cancel the display of the first equipment on the second virtual chess piece and display the first virtual chess piece equipped with the first equipment in response to the second click operation for selecting the first equipment in the equipment column.
[0231] In an optional embodiment, the display module 520 is further used to display the first virtual chess piece in an unselected state in response to a third selection operation for selecting a blank area of the game chessboard after the equipment of the first virtual chess piece is assembled; or, after the equipment of the first virtual chess piece is assembled, display the first virtual chess piece in an unselected state in response to the first selection operation for selecting the first virtual chess piece again.
[0232] In an optional embodiment, the display module 520 is further used to display the third virtual chess piece in a selected state and display the first virtual chess piece in an unselected state in response to a first selection operation for selecting a third virtual chess piece after assembling the equipment of the first virtual chess piece, and the third virtual chess piece is a virtual chess piece other than the first virtual chess piece controlled by the first account.
[0233] In an optional embodiment, a disassembler is required to remove the equipment from the virtual chess piece; the assembly module 540 is used to, in response to the second selection operation, remove the first equipment from the second virtual chess piece and assemble the first equipment for the first virtual chess piece when the number of the disassemblers is greater than or equal to the number of the second virtual chess pieces; or, in response to the second selection operation, display a prompt message indicating that the number of disassemblers is insufficient when the number of the disassemblers is less than the number of the second virtual chess pieces.
[0234] In summary, the method provided in the embodiments of the present application, during the process of assembling equipment for a virtual chess piece, only needs to select the virtual chess piece to select the equipment to be assembled for the virtual chess piece in the equipment bar, thereby realizing rapid assembly of the virtual chess piece, avoiding the redundant steps of first disassembling, selecting the equipment, and then dragging and assembling, saving operating costs, and improving the efficiency of assembling equipment for the virtual chess piece; in addition, when the virtual chess pieces on the battle chess board are densely populated, it can effectively avoid accidental touches that are easily caused by dragging equipment onto the virtual chess piece, thereby realizing accurate assembly of the equipment for the virtual chess piece, thereby improving the accuracy of equipment assembly for the virtual chess piece.
[0235] It should be noted that the virtual chess piece equipment assembly device provided in the above embodiment is merely an example of the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the virtual chess piece equipment assembly device provided in the above embodiment and the virtual chess piece equipment assembly method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0236] This application also provides a terminal comprising a processor and a memory, wherein the memory stores at least one instruction, which is loaded and executed by the processor to implement the virtual chess piece equipment assembly method provided in each of the above method embodiments. It should be noted that the terminal can be the terminal provided in Figure 15 below.
[0237] FIG15 shows a block diagram of a terminal 900 according to an exemplary embodiment of the present application. Terminal 900 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. Terminal 900 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other similar names.
[0238] Typically, the terminal 900 includes a processor 901 and a memory 902 .
[0239] The processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0240] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one instruction, which is used to be executed by the processor 901 to implement the equipment assembly method of the virtual chess piece provided in the method embodiment of the present application.
[0241] In some embodiments, terminal 900 may optionally include a peripheral device interface 903 and at least one peripheral device. Processor 901, memory 902, and peripheral device interface 903 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 903 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 904, a display screen 905, a camera assembly 906, an audio circuit 907, a location assembly 908, and a power supply 909.
[0242] The peripheral device interface 903 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral device interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902, and the peripheral device interface 903 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0243] The RF circuit 904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 904 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 904 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The RF circuit 904 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 904 may also include circuits related to Near Field Communication (NFC), which is not limited in this application.
[0244] Display screen 905 is used to display a user interface (UI). This UI may include graphics, text, icons, videos, or any combination thereof. When display screen 905 is a touchscreen display, it is also capable of collecting touch signals on or above the surface of display screen 905. These touch signals can be input as control signals to processor 901 for processing. Display screen 905 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be a single display screen 905, located on the front panel of terminal 900. In other embodiments, there can be at least two display screens 905, located on different surfaces of terminal 900 or in a foldable design. In still other embodiments, display screen 905 can be a flexible display, located on a curved or foldable surface of terminal 900. Display screen 905 can also be configured as a non-rectangular, irregular shape, also known as a special-shaped screen. Display screen 905 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0245] The camera assembly 906 is used to capture images or videos. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 906 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0246] The audio circuit 907 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals to be input into the processor 901 for processing, or input into the radio frequency circuit 904 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 900. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 907 may also include a headphone jack.
[0247] The location component 908 is used to locate the current geographic location of the terminal 900 to implement navigation or LBS (Location Based Service). The location component 908 can be a location component based on the GPS (Global Positioning System), Beidou system or Galileo system.
[0248] Power supply 909 is used to power various components in terminal 900. Power supply 909 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 909 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0249] In some embodiments, the terminal 900 further includes one or more sensors 910 , including but not limited to: an acceleration sensor 911 , a gyroscope sensor 912 , a pressure sensor 913 , an optical sensor 915 , and a proximity sensor 916 .
[0250] The accelerometer 911 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal 900. For example, the accelerometer 911 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 911. The accelerometer 911 can also be used to collect game or user motion data.
[0251] The gyroscope sensor 912 can detect the orientation and rotation angle of the terminal 900. It can work with the accelerometer 911 to collect the user's 3D movements on the terminal 900. Based on the data collected by the gyroscope sensor 912, the processor 901 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0252] The pressure sensor 913 can be set on the side frame of the terminal 900 and / or the lower layer of the display screen 905. When the pressure sensor 913 is set on the side frame of the terminal 900, it can detect the user's grip signal of the terminal 900, and the processor 901 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 913. When the pressure sensor 913 is set on the lower layer of the display screen 905, the processor 901 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 905. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0253] The optical sensor 915 is used to detect ambient light intensity. In one embodiment, the processor 901 can control the display brightness of the display screen 905 based on the ambient light intensity detected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is decreased. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 based on the ambient light intensity detected by the optical sensor 915.
[0254] Proximity sensor 916, also known as a distance sensor, is typically located on the front panel of terminal 900. Proximity sensor 916 is used to measure the distance between the user and the front of terminal 900. In one embodiment, when proximity sensor 916 detects that the distance between the user and the front of terminal 900 is gradually decreasing, processor 901 controls display screen 905 to switch from a screen-on state to a screen-off state. When proximity sensor 916 detects that the distance between the user and the front of terminal 900 is gradually increasing, processor 901 controls display screen 905 to switch from a screen-off state to a screen-on state.
[0255] Those skilled in the art will understand that the structure shown in FIG15 does not constitute a limitation on the terminal 900 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0256] The memory also includes one or more programs, which are stored in the memory and include a method for assembling virtual chess pieces provided in an embodiment of the present application.
[0257] The present application provides a computer-readable storage medium, wherein the storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the equipment assembly method of the virtual chess piece provided by each of the above method embodiments.
[0258] The present application also provides a computer program product, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to execute the method for assembling virtual chess pieces provided in the aforementioned optional implementation.
[0259] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0260] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0261] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
[0262] It should be noted that before collecting the user's relevant data and during the process of collecting the user's relevant data, this application can display a prompt interface, pop-up window or output a voice prompt message. The prompt interface, pop-up window or voice prompt message is used to remind the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining the user's relevant data after obtaining the user's confirmation operation on the prompt interface or pop-up window. Otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the user's relevant data are terminated, that is, the user's relevant data is not obtained. In other words, all user data collected by this application are processed strictly in accordance with the requirements of relevant national laws and regulations. The informed consent or separate consent of the personal information subject is obtained only when the user agrees and authorizes the collection, and the subsequent data use and processing behavior is carried out within the scope of the laws and regulations and the authorization of the personal information subject. The collection, use and processing of relevant user data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the battle interface, selection operation, account number, etc. involved in this application are all obtained with full authorization.
Claims
1. A method for assembling equipment for a virtual chess piece, the method being executed by a client logged in with a first account, the method comprising: Displaying a battle board of a turn-based chess game, the battle board including a first virtual chess piece and a second virtual chess piece controlled by the first account, wherein the second virtual chess piece is equipped with a first equipment; In response to a first selection operation for selecting the first virtual chess piece, displaying the first virtual chess piece in a selected state; In response to a second selection operation for selecting the first equipment in the equipment column, the first equipment on the second virtual chess piece is removed, and the first equipment is equipped for the first virtual chess piece.
2. The method according to claim 1, wherein The equipment column includes a first equipment column and a second equipment column. In response to a second selection operation for selecting the first equipment in the equipment column, before removing the first equipment from the second virtual chess piece and equipping the first virtual chess piece with the first equipment, the method further includes: In response to the first selection operation, displaying the first equipment column and the second equipment column in an equipment selectable state, wherein the equipment selectable state is used to indicate that the equipment is in a selectable state; In response to a second selection operation for selecting the first equipment in the equipment column, removing the first equipment from the second virtual chess piece, and equipping the first equipment for the first virtual chess piece, comprises: In response to a second selection operation for selecting the first equipment in the second equipment column, removing the first equipment from the second virtual chess piece and equipping the first virtual chess piece with the first equipment; Among them, the first equipment column is used to display the first equipment to be selected that belongs to the first account and has not been equipped by any virtual chess piece, and the second equipment column is used to display the second equipment to be selected that belongs to the first account and has been equipped by virtual chess pieces other than the first virtual chess piece, and the second equipment to be selected includes the first equipment.
3. The method according to claim 2, wherein: The second equipment to be selected in the second equipment column is arranged in an order corresponding to the virtual chess pieces equipped with the second equipment to be selected.
4. The method according to any one of claims 2 to 3, wherein: The step of displaying the first equipment column and the second equipment column in an equipment selectable state in response to the first selection operation includes: In response to the first selection operation, the first equipment column in the selectable equipment state and the second equipment column, the number of which is the same as the number of candidate equipment virtual chess pieces, are displayed. The second equipment column displays the equipped equipment of the candidate equipment virtual chess pieces corresponding to the second equipment column. The candidate equipment virtual chess pieces are virtual chess pieces that are equipped with at least one equipment except the first virtual chess piece, and the candidate equipment virtual chess pieces include the second virtual chess piece.
5. The method according to claim 2, wherein: The first equipment to be selected in the first equipment column is sorted according to a first recommended priority, and the second equipment to be selected in the second equipment column is sorted according to a second recommended priority, the first recommended priority being determined based on the attributes of the first virtual chess piece and the attributes of the first equipment to be selected, and the second recommended priority being determined based on the attributes of the first virtual chess piece and the attributes of the second equipment to be selected.
6. The method according to any one of claims 2 to 5, wherein: The method further comprises: In the absence of a virtual chess piece equipped with equipment, in response to the first selection operation, only the first equipment column in the equipment selectable state is displayed.
7. The method according to any one of claims 2 to 6, wherein: The method further comprises: In response to a second selection operation for selecting the first equipment to be selected in the first equipment column, the first equipment to be selected is equipped for the first virtual chess piece.
8. The method according to any one of claims 1 to 7, wherein: The first selection operation and the second selection operation are click operations; In response to a first selection operation for selecting a first virtual chess piece, displaying the first virtual chess piece in a selected state includes: In response to a first click operation for selecting the first virtual chess piece, displaying the first virtual chess piece in the selected state; In response to a second selection operation for selecting the first equipment in the equipment column, removing the first equipment from the second virtual chess piece, and equipping the first equipment for the first virtual chess piece, comprises: In response to a second click operation for selecting the first equipment in the equipment column, the first equipment on the second virtual chess piece is canceled from display, and the first virtual chess piece equipped with the first equipment is displayed.
9. The method according to any one of claims 1 to 8, wherein: The method further comprises: After equipping the equipment of the first virtual chess piece, in response to a third selection operation for selecting a blank area of the game chessboard, displaying the first virtual chess piece in an unselected state; or, After the equipment of the first virtual chess piece is assembled, in response to the first selection operation for selecting the first virtual chess piece again, the first virtual chess piece is displayed in an unselected state.
10. The method according to any one of claims 1 to 9, wherein: The method further comprises: After assembling the equipment of the first virtual chess piece, in response to a first selection operation for selecting a third virtual chess piece, the third virtual chess piece is displayed in the selected state, and the first virtual chess piece is displayed in the unselected state, wherein the third virtual chess piece is a virtual chess piece other than the first virtual chess piece controlled by the first account.
11. The method according to any one of claims 1 to 10, wherein: Removal of the equipment from the virtual chess piece requires a disassembler; In response to a second selection operation for selecting the first equipment in the equipment column, removing the first equipment from the second virtual chess piece, and equipping the first equipment for the first virtual chess piece, comprises: In a case where the number of the detachers is greater than or equal to the number of the second virtual chess pieces, in response to the second selection operation, removing the first equipment from the second virtual chess piece and equipping the first equipment to the first virtual chess piece; or, When the number of the detachers is less than the number of the second virtual chess pieces, a prompt message indicating that the number of the detachers is insufficient is displayed.
12. A device for assembling equipment for a virtual chess piece, the device comprising: a display module configured to display a battle board of a turn-based chess game, wherein the battle board includes a first virtual chess piece and a second virtual chess piece controlled by the first account, wherein the second virtual chess piece is equipped with a first equipment; The display module is further configured to display the first virtual chess piece in a selected state in response to a first selection operation for selecting the first virtual chess piece; An equipping module is configured to remove the first equipment from the second virtual chess piece and equip the first equipment for the first virtual chess piece in response to a second selection operation for selecting the first equipment in the equipment column.
13. A computer device comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for assembling virtual chess pieces according to any one of claims 1 to 11.
14. A computer-readable storage medium, wherein at least one program is stored in the computer-readable storage medium, and the at least one program is loaded and executed by a processor to implement the method for assembling virtual chess pieces according to any one of claims 1 to 11.
15. A computer program product, wherein at least one program is stored in the computer program product, and the at least one program is loaded and executed by a processor to implement the method for assembling virtual chess pieces according to any one of claims 1 to 11.
Citation Information
Patent Citations
Virtual item processing method and related device
CN114011068A
Human-computer interaction method, device and equipment of virtual article, medium and program product
CN114130024A
Virtual item searching method and device, equipment and storage medium
CN114558322A
Handover method and device for virtual equipment in game
CN116139489A
Game control method, terminal, device and storage medium
WO2023082868A1
