Method, device, equipment and computer program for arranging equipment for simulated piece characters
By displaying and equipping recommended equipment for simulated piece characters based on formation arrangement, the method reduces calculation and power consumption, addressing the inefficiencies in existing equipment recommendation processes.
Patent Information
- Application Number
- JP2025520881
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-12-29
- Filing Date
- 2023-10-27
- Publication Date
- 2025-10-09
AI Technical Summary
The existing method of recommending equipment to simulated piece characters in Auto Chess involves excessive calculation and high processing power consumption due to the need to traverse matching between new equipment and each simulated piece character each time new equipment is acquired.
A method and device that display recommended equipment for simulated piece characters based on their formation arrangement, equipping them when certain conditions are met, thereby avoiding the need for repeated calculations of equipment matching.
Reduces the amount of calculation and processing power consumption by collectively obtaining and equipping recommended equipment for simulated piece characters based on their formation arrangement, optimizing resource allocation.
Smart Images

Figure 2025533965000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority to a Chinese patent application filed on December 29, 2022, bearing application number 202211713558.5 and entitled "Method, device, equipment, medium and product for equipping and arranging simulated piece characters," the entire contents of which are incorporated herein by reference.
[0002] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device, equipment, medium, and product for arranging equipment for a simulated piece character. [Background technology]
[0003] Auto Chess is a novel chess game in which a player places their pieces (usually called "piece characters") on the board, and the game application automatically controls the piece characters to battle and outputs the battle results. Players combine their own pieces to battle against their opponents', and the life points of the losers are reduced, and rankings are determined according to the elimination order.
[0004] During a match, the pieces include main control pieces controlled by real players and simulated pieces controlled by artificial intelligence (robot accounts). Each simulated piece is recommended a set of equipment suitable for wearing according to a predetermined arrangement, and the equipment is sorted according to priority. The simulated piece improves its skills by selecting and wearing the recommended equipment according to priority.
[0005] However, in order to recommend equipment to the optimal simulated piece character, each time new equipment is acquired, it is necessary to traverse the matching between the new equipment and each simulated piece character and obtain the latest priority corresponding to the new equipment, which is too much calculation and increases the processing power consumption of the computer device. Summary of the Invention
[0006] The present application provides a method, device, equipment, medium and product for arranging equipment for a simulated piece character. The technical means are as follows:
[0007] According to one aspect of the present application, there is provided a method for arranging equipment for a simulated piece character, the method being executed by a computer device, the method comprising: A step of displaying a battle board, the battle board including at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, the robot account being an account of a non-existent player; a step of displaying recommended equipment corresponding to the simulated piece characters in response to the formation arrangement of the simulated piece characters in the current game, the formation arrangement including at least one of the simulated piece characters displayed on the battle board and the simulated piece characters that the robot account has not yet acquired, and the recommended equipment being recommended equipment obtained based on the simulated piece characters in the formation arrangement; and a step of displaying the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment condition.
[0008] According to one aspect of the present application, there is provided an equipment arrangement device for a simulated piece character. a display module for displaying a battle board, the battle board including at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, the robot account being an account of a non-existent player; the display module is used to display recommended equipment corresponding to the simulated piece characters in response to the formation arrangement of the simulated piece characters in the current game, the formation arrangement including at least one of the simulated piece characters displayed on the battle board and the simulated piece characters that the robot account has not yet acquired, and the recommended equipment is recommended equipment obtained based on the simulated piece characters in the formation arrangement; The display module is used to display the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment condition.
[0009] According to another aspect of the present application, there is provided a computer device including a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to execute the equipment arrangement method for a simulated piece character described in the above aspect.
[0010] According to another aspect of the present application, there is provided a computer-readable storage medium having stored thereon at least one computer program, the at least one computer program being loaded and executed by a processor to perform the equipment arrangement method for a simulated piece character described in the above aspect.
[0011] According to another aspect of the present application, there is provided a computer program product including a computer program stored on a computer-readable storage medium, the computer program being read from the computer-readable storage medium and executed by a processor of a computer device, causing the computer device to perform the equipment arrangement method for a simulated piece character described in the above aspect.
[0012] The advantageous effects obtained by the technical means of the present application include at least the following: The computer device displays a battle board, the battle board including at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, and in response to the formation arrangement of the simulated piece character in the current game, displays recommended equipment corresponding to the simulated piece character, and in response to the simulated piece character satisfying the equipment conditions, displays the simulated piece character equipped with the recommended equipment. The present application obtains recommended equipment corresponding to the simulated piece characters all at once based on the formation arrangement of the simulated piece characters in the current game, and equips the simulated piece character with the recommended equipment when the simulated piece character satisfies the equipment conditions, thereby avoiding the process of calculating the matching between new equipment and each simulated piece character every time new equipment is obtained, reducing the amount of calculation and the processing power consumption of the computer device. [Brief explanation of the drawings]
[0013] [Figure 1] 1 is a schematic diagram of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application; [Figure 2] FIG. 1 is a schematic diagram of the architecture of a computer system according to an exemplary embodiment of the present application. [Figure 3] 1 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. [Figure 4] 1 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. [Figure 5] 1 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. [Figure 6] 1 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. [Figure 7] 1 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. [Figure 8] 1 is a block diagram of an equipment arrangement device for a simulated piece character according to an exemplary embodiment of the present application; [Figure 9]FIG. 1 is a schematic block diagram of a computer device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0014] To clarify the objectives, technical means, and advantages of the present application, the following detailed description of the embodiments of the present application will be provided with reference to the drawings. Exemplary embodiments will be described in detail herein, examples of which are shown in the drawings. When the following description refers to the drawings, the same numerals in different drawings represent the same or similar elements unless otherwise specified. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with certain aspects of the present application as detailed in the accompanying claims.
[0015] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "said," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. Also, as used herein, the term "and / or" should be understood to mean the inclusion of any and all possible combinations of one or more of the associated listed items.
[0016] Although various information may be described using terms such as first, second, and third in this application, the information should not be limited to these terms. These terms are used only to distinguish between information of the same type.
[0017] First, terms used in the embodiments of the present application will be explained.
[0018] Auto Chess: A board game in which players can arrange their pieces in formation before a match, and the pieces will automatically play in the formation they have arranged. Pieces are usually represented by character pieces, and during the match, the character pieces automatically use various skills. Matches are usually turn-based, and when one player's pieces are all killed (i.e., the life value of the character pieces drops to zero), that player loses the match.
[0019] Board: An area in the Auto Chess game battle interface for preparing for and playing a match. The board may be a 2D virtual board, a 2.5D virtual board, or a 3D virtual board, but this application is not limited to this.
[0020] Optionally, the board is divided into a battle area and a preparation area. The battle area includes a plurality of battle grids of the same size, which are used to place battle pieces that will battle during the battle process. The preparation area includes a plurality of preparation grids, which are used to place preparation pieces that will not participate in the battle during the battle process but can be dragged and placed into the battle area during the preparation stage.
[0021] Regarding the arrangement of the grid in the battle area, in some embodiments, the battle area includes a battle grid of n (rows) x m (columns), where n is an integer multiple of 2, and two adjacent rows of grids are aligned or staggered. The battle area is equally divided into two parts, a friendly battle area and an enemy battle area, by rows. Users participating in the battle are located on the top and bottom sides of the battle interface, respectively. During the preparation phase, users can only place pieces in the friendly battle area. In other embodiments, the battle area is equally divided into two parts, a friendly battle area and an enemy battle area, by columns. Users participating in the battle are located on the left and right sides of the battle interface, respectively. The grid shape may be square, rectangular, circular, or hexagonal, but the embodiments of the present application do not limit the grid shape.
[0022] In some embodiments, the battle grid is always displayed on the board, while in other embodiments, the battle grid is displayed when a user is placing formations of battle pieces, but once the battle pieces are placed on the grid, the battle grid is hidden.
[0023] Piece character: A "piece" placed on the board in an Auto Chess game. A "piece" is usually represented by a piece character.
[0024] In some embodiments, piece characters can be distinguished by character attributes. Piece characters include battle piece characters and candidate piece characters in the candidate piece character list (i.e., candidate piece characters in the virtual store), and battle piece characters include piece characters located in the battle area and piece characters located in the preparation area. Piece characters may be virtual pieces, virtual people, virtual animals, anime characters, etc., and piece characters can be displayed using three-dimensional models. Candidate piece characters can trigger a gain battle effect after being combined with a user's existing battle piece characters, or can participate in a battle as a standalone piece character.
[0025] Optionally, the positions of the battle piece characters on the board can be changed. During the preparation phase, the user can adjust the positions of the battle piece characters in the battle area, adjust the positions of the battle piece characters in the preparation area, move the battle piece characters located in the battle area to the preparation area (if there is an empty preparation grid in the preparation area), or move the battle piece characters located in the preparation area. Note that during the battle phase, the positions of the battle piece characters located in the preparation area can also be adjusted.
[0026] Optionally, during the battle phase, the position of the piece character in the battle area may differ from that in the preparation phase. For example, during the battle phase, a piece character may automatically move from the friendly battle area to the enemy battle area to attack the enemy piece character, or a piece character may automatically move from position A in the friendly battle area to position B in the friendly battle area. Also, during the preparation phase, piece characters may only be placed in the friendly battle area, and piece characters placed by the enemy are not visible on the board. Regarding the method of acquiring battle piece characters, in some embodiments, a user may purchase piece characters during the preparation phase during a game.
[0027] In some embodiments, piece characters can be distinguished by account. Piece characters include main control piece characters controlled by player accounts of real players and simulated piece characters controlled by robot accounts of non-real players, but embodiments of the present application do not particularly limit the number of piece characters and simulated piece characters in a game.
[0028] In some embodiments, each side of the match is provided with a "piece character" that plays the game, as well as a virtual character representing a user participating in the match, and the users here include real players and non-real players. The virtual characters cannot move to the battle area or the preparation area as "pieces," and the virtual characters are also provided with a life value (or blood amount). The life value of the virtual character decreases (match failure) or remains unchanged (match win) depending on the result of each game, and when the life value of the virtual character drops to zero, the user corresponding to the virtual character ends the match, and the remaining users continue the match. The virtual characters representing the users participating in the match in a game are provided with a virtual character representing a real player. It includes a main control virtual character corresponding to the player's player account and a simulated virtual character corresponding to the non-existent player's robot account.
[0029] In addition, before collecting user-related data and during the process of collecting user-related data, the present application may display a presentation interface, a pop-up window, or output audio prompting information. The presentation interface, pop-up window, or audio prompting information is intended to notify the user that the relevant data is currently being collected. Therefore, the present application starts steps related to acquiring user-related data only when a user confirms the presentation interface or pop-up window; otherwise (i.e., when a user confirms the presentation interface or pop-up window), the application terminates the steps related to acquiring user-related data, i.e., does not acquire user-related data. In other words, all user data collected in the present application is collected with the user's consent and permission, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0030] As shown in FIG. 1, which is a schematic diagram of the equipment arrangement method for a simulated character piece, the method can be performed by a computer device, and the computer device can be a terminal or a server.
[0031] 1, the user interface displays a battle interface. The battle board 11 in the battle interface includes a preparation area 111 and a battle area 112. The battle area 112 includes 3×7 battle grids, each of which has a hexagonal shape, and two adjacent rows of grids are arranged in a staggered pattern. The preparation area 111 includes nine preparation grids.
[0032] 1(a), a first battle simulation piece character 111a, a second battle simulation piece character 111b, and a third battle simulation piece character 111c are displayed in the battle area 112, and a first preparation simulation piece character 112a, a second preparation simulation piece character 112b, and a third preparation simulation piece character 112c are displayed in the preparation area 111. A robot account 113 is displayed next to the battle area 112 and the preparation area 111.
[0033] The battle board includes at least one simulated piece character, which is a piece character controlled by a robot account 113. The simulated piece character may be at least one of the first battle simulated piece character 111a, the second battle simulated piece character 111b, the third battle simulated piece character 111c, the first preliminary simulated piece character 112a, the second preliminary simulated piece character 112b, and the third preliminary simulated piece character 112c.
[0034] The robot account 113 is an account corresponding to a non-existent player (artificial intelligence).
[0035] For example, the computer device displays recommended equipment corresponding to the simulated piece character in response to the formation arrangement of the simulated piece character in the current game, and the computer device displays the simulated piece character equipped with the recommended equipment in response to the simulated piece character meeting the equipment conditions.
[0036] The formation arrangement is at least one of the name, type, quantity, and character attribute arrangement of the simulated piece characters set in this game.
[0037] The formation arrangement includes at least one of the simulated piece characters displayed on the battle board and the simulated piece characters that the robot account has not yet acquired.
[0038] The equipment conditions are conditions for matching the simulated piece character with the corresponding recommended equipment.
[0039] Optionally, the wearing condition includes that the wearing score of at least one of the name, type, quantity, and character attribute of the simulated piece character and at least one of the name, type, quantity, and equipment attribute of the recommended equipment is greater than a threshold value.
[0040] For example, a simulated piece character whose character attribute is attack type satisfies the wearing condition for attack type equipment, and a simulated piece character whose character attribute is healing type satisfies the wearing condition for healing type equipment.
[0041] The recommended equipment is recommended equipment obtained based on the simulated piece characters in the formation arrangement.
[0042] For example, if the formation of the simulated piece characters in this game is five simulated piece characters and each simulated piece character is assigned three pieces of equipment, the number of recommended pieces of equipment obtained based on the simulated piece characters in the formation is 15.
[0043] For example, the computer device obtains recommended equipment corresponding to the simulated piece character based on the character attribute information of the simulated piece character in the formation arrangement and the candidate equipment attribute information of the candidate equipment in the candidate equipment set.
[0044] The character attribute information is attribute information corresponding to the simulated piece characters in the formation arrangement, and is, for example, at least one of a healing attribute, an attack attribute, a defense attribute, a movement attribute, and a control attribute.
[0045] The candidate equipment attribute information is attribute information corresponding to the candidate equipment, and is, for example, at least one of offensive equipment, healing equipment, defensive equipment, moving equipment, and control equipment.
[0046] Optionally, the computing device traverses the candidate equipment in the candidate equipment set, and if the candidate equipment belongs to a first selection of equipment of the simulated piece character, determines the candidate equipment as a recommended equipment corresponding to the simulated piece character; If the candidate equipment does not belong to the first selected equipment of the simulated piece character but belongs to the second selected equipment of the simulated piece character, determine the candidate equipment as the recommended equipment corresponding to the simulated piece character; If the candidate equipment does not belong to the first selected equipment or the second selected equipment, a matching score between the candidate equipment and the simulated piece character is calculated based on the character attribute value and the candidate equipment attribute value, and the candidate equipment with the highest matching score is determined as the recommended equipment corresponding to the simulated piece character.
[0047] The matching score is a matching value calculated based on the candidate equipment attribute value of the candidate equipment and the character attribute value of the simulated piece character.
[0048] The candidate equipment attribute values are representative values obtained by analyzing the attributes and effects of the candidate equipment.
[0049] The character attribute value is a representative value obtained by analyzing the attributes and effects of the simulated piece character.
[0050] The first selected equipment is equipment suitable for wearing on the simulated piece character in the current formation, and specifically, may be equipment whose matching score with the simulated piece character in the current formation is greater than a first threshold. Alternatively, the first selected equipment is equipment that can maximize the potential of the simulated piece character in the current formation. For example, in a formation for a team battle, the first selected equipment is equipment whose lethal range is greater than a preset lethal range, or equipment whose lethal value is greater than a lethal threshold. Alternatively, the first selected equipment is at least a portion of equipment selected in advance.
[0051] The second selected equipment is equipment suitable for wearing on the simulated piece character in the current formation, and specifically, may be equipment whose matching score with the simulated piece character in the current formation is greater than a second threshold. For example, it may be equipment that belongs to the same attribute as the simulated piece character. Alternatively, the second selected equipment may be at least a portion of equipment selected in advance, and may be equipment that is different from the first selected equipment.
[0052] For example, the first threshold and the second threshold may be thresholds of different magnitudes, and the first threshold may be greater than the second threshold. The matching score between the equipment and the simulated piece character may be a matching score between at least one of the name, type, quantity, and equipment attributes of the equipment and at least one of the name, type, quantity, and character attributes of the simulated piece character.
[0053] Optionally, a matching score between at least one of the name, type, quantity, and equipment attributes of each piece of equipment and at least one of the name, type, quantity, and character attributes of the simulated character piece can be preset and stored in correspondence with the name, type, quantity, and character attributes of each piece of equipment. Alternatively, a matching score between at least one of the name, type, quantity, and equipment attributes of each piece of equipment and at least one of the type, quantity, and character attributes of the simulated character piece can be determined by a pre-trained scoring model. For example, at least one of the name, type, quantity, and equipment attributes of the equipment and at least one of the type, quantity, and character attributes of the simulated character piece are input into a scoring model, and the scoring model outputs a matching score between the equipment and the simulated character piece.
[0054] For example, the computer device sequentially selects equipment from the candidate equipment set for the simulated piece character based on the equipment selection priority information of the simulated piece character.
[0055] For example, the computer device sequentially selects equipment for the simulated piece character from the candidate equipment set in descending order of priority based on the equipment selection priority information of the simulated piece character.
[0056] For example, when the computer device acquires the recommended equipment, the computer device pre-allocates the recommended equipment to the simulated piece character based on the formation arrangement of the simulated piece character, and acquires a pre-allocation result in which the simulated piece character equips the recommended equipment. When the simulated piece character satisfies the equipment condition, the computer device equips the simulated piece character with the recommended equipment based on the pre-allocation result.
[0057] The pre-allocation result is a result of the computer device pre-allocating recommended equipment that can be worn by each of all simulated piece characters in the formation arrangement based on the recommended equipment, where all simulated piece characters in the formation arrangement include at least one of simulated piece characters displayed on the board and simulated piece characters that the robot account has not yet acquired.
[0058] Optionally, the method of pre-assigning recommended equipment to simulated piece characters may be pre-assigned in an exhaustive manner.
[0059] Optionally, the computing device assigns the recommended equipment to the simulated piece character if the recommended equipment belongs to the simulated piece character's first selection of equipment; If the recommended equipment does not belong to the simulated piece character's first selected equipment but belongs to the simulated piece character's second selected equipment, assign the recommended equipment to the simulated piece character; If the recommended equipment does not belong to the first selected equipment or the second selected equipment, an allocation score between the recommended equipment and the simulated piece character is calculated based on the character attribute value and the recommended equipment attribute value, and the recommended equipment is allocated to the simulated piece character with the highest allocation score.
[0060] The allocation score is a matching value calculated based on the recommended equipment attribute value of the recommended equipment and the character attribute value of the simulated piece character.
[0061] The recommended equipment attribute values are representative values obtained by analyzing the attributes and effects of the recommended equipment.
[0062] In a scenario where a candidate equipment item is selected as the recommended equipment item, the value of the recommended equipment attribute value is the same as the value of the candidate equipment attribute value.
[0063] For example, when a simulated piece character is displayed on the battle board, the corresponding simulated piece character is equipped with recommended equipment based on the pre-assignment result; When the simulated piece character is not displayed on the battle board, an attachment score of the recommended equipment and the simulated piece character is calculated based on a character attribute value corresponding to the simulated piece character and a recommended equipment attribute value corresponding to the recommended equipment, and the recommended equipment is attached to the simulated piece character with the highest attachment score.
[0064] For example, as shown in FIG. 1(b), if the recommended equipment "Battle Axe" displayed in the equipment display area 114 does not belong to the first selected equipment of the third preparation simulated piece character 112c but belongs to the second selected equipment of the third preparation simulated piece character 112c, the recommended equipment "Battle Axe" is assigned to the third preparation simulated piece character 112c. If the third preparation simulated piece character 112c is displayed on the battle board, the recommended equipment "Battle Axe" is equipped to the second preparation simulated piece character 112b. If the third preparation simulated piece character 112c is displayed on the battle board, the recommended equipment "Battle Axe" is equipped to the third preparation simulated piece character 112c based on the pre-assignment results.
[0065] For example, if the formation of the simulated piece characters in the current game is five simulated piece characters, but only three simulated piece characters have been acquired and two simulated piece characters have not yet been acquired, the computer device will select equipment based on the formation of the simulated piece characters in the current game and obtain recommended equipment corresponding to the simulated piece characters. For example, if each of the five simulated piece characters is equipped with three recommended pieces of equipment, 15 recommended pieces of equipment corresponding to the five simulated piece characters will be obtained.
[0066] The computer device pre-assigns the selected recommended equipment to five simulated piece characters and obtains a pre-assignment result in which the simulated piece characters will wear the recommended equipment. That is, the computer device pre-assigns the equipment based on the three simulated piece characters that have been acquired and the two simulated piece characters that have not been acquired. In assigning the equipment, if the simulated piece character is displayed on the battle board, the computer device equips the corresponding simulated piece character with the acquired recommended equipment based on the pre-assignment result. If the simulated piece character is not displayed on the battle board, the computer device calculates an equipment score for the recommended equipment and the simulated piece character based on the character attribute value corresponding to the simulated piece character and the recommended equipment attribute value corresponding to the recommended equipment, and equips the simulated piece character with the recommended equipment with the highest equipment score.
[0067] For example, when equipment A is acquired, it is assigned to simulated piece character a according to the pre-allocation results, but at this point simulated piece character a has not been acquired on the battle board, so the equipment score between equipment A and each simulated piece character is calculated, and if simulated piece character b has the highest equipment score, it is determined that it is most suitable to equip equipment A on simulated piece character b at this point, so equipment A is equipped on simulated piece character b, but later, when simulated piece character a is acquired, equipment A equipped on simulated piece character b is equipped on simulated piece character a.
[0068] Note that players will not necessarily acquire all of the 15 recommended pieces of equipment; rather, they will select at least some of these 15 pieces of recommended equipment, and gradually acquire all 15 pieces of recommended equipment over the course of subsequent games.
[0069] In summary, in the equipment arrangement method for simulated piece characters according to this embodiment, a computer device displays a battle board, the battle board includes at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, and displays recommended equipment corresponding to the simulated piece character in response to the formation arrangement of the simulated piece character in the current game, and displays the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment conditions. The present application collectively obtains recommended equipment corresponding to all simulated piece characters based on the formation arrangement of the simulated piece characters in the current game, and equips the simulated piece character with the recommended equipment when the simulated piece character satisfies the equipment conditions, thereby avoiding the process of calculating the matching between new equipment and each simulated piece character each time new equipment is obtained, reducing the amount of calculation and the processing power consumption of the computer device.
[0070] 2 shows a schematic diagram of the architecture of a computer system according to an embodiment of the present application. The computer system may include a terminal 100 and a server 200.
[0071] The terminal 100 may be an electronic device such as a mobile phone, a tablet computer, an in-vehicle terminal (in-vehicle device), a wearable device, a personal computer (PC), a palm image recognition device, a palm image recognition home appliance, an in-vehicle terminal, an aircraft, or an unmanned vending machine. A client that executes a target application may be installed in the terminal 100, but the present application is not limited to this. Furthermore, the present application does not limit the form of the target application, and the form may include, but is not limited to, an application (app), an applet, etc. installed in the terminal 100, and may be in the form of a web page.
[0072] The server 200 may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial palm image recognition platforms. The server 200 may be a backend server of the target application and is used to provide backend services to clients of the target application.
[0073] Cloud technology is a hosting technology that integrates a set of resources, such as hardware, software, and networks, within a wide-area network or local-area network to enable data computation, storage, processing, and sharing. Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It forms a resource pool and can be used as needed, making it flexible and convenient. Cloud computing technology is becoming an important supporting technology. Back-end services in technical network systems require massive computing and storage resources, such as video websites, image websites, and many portal sites. With the rapid development and application of the Internet industry, in the future, each item may have its own unique identification mark, which will need to be transmitted to a back-end system for logical processing. Different levels of data are processed separately, and data from each industry requires a powerful system backing, which can only be achieved through cloud computing.
[0074] In some embodiments, the server 200 can also be implemented as a node in a blockchain system. Blockchain is a new application mode of computer technology, including distributed data storage, point-to-point transmission, consensus mechanisms, and encryption algorithms. A blockchain is essentially a distributed database, a series of data blocks generated by association using cryptographic techniques, where each data block contains information about a batch of network transactions and is used to verify the validity of the information (to prevent counterfeiting) and generate the next block. A blockchain may include a blockchain base platform, a platform product service layer, and an application service layer.
[0075] The terminal 100 and the server 200 can communicate with each other via a wired or wireless network.
[0076] In the equipment arrangement method for a simulated piece character according to an embodiment of the present application, each step may be performed by a computer device. A computer device is an electronic device having data calculation, processing, and storage functions. Taking the implementation environment shown in FIG. 2 as an example, the equipment arrangement method for a simulated piece character can be performed by the terminal 100 (for example, a client of a target application installed and running on the terminal 100 executes the equipment arrangement method for a simulated piece character), or the equipment arrangement method for a simulated piece character can be executed by the server 200, or the terminal 100 and the server 200 execute the method in cooperation with each other, but the present application is not limited thereto.
[0077] 3 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. This method can be performed by a computer device, which may be the terminal 100 or the server 200 of FIG. 2. This method includes the following steps:
[0078] Step 302: The battle board is displayed.
[0079] The battle board is an area in the battle interface of the Auto Chess game where players prepare for and play a match. This board may be a 2D virtual board, a 2.5D virtual board, or a 3D virtual board, but the present application is not limited to this.
[0080] The board is divided into a battle area and a preparation area. The battle area includes multiple battle grids of the same size, which are used to place battle pieces that will battle during the battle. The preparation area includes multiple preparation grids, which are used to place preparation pieces that will not participate in the battle during the battle, but can be dragged and placed into the battle area during the preparation stage.
[0081] 1(a), the battle board 11 in the battle interface includes a preparation area 111 and a battle area 112. The battle area 112 includes multiple battle grids of the same size; for example, the battle area 112 includes 3x7 battle grids, each hexagonal in shape, with two adjacent rows of grids arranged in a staggered pattern; the battle grids are used to place battle pieces that will be battled during the battle. The preparation area 111 includes multiple preparation grids; for example, the preparation area 111 includes nine preparation grids; the preparation grids are used to place preparation pieces that will not participate in a battle during the battle but can be dragged into the battle area and placed there during the preparation stage.
[0082] Regarding the arrangement of the grid in the battle area, in some embodiments, the battle area includes a battle grid of n (rows) x m (columns), where n is an integer multiple of 2, and two adjacent rows of grids are aligned or staggered. The battle area is equally divided into two parts, a friendly battle area and an enemy battle area, by rows. Users participating in the battle are located on the top and bottom sides of the battle interface, respectively. During the preparation phase, users can only place pieces in the friendly battle area. In other embodiments, the battle area is equally divided into two parts, a friendly battle area and an enemy battle area, by columns. Users participating in the battle are located on the left and right sides of the battle interface, respectively. The grid shape may be square, rectangular, circular, or hexagonal, but the embodiments of the present application do not limit the grid shape.
[0083] Illustratively, the computing device displays a battle board, the battle board including at least one simulated piece character controlled by a robot account. Optionally, the battle board further includes at least one main control piece character controlled by a player account.
[0084] A simulated character is a character controlled by a robot account, which is a fictitious player's account.
[0085] A main character is a character controlled by a player account. A player account is the account of a real player.
[0086] Optionally, in the same game, the piece characters on the battle board may simultaneously include main piece characters controlled by the player account of a real player and simulated piece characters controlled by a robot account, but the embodiment of the present application does not particularly limit the number of main piece characters and simulated piece characters in a game. That is, in the same game, there may be only one main piece character controlled by the player account of a real player, and the rest may be simulated piece characters controlled by robot accounts.
[0087] The counterpart of a robot account is a non-existent player, also known as an AI player or computer player.
[0088] In some embodiments, a robot account may be a "humanized player" controlled based on an algorithm or AI model. The robot account is capable of recognizing a series of actions (e.g., jumping, running, etc.) performed by a real player and interacting with them. The actions of a robot account are unpredictable, and the robot account can sense changes in its surrounding environment, autonomously learn through AI, and evolve new actions. Alternatively, the robot account determines the correct action to be taken by making decisions based on a strategy tree. Upon receiving a specific trigger condition, the robot account traverses the strategy tree to determine the function to execute a specific operation. Here, the strategy tree arranges all possible strategies that meet all requirements in a tree, and this tree is a recursive tree for instructing the robot account to execute a specific operation.
[0089] Step 304: In response to the formation arrangement of the simulated piece characters in the current game, recommended equipment corresponding to the simulated piece characters is displayed.
[0090] The formation arrangement is at least one of the name, type, quantity, and character attribute arrangement of the simulated piece characters set in this game.
[0091] The formation arrangement includes at least one of the simulated piece characters displayed on the battle board and the simulated piece characters that the robot account has not yet acquired.
[0092] The recommended equipment is recommended equipment obtained based on the simulated piece characters in the formation arrangement.
[0093] For example, if the formation of the simulated piece characters in this game is five simulated piece characters and each simulated piece character is assigned three pieces of equipment, the number of recommended pieces of equipment obtained based on the simulated piece characters in the formation is 15.
[0094] For example, the type of recommended equipment may be at least one of offensive equipment, healing equipment, defensive equipment, movement equipment, and control equipment.
[0095] For example, the computer device displays recommended equipment corresponding to the simulated piece characters in response to the formation arrangement of the simulated piece characters in the current game.
[0096] Step 306: In response to the simulated piece character satisfying the equipment requirements, the simulated piece character equipped with the recommended equipment is displayed.
[0097] The equipment conditions are conditions for matching the simulated piece character with the corresponding recommended equipment.
[0098] Optionally, the wearing condition includes that the wearing score of at least one of the name, type, quantity, and character attribute of the simulated piece character and at least one of the name, type, quantity, and equipment attribute of the recommended equipment is greater than a threshold value.
[0099] Optionally, multiple thresholds can be set for the above-mentioned equipment conditions. For example, a name threshold can be set for the equipment score between the name of the simulated piece character and the name of the recommended equipment, a type threshold can be set for the equipment score between the type of simulated piece character and the type of recommended equipment, a quantity threshold can be set for the equipment score between the number of simulated piece characters and the number of recommended equipment, and an attribute threshold can be set for the equipment score between the attributes of the simulated piece character and the attributes of the recommended equipment.
[0100] Optionally, the wearing condition is a preset condition for determining whether the simulated piece character can wear the recommended equipment or is suitable for wearing the recommended equipment. If the preset condition is met, the simulated piece character can wear the recommended equipment or is suitable for wearing the recommended equipment, and if the preset condition is not met, the simulated piece character cannot wear the recommended equipment or is not suitable for wearing the recommended equipment.
[0101] For example, a simulated piece character whose character attribute is attack type satisfies the wearing condition for attack type equipment, and a simulated piece character whose character attribute is healing type satisfies the wearing condition for healing type equipment.
[0102] In summary, in the equipment arrangement method for simulated piece characters according to this embodiment, a computer device displays a battle board, the battle board includes at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, and displays recommended equipment corresponding to the simulated piece character in response to the formation arrangement of the simulated piece character in the current game, and displays the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment conditions. The present application collectively obtains recommended equipment corresponding to all simulated piece characters based on the formation arrangement of the simulated piece characters in the current game, and equips the simulated piece character with the recommended equipment when the simulated piece character satisfies the equipment conditions, thereby avoiding the process of calculating the matching between new equipment and each simulated piece character each time new equipment is obtained, reducing the amount of calculation and the processing power consumption of the computer device.
[0103] 4 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. This method can be performed by a computer device, which may be the terminal 100 or the server 200 of FIG. 2. This method includes the following steps:
[0104] Step 402: The battle board is displayed.
[0105] The battle board is an area in the battle interface of the Auto Chess game where players prepare for and play a match. This board may be a 2D virtual board, a 2.5D virtual board, or a 3D virtual board, but the present application is not limited to this.
[0106] The board is divided into a battle area and a preparation area. The battle area includes multiple battle grids of the same size, which are used to place battle pieces that will battle during the battle. The preparation area includes multiple preparation grids, which are used to place preparation pieces that will not participate in the battle during the battle, but can be dragged and placed into the battle area during the preparation stage.
[0107] Regarding the arrangement of the grid in the battle area, in some embodiments, the battle area includes a battle grid of n (rows) x m (columns), where n is an integer multiple of 2, and two adjacent rows of grids are aligned or staggered. The battle area is equally divided into two parts, a friendly battle area and an enemy battle area, by rows. Users participating in the battle are located on the top and bottom sides of the battle interface, respectively. During the preparation phase, users can only place pieces in the friendly battle area. In other embodiments, the battle area is equally divided into two parts, a friendly battle area and an enemy battle area, by columns. Users participating in the battle are located on the left and right sides of the battle interface, respectively. The grid shape may be square, rectangular, circular, or hexagonal, but the embodiments of the present application do not limit the grid shape.
[0108] Illustratively, the computing device displays a battle board, the battle board including at least one simulated piece character controlled by a robot account. Optionally, the battle board further includes at least one main control piece character controlled by a player account.
[0109] A simulated character is a character controlled by a robot account, which is a fictitious player's account.
[0110] A main character is a character controlled by a player account. A player account is the account of a real player.
[0111] Optionally, in the same game, the piece characters on the battle board may simultaneously include main piece characters controlled by the player account of a real player and simulated piece characters controlled by a robot account, but the embodiment of the present application does not particularly limit the number of main piece characters and simulated piece characters in a game. That is, in the same game, there may be only one main piece character controlled by the player account of a real player, and the rest may be simulated piece characters controlled by robot accounts.
[0112] The counterpart of a robot account is a non-existent player, also known as an AI player or computer player.
[0113] In some embodiments, a robot account may be a "humanized player" controlled based on an algorithm or AI model. The robot account is capable of recognizing a series of actions (e.g., jumping, running, etc.) performed by a real player and interacting with them. The actions of a robot account are unpredictable, and the robot account can sense changes in its surrounding environment, autonomously learn through AI, and evolve new actions. Alternatively, the robot account determines the correct action to be taken by making decisions based on a strategy tree. Upon receiving a specific trigger condition, the robot account traverses the strategy tree to determine the function to execute a specific operation. Here, the strategy tree arranges all possible strategies that meet all requirements in a tree, and this tree is a recursive tree for instructing the robot account to execute a specific operation.
[0114] Step 404: Based on the character attribute information of the simulated piece character in the formation arrangement and the candidate equipment attribute information of the candidate equipment in the candidate equipment set, recommended equipment corresponding to the simulated piece character is obtained.
[0115] The formation arrangement is at least one of the name, type, quantity, and character attribute arrangement of the simulated piece characters set in this game.
[0116] The formation arrangement includes at least one of the simulated piece characters displayed on the battle board and the simulated piece characters that the robot account has not yet acquired.
[0117] The recommended equipment is recommended equipment obtained based on the simulated piece characters in the formation arrangement.
[0118] Optionally, recommended gear includes job change tokens and regular gear.
[0119] A job change token (job change plaque) is used to change the job attribute of a character. For example, by equipping a job change token, the job attribute of a character can be changed from "farmer" to "gardener."
[0120] For example, the computer device obtains recommended equipment corresponding to the simulated piece character based on the character attribute information of the simulated piece character in the formation arrangement and the candidate equipment attribute information of the candidate equipment in the candidate equipment set.
[0121] The character attribute information is attribute information corresponding to the simulated piece characters in the formation arrangement, and is, for example, at least one of a healing attribute, an attack attribute, a defense attribute, a movement attribute, and a control attribute.
[0122] The candidate equipment attribute information is attribute information corresponding to the candidate equipment, and is, for example, at least one of offensive equipment, healing equipment, defensive equipment, moving equipment, and control equipment.
[0123] Optionally, the computing device traverses the candidate equipment in the candidate equipment set, and if the candidate equipment belongs to a first selection of equipment of the simulated piece character, determines the candidate equipment as a recommended equipment corresponding to the simulated piece character; If the candidate equipment does not belong to the first selected equipment of the simulated piece character but belongs to the second selected equipment of the simulated piece character, determine the candidate equipment as the recommended equipment corresponding to the simulated piece character; If the candidate equipment does not belong to the first selected equipment or the second selected equipment, a matching score between the candidate equipment and the simulated piece character is calculated based on the character attribute value and the candidate equipment attribute value, and the candidate equipment with the highest matching score is determined as the recommended equipment corresponding to the simulated piece character.
[0124] The matching score is a matching value calculated based on the candidate equipment attribute value of the candidate equipment and the character attribute value of the simulated piece character.
[0125] Here, the formula for calculating the matching score can be expressed as follows: TIFF2025533965000002.tif5170 formula, TIFF2025533965000003.tif4170 is the matching score, TIFF2025533965000004.tif3170 is the basic combat power of the simulated piece character, TIFF2025533965000005.tif5170 is the coefficient, TIFF2025533965000006.tif4170 is the attribute bonus value of the simulated piece character (also called the character attribute value), TIFF2025533965000007.tif4170 is the amplification factor for the candidate equipment attribute (also called the candidate equipment attribute value).
[0126] The candidate equipment attribute values are representative values obtained by analyzing the attributes and effects of the candidate equipment.
[0127] The character attribute value is a representative value obtained by analyzing the attributes and effects of the simulated piece character.
[0128] The first selected equipment is equipment suitable for wearing on the simulated piece character in the current formation, and specifically, may be equipment whose matching score with the simulated piece character in the current formation is greater than a first threshold. Alternatively, the first selected equipment is equipment that can maximize the potential of the simulated piece character in the current formation. For example, in a formation for a team battle, the first selected equipment is equipment whose lethal range is greater than a preset lethal range, or equipment whose lethal value is greater than a lethal threshold. Alternatively, the first selected equipment is at least a portion of equipment selected in advance.
[0129] The second selected equipment is equipment suitable for wearing on the simulated piece character in the current formation, and specifically, may be equipment whose matching score with the simulated piece character in the current formation is greater than a second threshold. For example, it may be equipment that belongs to the same attribute as the simulated piece character. Alternatively, the second selected equipment may be at least a portion of equipment selected in advance, and may be equipment that is different from the first selected equipment.
[0130] For example, the first threshold and the second threshold may be thresholds of different magnitudes, and the first threshold may be greater than the second threshold. The matching score between the equipment and the simulated piece character may be a matching score between at least one of the name, type, quantity, and equipment attributes of the equipment and at least one of the name, type, quantity, and character attributes of the simulated piece character.
[0131] Optionally, a matching score between at least one of the name, type, quantity, and equipment attributes of each piece of equipment and at least one of the name, type, quantity, and character attributes of the simulated character piece can be preset and stored in correspondence with the name, type, quantity, and character attributes of each piece of equipment. Alternatively, a matching score between at least one of the name, type, quantity, and equipment attributes of each piece of equipment and at least one of the type, quantity, and character attributes of the simulated character piece can be determined by a pre-trained scoring model. For example, at least one of the name, type, quantity, and equipment attributes of the equipment and at least one of the type, quantity, and character attributes of the simulated character piece are input into a scoring model, and the scoring model outputs a matching score between the equipment and the simulated character piece.
[0132] For example, if the formation arrangement of the simulated piece characters in the current game is five simulated piece characters, but currently only three simulated piece characters have been acquired and two simulated piece characters have not yet been acquired, the computer device selects equipment based on the formation arrangement of the simulated piece characters in the current game and acquires recommended equipment corresponding to the simulated piece characters. For example, if three recommended pieces of equipment are equipped to each of the five simulated piece characters, 15 recommended pieces of equipment corresponding to the five simulated piece characters are acquired. The computer device traverses the candidate equipment in the candidate equipment set based on the simulated piece characters in the formation arrangement and determines the candidate equipment that meets the equipment selection conditions as recommended equipment.
[0133] Note that players will not necessarily acquire all of the 15 recommended pieces of equipment; rather, they will select at least some of these 15 pieces of recommended equipment, and gradually acquire all 15 pieces of recommended equipment over the course of subsequent games.
[0134] For example, the computer device sequentially selects equipment from the candidate equipment set for the simulated piece character based on the equipment selection priority information of the simulated piece character.
[0135] For example, the computer device sequentially selects equipment for the simulated piece character from the candidate equipment set in descending order of priority based on the equipment selection priority information of the simulated piece character.
[0136] In the equipment arrangement method for simulated piece characters according to this embodiment, the computer device obtains recommended equipment corresponding to the simulated piece characters based on the character attribute information of all simulated piece characters in the formation arrangement and the candidate equipment attribute information of the candidate equipment in the candidate equipment set, and determines the recommended equipment corresponding to the simulated piece characters in a multidimensional manner. Since the present application obtains recommended equipment corresponding to all simulated piece characters in a multidimensional manner in a lump sum based on the formation arrangement of the simulated piece characters in the current battle, the amount of calculation is reduced, and the processing power consumption of the computer device is also reduced.
[0137] Step 406: In response to the simulated piece character satisfying the equipment requirements, the simulated piece character equipped with the recommended equipment is displayed.
[0138] Illustratively, the computer device displays the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment requirements.
[0139] The equipment conditions are conditions for matching the simulated piece character with the corresponding recommended equipment.
[0140] Optionally, the wearing condition includes that the wearing score of at least one of the name, type, quantity, and character attribute of the simulated piece character and at least one of the name, type, quantity, and equipment attribute of the recommended equipment is greater than a threshold value.
[0141] Optionally, multiple thresholds can be set for the above-mentioned equipment conditions. For example, a name threshold can be set for the equipment score between the name of the simulated piece character and the name of the recommended equipment, a type threshold can be set for the equipment score between the type of simulated piece character and the type of recommended equipment, a quantity threshold can be set for the equipment score between the number of simulated piece characters and the number of recommended equipment, and an attribute threshold can be set for the equipment score between the attributes of the simulated piece character and the attributes of the recommended equipment.
[0142] Optionally, the wearing condition is a preset condition for determining whether the simulated piece character can wear the recommended equipment or is suitable for wearing the recommended equipment. If the preset condition is met, the simulated piece character can wear the recommended equipment or is suitable for wearing the recommended equipment, and if the preset condition is not met, the simulated piece character cannot wear the recommended equipment or is not suitable for wearing the recommended equipment.
[0143] For example, a simulated piece character whose character attribute is attack type satisfies the wearing condition for attack type equipment, and a simulated piece character whose character attribute is healing type satisfies the wearing condition for healing type equipment.
[0144] For example, when the computer device acquires the recommended equipment for the simulated piece character, the computer device pre-allocates the recommended equipment to the simulated piece character based on the formation arrangement of the simulated piece character, and acquires a pre-allocation result for equipping the simulated piece character with the recommended equipment. When the simulated piece character satisfies the equipment condition, the computer device equips the simulated piece character with the recommended equipment based on the pre-allocation result.
[0145] The pre-allocation result is a result of the computer device pre-allocating recommended equipment that can be worn by each of all simulated piece characters in the formation arrangement based on the recommended equipment, where all simulated piece characters in the formation arrangement include at least one of simulated piece characters displayed on the board and simulated piece characters that the robot account has not yet acquired.
[0146] Optionally, the method of pre-assigning recommended equipment to simulated piece characters may be pre-assigned in an exhaustive manner.
[0147] Optionally, the computing device assigns the recommended equipment to the simulated piece character if the recommended equipment belongs to the simulated piece character's first selection of equipment; If the recommended equipment does not belong to the simulated piece character's first selected equipment but belongs to the simulated piece character's second selected equipment, assign the recommended equipment to the simulated piece character; If the recommended equipment does not belong to the first selected equipment or the second selected equipment, an allocation score between the recommended equipment and the simulated piece character is calculated based on the character attribute value and the recommended equipment attribute value, and the recommended equipment is allocated to the simulated piece character with the highest allocation score.
[0148] The allocation score is a matching value calculated based on the recommended equipment attribute value of the recommended equipment and the character attribute value of the simulated piece character.
[0149] Here, the calculation formula for the allocation score can be expressed as follows: TIFF2025533965000008.tif5170 formula, TIFF2025533965000009.tif4170 is the allocation score, TIFF2025533965000010.tif3170 is the basic combat power of the simulated piece character, TIFF2025533965000011.tif5170 is the coefficient, TIFF2025533965000012.tif4170 is the attribute bonus value (also called character attribute value) of the simulated piece character, TIFF2025533965000013.tif4170 is the recommended equipment attribute amplification factor (also called the recommended equipment attribute value).
[0150] The recommended equipment attribute values are representative values obtained by analyzing the attributes and effects of the recommended equipment.
[0151] In a scenario where a candidate equipment item is selected as the recommended equipment item, the value of the recommended equipment attribute value is the same as the value of the candidate equipment attribute value.
[0152] For example, when a simulated piece character is displayed on the battle board, the corresponding simulated piece character is equipped with recommended equipment based on the pre-assignment result; When the simulated piece character is not displayed on the battle board, an attachment score of the recommended equipment and the simulated piece character is calculated based on a character attribute value corresponding to the simulated piece character and a recommended equipment attribute value corresponding to the recommended equipment, and the recommended equipment is attached to the simulated piece character with the highest attachment score.
[0153] Here, the calculation formula for the attachment score can be expressed as follows: TIFF2025533965000014.tif5170 formula, TIFF2025533965000015.tif4170 is the wearing score, TIFF2025533965000016.tif3170 is the basic combat power of the simulated piece character, TIFF2025533965000017.tif5170 is the coefficient, TIFF2025533965000018.tif4170 is the attribute bonus value (also called character attribute value) of the simulated piece character, TIFF2025533965000019.tif4170 is the recommended equipment attribute amplification factor (also called the recommended equipment attribute value).
[0154] For example, the computer device pre-assigns the selected recommended equipment to five simulated piece characters in the formation arrangement, and obtains a pre-assignment result in which the simulated piece characters are equipped with the recommended equipment. That is, the computer device pre-assigns based on the three acquired simulated piece characters and the two not acquired simulated piece characters. In the assignment, if the simulated piece character is displayed on the battle board, the computer device equips the corresponding simulated piece character with the acquired recommended equipment based on the pre-assignment result. If the simulated piece character is not displayed on the battle board, the computer device calculates an equipment score for the recommended equipment and the simulated piece character based on the character attribute value corresponding to the simulated piece character and the recommended equipment attribute value corresponding to the recommended equipment, and equips the simulated piece character with the recommended equipment with the highest equipment score.
[0155] For example, when equipment A is acquired, it is assigned to simulated piece character a according to the pre-allocation results, but at this point simulated piece character a has not been acquired on the battle board, so the equipment score between equipment A and each simulated piece character is calculated, and if simulated piece character b has the highest equipment score, it is determined that it is most suitable to equip equipment A on simulated piece character b at this point, so equipment A is equipped on simulated piece character b, but later, when simulated piece character a is acquired, equipment A equipped on simulated piece character b is equipped on simulated piece character a.
[0156] In the equipment arrangement method for simulated piece characters according to this embodiment, a computer device pre-assigns recommended equipment to all simulated piece characters in the formation based on the formation of the simulated piece characters, and equips the simulated piece characters with the recommended equipment based on the pre-assignment results. The present application pre-assigns recommended equipment collectively based on the formation of the simulated piece characters in the current game, and equips the simulated piece characters with the recommended equipment when the simulated piece characters meet the equipment requirements. This avoids the process of calculating the matching between new equipment and each simulated piece character each time new equipment is acquired, reducing the amount of calculation and the processing power consumption of the computer device. The pre-assignment mechanism in this application does not assign equipment entirely according to the pre-assignment results. Even with the same formation and recommended equipment, different arrangement results may occur depending on the order in which the recommended equipment and simulated piece characters appear in each game, ensuring sufficient diversity in equipment arrangement.
[0157] In summary, in the equipment arrangement method for simulated piece characters according to this embodiment, a computer device displays a battle board, the battle board includes at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, and displays recommended equipment corresponding to the simulated piece character in response to the formation arrangement of the simulated piece character in the current game, and displays the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment conditions. The present application collectively obtains recommended equipment corresponding to all simulated piece characters based on the formation arrangement of the simulated piece characters in the current game, and equips the simulated piece character with the recommended equipment when the simulated piece character satisfies the equipment conditions, thereby avoiding the process of calculating the matching between new equipment and each simulated piece character each time new equipment is obtained, reducing the amount of calculation and the processing power consumption of the computer device.
[0158] 5 is a flowchart of a method for arranging equipment for a simulated character piece according to an exemplary embodiment of the present application. This method can be performed by a computer device, which may be the terminal 100 or the server 200 of FIG. 2. This method includes the following steps:
[0159] Step 501: Start.
[0160] Step 502: Obtain candidate equipment sets. The candidate equipment set is a set that can be used by a robot account to make equipment selections, and the candidate equipment set includes equipment corresponding to simulated piece characters throughout the game. Exemplarily, the equipment includes a job change token and normal equipment. The candidate equipment set includes a job change token and normal equipment. The normal equipment is used to increase the attribute value of the simulated piece character and provide the simulated piece character with attribute gains. The job change token is used to change the job attribute of the simulated piece character (abbreviated as "token (reihai)"). Both the job change token and normal equipment can be equipment worn by the simulated piece character. Optionally, the simulated character can select and equip a job change token and / or regular equipment from the candidate equipment set.
[0161] Step 503: Calculate the priority of the candidate equipment in the candidate equipment set. Illustratively, when a computing device makes an equipment selection for a particular simulated piece character, the computing device traverses the candidate equipment in the candidate equipment set and calculates the priority of each candidate equipment for the simulated piece character.
[0162] Step 504: Are you one token away from completing a bond of level 2 or higher? The bond means that when one side of a game has several specific related simulated piece characters, a predetermined degree of attribute bonus is added to the corresponding simulated piece characters. The bond can be divided into various levels, and each level of bond corresponds to a predetermined number and type of simulated piece characters and adds a predetermined degree of attribute bonus to the simulated piece characters of that type. For example, if two or more of the Five Tiger Generals' imitation piece characters appear on either side of a game, the Five Tiger Generals' bond will be triggered. The bond effect is to increase the attack power of each of the Five Tiger Generals' imitation piece characters. Bonds are used to increase the strength of a team. Bonds include camp bonds and work-related bonds. For example, if "Piece Character Z" and "Piece Character G" appear on the same team at the same time, the team's attack speed will increase by 40%. As an example, if the candidate equipment is a "token," then if the "token" belongs to a situation where only that token is needed to achieve a bond of level 2 or higher with the simulated piece character, step 511 is executed; if the "token" does not belong to a situation where only that token is needed to achieve a bond of level 2 or higher with the simulated piece character, step 505 is executed.
[0163] Step 505: Whether the equipment is necessary for the simulated piece character at the target position or sub-target position. The target position is the center of the game board, abbreviated as position C. The sub-target position is a position near the center of the game board, and is abbreviated as the sub-C position. For example, if the "token" does not belong to a situation where only that token is needed to achieve a bond of level 2 or higher with the simulated piece character, it is determined whether the "token" belongs to the equipment required for the simulated piece character at the target position or sub-target position, and if the "token" belongs to the equipment required for the simulated piece character at the target position or sub-target position, step 511 is executed, and if the "token" does not belong to the equipment required for the simulated piece character at the target position or sub-target position, step 506 is executed.
[0164] Step 506: Are you one token away from completing a level 1 bond? A level 1 bond means that when one side of the game has a level 1 quantity and type of simulated piece characters, a level 1 attribute bonus is added to that type of simulated piece character. For example, if the "token" does not belong to the equipment required for the simulated piece character at the target position or sub-target position, it is determined whether the "token" belongs to a situation where only that token is needed to achieve a level 1 bond with the simulated piece character, and if the "token" belongs to a situation where only that token is needed to achieve a level 1 bond with the simulated piece character, step 511 is executed, and if the "token" does not belong to a situation where only that token is needed to achieve a level 1 bond with the simulated piece character, step 507 is executed.
[0165] Step 507: Equipment required for other mock piece characters. For example, if the "token" does not belong to a situation where only that token is needed to achieve a level 1 bond with the simulated piece character, it is determined whether the "token" belongs to equipment required by another simulated piece character, and if the other simulated piece character needs that "token", step 511 is executed, and if the other simulated piece character does not need that "token", step 508 is executed.
[0166] Step 508: Token worth using. For example, if the other simulated piece characters do not need the "token," it is determined whether the "token" is a token worth using, and if the "token" is a token worth using, step 511 is executed, and if the "token" is a token with no use value, step 509 is executed.
[0167] Step 509: Equipment worthless. For example, if the "token" is a token with no use value, it is determined whether the "token" is equipment with no use value, and if the "token" is equipment with no use value, step 511 is executed; if the "token" is equipment with use value, step 510 is executed.
[0168] Step 510: Tokens with no use value. For example, if the "token" is a piece of equipment with a usable value, it is determined whether the "token" is a token with no usable value, and if the "token" is a token with no usable value, step 511 is executed.
[0169] Step 511: Record the priority of the candidate equipment. Illustratively, the computing device records the priorities of the candidate equipment.
[0170] Step 512: Sorting is performed according to priority, and equipment with a high priority is selected. For example, the computer device sorts the equipment according to priority, and the equipment with the highest priority is recommended as equipment for the simulated piece character.
[0171] Step 513: End.
[0172] 6 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. This method can be performed by a computer device, which may be the terminal 100 or the server 200 of FIG. 2. This method includes the following steps:
[0173] Step 601: Start.
[0174] Step 602: Recommended equipment is obtained. For example, at the start of each turn, when new equipment is acquired or existing equipment of the simulated character is deleted, the computer device enters a pre-assignment process. The computer device acquires selected recommended equipment.
[0175] Step 603: Remove pre-assigned equipment. Illustratively, the computing device excludes assigned equipment from the recommended equipment and assigns unassigned equipment based on existing pre-assignment results.
[0176] Step 604: Whether it is a composite part of pre-assigned equipment. A composite part is a component that can be combined into one piece of equipment. Optionally, a composite part may be each element or part included in the combined equipment, or the composite part may be at least one piece of equipment, where the equipment level of the at least one piece of equipment is lower than the equipment level of the combined equipment. For example, when allocating, two small pieces of equipment can be combined into one large piece of equipment because there is a composite upgrade function between the pieces of equipment. Determine whether the current piece of equipment is a composite part of a pre-allocated piece of equipment, and if so, execute step 605; if not, execute step 606.
[0177] Step 605: Directly combine with the target equipment. If the current equipment is a composite part of pre-assigned equipment, the current equipment and the pre-assigned equipment are composited to obtain the target equipment.
[0178] Step 606: The recommended equipment is assigned to the target simulated piece character in the target lineup of the equipment. If the current equipment is not a composite part of the previously assigned equipment, the computer device assigns the equipment to a target simulated piece character in the equipment's target lineup, for example, to simulated piece character a in the first lineup.
[0179] Step 607: Whether the allocation was successful. It is determined whether the current equipment is assigned to the target simulated piece character, and if the current equipment is assigned to the target simulated piece character in the target lineup, step 610 is executed, and if the current equipment is not assigned to the target simulated piece character in the target lineup, step 608 is executed.
[0180] Step 608: The recommended equipment is assigned to the target simulated piece character. If the current equipment is not assigned to a target simulated piece character in the target lineup, the computer device assigns the current equipment to the target simulated piece character. It is determined whether the current equipment is assigned to the target simulated piece character, and if the current equipment is assigned to the target simulated piece character, step 610 is executed, and if the current equipment is not assigned to the target simulated piece character, step 609 is executed.
[0181] Step 609: Assign the target simulated piece character based on the assigned score. If the current equipment is not assigned to the target simulated piece character, the computer device calculates an assignment score between the recommended equipment and the simulated piece character based on the character attribute value and the recommended equipment attribute value, and the computer device assigns the recommended equipment to the simulated piece character with the highest assignment score based on the assignment score.
[0182] Step 610: End.
[0183] 7 is a flowchart of a method for arranging equipment for a simulated piece character according to an exemplary embodiment of the present application. This method can be performed by a computer device, which may be the terminal 100 or the server 200 of FIG. 2. This method includes the following steps:
[0184] Step 701: Start.
[0185] Step 702: Obtain the pre-allocation result. For example, the computer device pre-allocates the acquired recommended equipment, and then obtains a pre-allocation result in which the simulated piece character wears the recommended equipment.
[0186] Step 703: Equipment placement is performed based on the pre-allocation results. For example, the computer device equips each of the simulated character pieces in the formation with recommended equipment based on the pre-assignment results.
[0187] Step 704: Is the simulated piece character on the battle board? The computer device determines whether or not the simulated piece character in the formation arrangement is on the battle board, and if the simulated piece character is displayed on the battle board, executes step 705, and if the simulated piece character is not displayed on the battle board, executes step 708.
[0188] Step 705: Whether the simulated piece character has reached the target placement level. The target placement level is used to indicate the level of the simulated piece character. If the simulated piece character is displayed on the battle board, the simulated piece character is continuously judged to determine whether or not the simulated piece character has reached the target placement level, and if the simulated piece character has reached the target placement level, step 706 is executed, and if the simulated piece character has not reached the target placement level, step 708 is executed.
[0189] Step 706: Whether the simulated piece character is at the target position or sub-target position. The target position is the center of the game board, abbreviated as position C. The sub-target position is a position near the center of the game board, and is abbreviated as the sub-C position. If the simulated piece character reaches the target placement level, continue to determine whether the simulated piece character is at the target position or sub-target position, determine whether the simulated piece character is at the target position or sub-target position, if the simulated piece character is at the target position or sub-target position, execute step 707, if the simulated piece character is not at the target position or sub-target position, execute step 708.
[0190] Step 707: Based on the pre-allocation results, the simulated character is equipped with the recommended equipment. When the simulated piece character is at the target position or sub-target position, the computer device equips the simulated piece character with the recommended equipment based on the pre-assignment result.
[0191] Step 708: The attachment scores of all the simulated piece characters on the battle board are calculated. For example, if a simulated piece character is not displayed on the battle board, or if the simulated piece character has not reached the target placement level, or if the simulated piece character is not at the target position or sub-target position, the computer device calculates an attachment score for the recommended equipment and the simulated piece character based on the character attribute value corresponding to the simulated piece character and the recommended equipment attribute value corresponding to the recommended equipment.
[0192] Step 709: The simulated piece character with the highest equipment score is equipped with the recommended equipment. For example, the computer device equips the recommended equipment to the simulated piece character with the highest equipment score.
[0193] Step 710: End.
[0194] 8 shows a block diagram of an equipment arrangement device for a simulated character piece according to an exemplary embodiment of the present application. This device may be implemented as a whole or part of a computer device by software, hardware, or a combination of both. This device: a display module 801 for displaying a battle board, the battle board including at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, the robot account being an account of a non-existent player; The display module 801 is used to display recommended equipment corresponding to the simulated piece characters in response to the formation arrangement of the simulated piece characters in the current game, the formation arrangement including at least one of the simulated piece characters displayed on the battle board and the simulated piece characters that the robot account has not yet acquired, and the recommended equipment is recommended equipment obtained based on the simulated piece characters in the formation arrangement; The display module 801 is used to display the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment requirements.
[0195] The device further includes a selection module 802 for obtaining recommended equipment corresponding to the simulated piece character based on character attribute information of the simulated piece character in the formation arrangement and candidate equipment attribute information of the candidate equipment in the candidate equipment set; The formation arrangement is at least one of the name, type, quantity, and character attribute arrangement of the simulated piece characters set in this game, and the character attribute arrangement includes character attribute information.
[0196] In a possible implementation, the character attribute information includes a character attribute value, the candidate equipment attribute information includes a candidate equipment attribute value, and the selection module 802 is used to traverse the candidate equipment in the candidate equipment set and, if the candidate equipment belongs to the first selected equipment of the simulated piece character, determine the candidate equipment as recommended equipment corresponding to the simulated piece character, where the first selected equipment is equipment whose matching score with the simulated piece character in the current formation configuration is greater than a first threshold.
[0197] In a possible implementation, the selection module 802 is used to determine the candidate equipment as the recommended equipment corresponding to the simulated piece character if the candidate equipment does not belong to the simulated piece character's first selected equipment but belongs to the simulated piece character's second selected equipment, the second selected equipment being equipment whose matching score with the simulated piece character in the current formation configuration is greater than a second threshold.
[0198] In a possible implementation form, if the candidate equipment does not belong to the first selected equipment and the second selected equipment, the selection module 802 calculates a matching score between the candidate equipment and the simulated piece character based on the character attribute value and the candidate equipment attribute value, and is used to determine the candidate equipment with the highest matching score as the recommended equipment corresponding to the simulated piece character.
[0199] In a possible implementation, the character attribute information further includes equipment selection priority information for the simulated piece character, and the selection module 802 is used to sequentially select equipment from the candidate equipment set for the simulated piece character based on the equipment selection priority information for the simulated piece character.
[0200] The apparatus further comprises a pre-assignment module 803 for pre-assigning recommended equipment to the simulated piece characters based on the formation arrangement of the simulated piece characters, and obtaining a pre-assignment result in which the simulated piece characters are equipped with the recommended equipment.
[0201] In a possible implementation, the pre-assignment module 803 is used to equip the simulated piece character with recommended equipment based on the pre-assignment result when the simulated piece character meets the equipment condition.
[0202] In a possible implementation, the pre-assignment module 803 is used to traverse each simulated piece character in the formation arrangement and obtain a pre-assignment result in which the simulated piece character is equipped with recommended equipment based on the character attribute information of the simulated piece character and the recommended equipment attribute information of the recommended equipment.
[0203] In a possible implementation, the character attribute information includes a character attribute value, the recommended equipment attribute information includes a recommended equipment attribute value, and the pre-assignment module 803 is used to assign the recommended equipment to the simulated piece character if the recommended equipment belongs to the simulated piece character's first selected equipment.
[0204] In a possible implementation, the pre-assignment module 803 is used to assign recommended equipment to a simulated piece character if the recommended equipment does not belong to the simulated piece character's first selected equipment but belongs to the simulated piece character's second selected equipment.
[0205] In a possible implementation, if the recommended equipment does not belong to the first selected equipment and the second selected equipment, the pre-allocation module 803 is used to calculate an allocation score between the recommended equipment and the simulated piece character based on the character attribute value and the recommended equipment attribute value, and allocate the recommended equipment to the simulated piece character with the highest allocation score.
[0206] This device further includes an equipment module 804 for equipping the corresponding simulated piece character with recommended equipment based on the pre-assignment result when the simulated piece character is displayed on the battle board.
[0207] In a possible implementation, when a simulated piece character is not displayed on the battle board, the equipment module 804 is used to calculate an equipment score for the recommended equipment and the simulated piece character based on the character attribute value corresponding to the simulated piece character and the recommended equipment attribute value corresponding to the recommended equipment, and to equip the recommended equipment to the simulated piece character with the highest equipment score.
[0208] Note that specific limitations in the embodiments of the equipment arrangement device for one or more simulated character pieces provided above may refer to the limitations regarding the equipment arrangement method for simulated character pieces above, and will not be described again here. Each module of the above device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module may be built into the processor of a computer device in the form of hardware, or may be independent from the processor of a computer device, or may be stored in the memory of a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0209] 9 illustrates a structural block diagram of a computing device 900 according to an exemplary embodiment of the present application. The computing device 900 may be a smartphone, a tablet computer, a portable mobile terminal such as an MP3 (Moving Picture Experts Group Audio Layer III) player, or an MP4 (Moving Picture Experts Group Audio Layer IV) player. The computing device 900 may also be referred to by other names such as user equipment or portable terminal.
[0210] Typically, the computing device 900 comprises a processor 901 and a memory 902 .
[0211] The processor 901 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 901 may be implemented in the form of at least one hardware component selected from the group consisting of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 may include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state and is also called a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on a display panel. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.
[0212] The memory 902 may include one or more computer-readable storage media, which may be tangible and 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, flash memory storage devices, etc. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one command that is executed by the processor 901 to perform an equipment arrangement method for a simulated piece character according to an embodiment of the present application.
[0213] In some embodiments, computing device 900 may optionally further include a peripheral interface 903 and at least one peripheral device, such as at least one of a radio frequency circuit 904, a touch screen 905, a camera assembly 906, an audio circuit 907, and a power supply 908.
[0214] The peripheral interface 903 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral 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 interface 903 may be implemented on separate chips or circuit boards, although this embodiment is not limited thereto.
[0215] The radio frequency circuit 904 is used to transmit and receive RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with communication networks and other communication devices via the electromagnetic signals. The radio frequency circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 904 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, user identity module cards, etc. The radio frequency circuit 904 may 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 radio frequency circuitry 904 may include circuitry related to Near Field Communication (NFC), although this application is not limited thereto.
[0216] The touchscreen 905 is used to display a user interface (UI). The UI may include graphics, text, icons, video, and any combination thereof. The touchscreen 905 is further capable of collecting touch signals on or above the surface of the touchscreen 905. The touch signals may be input as control signals to the processor 901 for processing. The touchscreen 905 is used to provide virtual buttons and / or a virtual keyboard, also referred to as soft buttons and / or a soft keyboard. In some embodiments, the touchscreen 905 may be a single touchscreen provided on the front panel of the computing device 900. In some other embodiments, the touchscreen 905 may be at least two touchscreens, each on a different surface of the computing device 900 or in a folded configuration. In some embodiments, the touchscreen 905 may be a flexible screen provided on a curved or folded surface of the computing device 900. Furthermore, the touchscreen 905 may be a non-rectangular, irregularly shaped screen. The touch screen 905 may be manufactured by an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
[0217] The camera assembly 906 is used to collect images or videos. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is used to realize video calls or selfies, and the rear camera is used to realize photo or video capture. In some embodiments, there are at least two rear cameras, each of which is one of a main camera, a depth-of-field camera, and a wide-angle camera. The main camera and the depth-of-field camera are combined to realize a background blur function, and the main camera and the wide-angle camera are combined to realize a panoramic shooting and a virtual reality (VR) shooting function. In some embodiments, the camera assembly 906 may further include a flash lamp. The flash lamp may be a single-color temperature flash lamp or a two-color temperature flash lamp. The two-color temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used to compensate for light beams at different color temperatures.
[0218] The audio circuit 907 is used to provide an audio interface between the user and the computer device 900. 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, convert the sound waves into electrical signals, and input them to the processor 901 for processing or to the radio frequency circuit 904 for voice communication. For purposes of stereophonic collection or noise reduction, multiple microphones may be provided at different locations on the computer device 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 conventional thin-film speaker or a piezoelectric ceramic speaker. If the speaker is a piezoelectric ceramic speaker, it can convert electrical signals into sound waves that are audible to humans as well as into sound waves that are inaudible to humans for distance measurement, etc. In some embodiments, the audio circuit 907 may further include a headphone jack.
[0219] The power supply 908 is used to provide power to each component of the computing device 900. The power supply 908 may be AC, DC, a disposable battery, or a rechargeable battery. If the power supply 908 includes a rechargeable battery, the rechargeable battery may be a wired or wirelessly rechargeable battery. A wired rechargeable battery is a battery that is charged by a wired circuit, and a wirelessly rechargeable battery is a battery that is charged by a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0220] In some embodiments, the computing device 900 further includes one or more sensors 909, including, but not limited to, an acceleration sensor 910, a gyro sensor 911, a pressure sensor 912, an optical sensor 913, and a proximity sensor 914.
[0221] The acceleration sensor 910 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established by the computing device 900. For example, the acceleration sensor 910 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 901 can control the touch screen 905 to display the user interface in a horizontal view or a vertical view based on the gravitational acceleration signals collected by the acceleration sensor 910. The acceleration sensor 910 may also be used for games or for collecting user movement data.
[0222] The gyro sensor 911 can detect the orientation and rotation angle of the body of the computing device 900, and can cooperate with the acceleration sensor 910 to collect the user's 3D movements relative to the computing device 900. Based on the data collected by the gyro sensor 911, the processor 901 can realize functions such as movement sensing (such as changing the UI in response to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0223] The pressure sensor 912 may be provided on a side frame of the computer device 900 and / or under the touch screen 905. When the pressure sensor 912 is provided on the side frame of the computer device 900, it can detect a grip signal from the user with respect to the computer device 900 and use the grip signal to distinguish between left and right hands or perform shortcut operations. When the pressure sensor 912 is provided under the touch screen 905, it can control operable controls in the UI interface in response to a pressure operation by the user on the touch screen 905. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0224] The optical sensor 913 is used to collect the intensity of ambient light. In one embodiment, the processor 901 can control the display brightness of the touchscreen 905 according to the intensity of the ambient light collected by the optical sensor 913. Specifically, when the ambient light is strong, the display brightness of the touchscreen 905 is increased, and when the ambient light is weak, the display brightness of the touchscreen 905 is decreased. In another embodiment, the processor 901 can dynamically adjust the shooting parameters of the camera assembly 906 according to the intensity of the ambient light collected by the optical sensor 913.
[0225] The proximity sensor 914, also called a distance sensor, is typically provided on the front of the computing device 900. The proximity sensor 914 is used to collect the distance between the user and the front of the computing device 900. In one embodiment, when the proximity sensor 914 detects that the distance between the user and the front of the computing device 900 is gradually decreasing, the processor 901 controls the touchscreen 905 to switch from a screen-on state to a screen-off state, and when the proximity sensor 914 detects that the distance between the user and the front of the computing device 900 is gradually increasing, the processor 901 controls the touchscreen 905 to switch from a screen-off state to a screen-on state.
[0226] Those skilled in the art will appreciate that the structure shown in FIG. 9 is not intended to limit computing device 900, and that computing device 900 may include more or fewer components than those shown, may combine some components, or may employ a different arrangement of components.
[0227] An embodiment of the present application further provides a computer device including a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to execute the equipment arrangement method for a simulated piece character according to each of the embodiments of the above methods.
[0228] An embodiment of the present application further provides a computer-readable storage medium having stored thereon at least one computer program, which, when loaded and executed by a processor, performs the equipment arrangement method for a simulated piece character according to each of the embodiments of the above methods.
[0229] An embodiment of the present application further provides a computer program product including a computer program stored in a computer-readable storage medium, which is read from the computer-readable storage medium and executed by a processor of a computer device, causing the computer device to execute and realize the equipment arrangement method for simulated piece characters according to each of the above method embodiments.
[0230] It should be understood that specific embodiments of the present application refer to related data such as user data processing related to the user's identity or characteristics, such as data, history data, and images, and that when the above examples of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0231] It should be understood that "plurality" referred to herein means two or more than two. "And / or" is used to describe the relationship between related objects and indicates that three types of relationships may exist, for example, A and / or B can indicate three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0232] Those skilled in the art can understand that performing all or part of the steps in the above embodiments may be completed by hardware, or may be completed by instructing relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.
[0233] The above are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for arranging equipment for a simulated piece character, which is executed by a computer device, comprising: a step of displaying a battle board, the battle board including at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, the robot account being an account of a non-existent player; a step of displaying recommended equipment corresponding to the simulated piece character in response to a formation arrangement of the simulated piece character in the current game, the formation arrangement including at least one of the simulated piece character displayed on the battle board and a simulated piece character that the robot account has not yet acquired, and the recommended equipment being recommended equipment obtained based on the simulated piece character in the formation arrangement; a step of displaying the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment condition; Including how to arrange equipment for simulated piece characters.
2. The step of displaying recommended equipment corresponding to the simulated piece character in response to the formation arrangement of the simulated piece character in the current game includes: and a step of acquiring the recommended equipment corresponding to the simulated piece character based on character attribute information of the simulated piece character in the formation arrangement and candidate equipment attribute information of candidate equipment in the candidate equipment set, The method according to claim 1, wherein the formation arrangement is at least one of the name, type, quantity, and character attribute arrangement of the simulated piece characters set in the current game, and the character attribute arrangement includes the character attribute information.
3. The character attribute information includes a character attribute value, and the candidate equipment attribute information includes a candidate equipment attribute value. The step of acquiring the recommended equipment corresponding to the simulated piece character based on character attribute information of the simulated piece character in the formation arrangement and candidate equipment attribute information of candidate equipment in the candidate equipment set includes: a step of traversing the candidate equipment in the candidate equipment set, and determining the candidate equipment as the recommended equipment corresponding to the simulated piece character if the candidate equipment belongs to a first selected equipment of the simulated piece character, the first selected equipment being equipment whose matching score with the simulated piece character in a current formation arrangement is greater than a first threshold; a step of determining the candidate equipment as the recommended equipment corresponding to the simulated piece character when the candidate equipment does not belong to the first selected equipment of the simulated piece character but belongs to the second selected equipment of the simulated piece character, the second selected equipment being equipment whose matching score with the simulated piece character in the current formation arrangement is greater than a second threshold; The method of claim 2, further comprising the step of: if the candidate equipment does not belong to the first selected equipment or the second selected equipment, calculating a matching score between the candidate equipment and the simulated piece character based on the character attribute value and the candidate equipment attribute value; and determining the candidate equipment with the highest matching score as the recommended equipment corresponding to the simulated piece character.
4. The character attribute information further includes equipment selection priority information of the simulated piece character, and the method further comprises: The method according to claim 3, further comprising the step of sequentially selecting equipment from the candidate equipment set for the simulated piece character based on the equipment selection priority information of the simulated piece character.
5. The step of displaying the simulated piece character wearing the recommended equipment in response to the simulated piece character satisfying the equipment condition includes: a step of pre-allocating the recommended equipment to the simulated piece character based on the formation arrangement of the simulated piece character, and obtaining a pre-allocation result in which the simulated piece character wears the recommended equipment; A method according to any one of claims 1 to 4, further comprising a step of equipping the simulated piece character with the recommended equipment based on the pre-allocation result when the simulated piece character meets the equipment conditions.
6. The step of assigning the recommended equipment to the simulated piece character in advance based on the formation arrangement of the simulated piece character and obtaining a pre-assignment result of the recommended equipment being equipped to the simulated piece character includes: The method of claim 5, further comprising a step of traversing each of the simulated piece characters in the formation arrangement and obtaining the pre-assignment result in which the simulated piece character is equipped with the recommended equipment based on the character attribute information of the simulated piece character and the recommended equipment attribute information of the recommended equipment.
7. The character attribute information includes a character attribute value, and the recommended equipment attribute information includes a recommended attribute value. The step of acquiring the pre-assignment result of equipping the simulated piece character with the recommended equipment based on the character attribute information of the simulated piece character and the recommended equipment attribute information of the recommended equipment includes: If the recommended equipment belongs to the first selected equipment of the simulated piece character, assigning the recommended equipment to the simulated piece character; if the recommended equipment does not belong to the first selected equipment of the simulated piece character but belongs to the second selected equipment of the simulated piece character, assigning the recommended equipment to the simulated piece character; The method of claim 6, further comprising the step of: if the recommended equipment does not belong to the first selected equipment or the second selected equipment, calculating an allocation score between the recommended equipment and the simulated piece character based on the character attribute value and the recommended equipment attribute value, and allocating the recommended equipment to the simulated piece character with the highest allocation score.
8. When the simulated piece character satisfies the equipment condition, the step of equipping the simulated piece character with the recommended equipment based on the pre-allocation result includes: When the simulated piece character is displayed on the battle board, equipping the corresponding simulated piece character with the recommended equipment based on the pre-assignment result; The method according to claim 5, further comprising the step of: if the simulated piece character is not displayed on the battle board, calculating an attachment score for the recommended equipment and the simulated piece character based on the character attribute value corresponding to the simulated piece character and the recommended equipment attribute value corresponding to the recommended equipment, and equipping the recommended equipment to the simulated piece character with the highest attachment score.
9. An equipment arrangement device for a simulated piece character, a display module for displaying a battle board, the battle board including at least one simulated piece character, the simulated piece character being a piece character controlled by a robot account, the robot account being an account of a non-existent player; the display module is used to display recommended equipment corresponding to the simulated piece character in response to a formation arrangement of the simulated piece character in the current game, the formation arrangement including at least one of the simulated piece character displayed on the battle board and the simulated piece character that the robot account has not yet acquired, and the recommended equipment is recommended equipment obtained based on the simulated piece character in the formation arrangement; The display module is used to display the simulated piece character equipped with the recommended equipment in response to the simulated piece character satisfying the equipment conditions, and is an equipment arrangement device for a simulated piece character.
10. The apparatus further comprises a selection module; The selection module is used to obtain the recommended equipment corresponding to the simulated piece character based on character attribute information of the simulated piece character in the formation arrangement and candidate equipment attribute information of candidate equipment in the candidate equipment set; The device according to claim 9, wherein the formation arrangement is at least one of the name, type, quantity, and character attribute arrangement of the simulated piece characters set in the current game, and the character attribute arrangement includes the character attribute information.
11. The character attribute information includes a character attribute value, and the candidate equipment attribute information includes a candidate equipment attribute value. The selection module traverses the candidate equipment in the candidate equipment set, and if the candidate equipment belongs to a first selected equipment of the simulated piece character, determines the candidate equipment as the recommended equipment corresponding to the simulated piece character, and the first selected equipment is equipment whose matching score with the simulated piece character in the current formation arrangement is greater than a first threshold; If the candidate equipment does not belong to the first selected equipment of the simulated piece character but belongs to the second selected equipment of the simulated piece character, the candidate equipment is determined as the recommended equipment corresponding to the simulated piece character, and the second selected equipment is equipment whose matching score with the simulated piece character in the current formation arrangement is greater than a second threshold value; The device described in claim 10, wherein if the candidate equipment does not belong to the first selected equipment or the second selected equipment, a matching score between the candidate equipment and the simulated piece character is calculated based on the character attribute value and the candidate equipment attribute value, and the candidate equipment with the highest matching score is used to determine the recommended equipment corresponding to the simulated piece character.
12. The character attribute information further includes equipment selection priority information of the simulated piece character, The device according to claim 11 , wherein the selection module is used to sequentially select equipment from the candidate equipment set for the simulated piece character based on the equipment selection priority information of the simulated piece character.
13. The apparatus further comprises a pre-allocation module; the pre-allocation module pre-allocates the recommended equipment to the simulated piece character based on the formation arrangement of the simulated piece character, and obtains a pre-allocation result in which the simulated piece character is equipped with the recommended equipment; A device described in any one of claims 9 to 12, which is used to equip the simulated piece character with the recommended equipment based on the pre-allocation result when the simulated piece character meets the equipment conditions.
14. The device of claim 13, wherein the pre-assignment module is used to traverse each of the simulated piece characters in the formation arrangement and obtain the pre-assignment result based on character attribute information of the simulated piece character and recommended equipment attribute information of the recommended equipment.
15. The character attribute information includes a character attribute value, and the recommended equipment attribute information includes a recommended attribute value. The pre-assignment module assigns the recommended equipment to the simulated piece character if the recommended equipment belongs to a first selection of equipment of the simulated piece character; If the recommended equipment does not belong to the first selected equipment of the simulated piece character but belongs to the second selected equipment of the simulated piece character, assign the recommended equipment to the simulated piece character; The device described in claim 14, wherein if the recommended equipment does not belong to the first selected equipment or the second selected equipment, an allocation score between the recommended equipment and the simulated piece character is calculated based on the character attribute value and the recommended equipment attribute value, and the recommended equipment is used to allocate the recommended equipment to the simulated piece character with the highest allocation score.
16. The apparatus further comprises a mounting module; the equipment module, when the simulated piece character is displayed on the battle board, equips the corresponding simulated piece character with the recommended equipment based on the pre-assignment result; The device described in claim 13, wherein when the simulated piece character is not displayed on the battle board, an attachment score for the recommended equipment and the simulated piece character is calculated based on the character attribute value corresponding to the simulated piece character and the recommended equipment attribute value corresponding to the recommended equipment, and the device is used to attach the recommended equipment to the simulated piece character with the highest attachment score.
17. A computer device having a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to execute the equipment arrangement method for a simulated piece character described in any one of claims 1 to 8.
18. A computer-readable storage medium having stored thereon at least one computer program, the at least one computer program being loaded and executed by a processor to execute the equipment arrangement method for a simulated piece character described in any one of claims 1 to 8.
19. A computer program product including a computer program stored on a computer-readable storage medium, wherein the computer program is read from the computer-readable storage medium and executed by a processor of a computer device, causing the computer device to execute the equipment arrangement method for a simulated piece character described in any one of claims 1 to 8.
Citation Information
Patent Citations
Game equipment request method and device, server and storage medium
CN110052033A
Virtual object configuration method and device and virtual object display method and device
CN111701243A
Virtual equipment recommendation method and device, electronic equipment and storage medium
CN114722285A
Gaming interface and systems and methods for providing same
US20210213361A1