Interaction processing method and device in game, electronic equipment and storage medium
By providing sales controls on the game interface, players can directly sell virtual chess pieces through triggering operations, solving the problem of cumbersome sales operations and improving human-computer interaction efficiency.
Patent Information
- Application Number
- CN202510545957.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-07-01
AI Technical Summary
In the prior art, selling virtual chess pieces is complicated, resulting in low human-computer interaction efficiency, especially when the number of chess pieces is sold, the same operation needs to be repeatedly performed.
By providing sales controls on the graphical user interface, players allow the player to select target virtual chess pieces through triggering operations and directly execute the sales function when the preset event is triggered, simplifying the sales process.
It reduces the cumbersomeness of sales operations, improves human-computer interaction efficiency, reduces repetitive operations, and improves the convenience of selling virtual chess pieces.
Smart Images

Figure CN120227657A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more particularly, to an interaction processing method, apparatus, electronic device, and storage medium in a game. Background Art
[0002] Auto chess is a new type of board game. After both sides of the battle place the virtual objects they already have (usually called "virtual chess pieces") on the game scene (usually called "virtual chessboard"), the game application automatically controls the virtual objects to fight and outputs the battle result.
[0003] In the prior art, players can sell the virtual chess pieces on the virtual chessboard and obtain a corresponding number of gold coins. The ways to sell virtual chess pieces are usually the following two: One is that the player needs to manually drag the virtual chess piece to the designated area and release it to sell; the other is that the player clicks on the virtual chess piece and then clicks the "Sell" button in the pop-up panel to sell.
[0004] However, when the number of chess pieces to be sold is large, players need to repeatedly perform the same operation, which increases the complexity of the selling operation for players and reduces the human-computer interaction efficiency. Summary of the Invention
[0005] In view of this, the purpose of the present application is to provide an interaction processing method, apparatus, electronic device, and storage medium in a game to solve the problems of cumbersome selling operations and low human-computer interaction efficiency.
[0006] In a first aspect, an embodiment of the present application provides an interaction processing method in a game, which provides a graphical user interface through a terminal device, including:
[0007] Display a virtual chessboard and virtual chess pieces. The virtual chessboard includes a battle area and a preparation area, and the virtual chess pieces include first virtual chess pieces located in the battle area and / or second virtual chess pieces located in the preparation area;
[0008] In response to a trigger operation on a selling control displayed on the graphical user interface, select at least one target virtual chess piece from the first virtual chess pieces and / or the second virtual chess pieces;
[0009] In response to a preset event, perform the selling function corresponding to the selling control on at least one target virtual chess piece.
[0010] In a second aspect, an embodiment of the present application further provides an interaction processing apparatus in a game, which provides a graphical user interface through a terminal device. The apparatus includes:
[0011] A display module for displaying a virtual chessboard and virtual chess pieces. The virtual chessboard includes a battle area and a preparation area, and the virtual chess pieces include first virtual chess pieces located in the battle area and / or second virtual chess pieces located in the preparation area;
[0012] A selection module for selecting at least one target virtual chess piece from the first virtual chess pieces and / or the second virtual chess pieces in response to a trigger operation on a selling control displayed on a graphical user interface;
[0013] A selling module for performing a selling function corresponding to the selling control on at least one target virtual chess piece in response to a preset event.
[0014] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the interactive processing method in the game as described above are performed.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the interactive processing method in the game as described above are performed.
[0016] The embodiments of the present application bring the following beneficial effects:
[0017] An interactive processing method, device, electronic device, and storage medium in a game provided by an embodiment of the present application can select at least one target virtual chess piece through a trigger operation on a selling control and directly sell at least one target virtual chess piece when a preset event is triggered. When there are many virtual chess pieces to be sold, there is no need to repeatedly perform the same selling operation, reducing the complexity of the selling operation and improving the human-computer interaction efficiency. Compared with the interactive processing methods in games in the prior art, the problem of cumbersome selling operations and low human-computer interaction efficiency is solved.
[0018] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specific embodiments are given in conjunction with the accompanying drawings and are described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] To more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0020] Figure 1 The flowchart of the interaction processing method in the game provided by the embodiments of the present application is shown;
[0021] Figure 2 The schematic diagram of the graphical user interface provided by the embodiments of the present application is shown;
[0022] Figure 3 The schematic diagram of an interface for selecting a target virtual chess piece provided by the embodiments of the present application is shown;
[0023] Figure 4 The schematic diagram of another interface for selecting a target virtual chess piece provided by the embodiments of the present application is shown;
[0024] Figure 5 The schematic diagram of the second identifier provided by the embodiments of the present application is shown;
[0025] Figure 6 The schematic diagram of the first interface area provided by the embodiments of the present application is shown;
[0026] Figure 7 The schematic diagram of the structure of the interaction processing device in the game provided by the embodiments of the present application is shown;
[0027] Figure 8 The schematic diagram of the structure of the electronic device provided by the embodiments of the present application is shown. Detailed implementation manners
[0028] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Usually, the components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, every other embodiment obtained by those skilled in the art without creative efforts belongs to the scope of protection of the present application.
[0029] It should be noted that before the present application was proposed, Auto Chess was an emerging board game. After the two competing sides placed the virtual objects they already had (usually referred to as "virtual chess pieces") on the game scene (usually called the "virtual chessboard"), the game application would automatically control the virtual objects to engage in battles and output the battle results. In the prior art, players could sell the virtual chess pieces on the virtual chessboard to obtain a corresponding amount of gold coins. There were usually two ways to sell virtual chess pieces: One was that the player needed to manually drag the virtual chess piece to a designated area and release it to sell; the other was that the player clicked on the virtual chess piece and then clicked the "Sell" button in the pop-up panel to sell.
[0030] However, when the number of chess pieces to be sold was large, for the first way, the player needed to repeatedly perform the operation of selecting a virtual chess piece from the virtual chessboard, dragging it to the designated area, and then releasing it to sell; for the second way, the player needed to complete the sale of a virtual chess piece through two click operations. No matter which of the above ways was adopted, the player needed to repeatedly perform the same operation, which increased the operational complexity when selling virtual chess pieces and reduced the human-computer interaction efficiency.
[0031] The following explains the terms involved in the embodiments of the present application.
[0032] Graphical User Interface: It is a display format for the interface of communication between humans and computers, which allows users to use input devices such as a mouse or keyboard to manipulate the icons, labels, or menu options on the screen, and also allows users to manipulate the icons or menu options on the screen by performing touch operations on the touch screen of a touch terminal to select commands, start programs, or perform other tasks, etc.
[0033] Auto Chess: It is a general term for a type of electronic strategy board game. Its basic game rule is that the player draws chess pieces, selects combinations among different types of chess pieces, then arranges them on their own chessboard, and finally the system automatically battles with the chess pieces of other players until the player with surviving chess pieces at the end wins this round. The loser of each round will be deducted a certain amount of health, and this process is repeated multiple times until only one player among multiple players survives.
[0034] Virtual chessboard: It refers to the area in the self-play chess game interface for preparing for and conducting battles. It can be any one of a two-dimensional virtual chessboard, a 2.5D virtual chessboard, and a three-dimensional virtual chessboard, and this application does not limit it. The virtual chessboard is divided into a battle area and a preparation area. Among them, the battle area includes several battle squares of the same size, which are used to place the battle chess pieces during the battle; the preparation area includes several preparation squares, which are used to place the preparation chess pieces. The preparation chess pieces do not participate in the battle during the battle, but can be dragged and placed in the battle area during the preparation stage. Players can sell, put on the field, or retain the chess pieces in the preparation area, and there is an upper limit on the capacity of the chess pieces in the preparation area.
[0035] Virtual chess piece: It refers to the chess piece placed on the virtual chessboard in the self-play chess game, including the battle virtual chess piece and the preparation virtual chess piece. Among them, the battle virtual chess piece is the virtual chess piece located in the battle area, and the preparation virtual chess piece is the virtual chess piece located in the preparation area.
[0036] Gold coin: It is the basic resource (virtual resource) used to purchase chess pieces, upgrade, and refresh the store in the game. A fixed amount of basic gold coins and 12% interest of the current gold coins will be obtained per round. When winning or losing continuously, additional gold coin rewards will be obtained according to the number of consecutive wins or losses.
[0037] Attribute: According to the different types of virtual chess pieces, each virtual chess piece has different attributes. Different virtual chess pieces can have the same attribute, and the attributes include grades. Among them, the grade is the inherent attribute of the chess piece.
[0038] Grade: It refers to the inherent attribute of the virtual chess piece. According to the rarity and virtual skills of the virtual chess piece, the chess pieces can be divided into multiple grades. The purchase price and selling price of virtual chess pieces of different grades are different in the game store.
[0039] In an optional implementation manner, the interactive processing method in the game in one of the embodiments of the present disclosure can run on a local terminal device or a server. When the interactive processing method in the game runs on the server, the method can be implemented and executed based on a cloud interaction system. Among them, the cloud interaction system includes a server and a client device.
[0040] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game loading method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0041] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0042] In a possible implementation, an embodiment of the present invention provides an interaction processing method in a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0043] Based on this, an embodiment of the present application provides an interaction processing method in a game to reduce the complexity of sales operations and improve the efficiency of human-computer interaction.
[0044] See also Figure 1 , Figure 1 This is a flow chart of an interactive processing method in a game provided by an embodiment of the present application. Figure 1 As shown, the interactive processing method in the game provided by the embodiment of the present application includes:
[0045] Step S101, displaying a virtual chessboard and virtual chess pieces;
[0046] Step S102: In response to a trigger operation on the selling control displayed on the graphical user interface, select at least one target virtual chess piece from the first virtual chess piece and / or the second virtual chess piece;
[0047] Step S103: In response to a preset event, perform the selling function corresponding to the selling control on at least one target virtual chess piece.
[0048] The interactive processing method in the game provided by the embodiments of the present application can select at least one target virtual chess piece through a trigger operation on the selling control, and directly sell at least one target virtual chess piece when a preset event is triggered. When there are many virtual chess pieces to be sold, there is no need to repeatedly perform the same selling operation, reducing the complexity of the selling operation and improving the human-computer interaction efficiency, thus solving the problems of cumbersome selling operations and low human-computer interaction efficiency.
[0049] To facilitate the understanding of this embodiment, the following takes the application of the interactive processing method in the game to a terminal device as an example to separately describe the above exemplary steps provided by the embodiments of the present application.
[0050] In step S101, display a virtual chessboard and virtual chess pieces.
[0051] In this step, the virtual chessboard refers to the area in the auto chess game confrontation interface for preparing for and conducting the confrontation.
[0052] The virtual chessboard includes a confrontation area and a preparation area. The confrontation area includes several confrontation chess grids of the same size, which are used to place the confrontation chess pieces during the confrontation; the preparation area includes several preparation chess grids, which are used to place the preparation chess pieces, and the preparation chess pieces do not participate in the confrontation during the confrontation. Among them, the confrontation chess pieces and the preparation chess pieces are collectively referred to as virtual chess pieces.
[0053] The virtual chess piece is a virtual object on the virtual chessboard. The virtual chess piece can be a virtual character or a virtual prop. The virtual chess piece includes a confrontation virtual chess piece located in the confrontation area and / or a preparation virtual chess piece located in the preparation area. The confrontation virtual chess piece is also called the first virtual chess piece, and the preparation virtual chess piece is also called the second virtual chess piece.
[0054] The following refers to Figure 2 to introduce the virtual chessboard and virtual chess pieces.
[0055] Figure 2 shows a schematic diagram of the graphical user interface provided by the embodiments of the present application, as Figure 2As shown, a virtual chessboard 100 is displayed on the graphical user interface 10. The virtual chessboard 100 includes a battle area 110 and a preparation area 120. The virtual chess pieces 111 within the battle area 110 are battle virtual chess pieces, also known as the first virtual chess pieces, and the virtual chess pieces 121 within the preparation area 120 are preparation virtual chess pieces, also known as the second virtual chess pieces.
[0056] In addition, the preparation area 120 is the player's own preparation area. The player's own preparation area is located below the graphical user interface 10, and the opponent's preparation area is located above the graphical user interface 10. The player's own preparation area and the opponent's preparation area are arranged oppositely. The player and the opponent start a battle by moving the second virtual chess pieces within their respective preparation areas to the battle area.
[0057] In the preparation stage, the player can drag the second virtual chess piece from the preparation area to the battle area, thereby changing the second virtual chess piece into the first virtual chess piece. Or, the player can drag the first virtual chess piece from the battle area to the preparation area, thereby changing the first virtual chess piece into the second virtual chess piece. In addition, in the preparation stage or the battle stage, the player can also sell the virtual chess pieces in the battle area and / or the preparation area to obtain gold rewards. Different virtual chess pieces can be sold for different amounts of gold, and the selling price of each virtual chess piece is determined by the attributes of the virtual chess piece.
[0058] In step S102, in response to a trigger operation on the selling control displayed on the graphical user interface, at least one target virtual chess piece is selected from the first virtual chess pieces and / or the second virtual chess pieces.
[0059] In this step, the trigger operation may refer to the operation of the player triggering the selling control. As an example, the trigger operation can be a click operation on the selling control.
[0060] The selling control may refer to a control used to sell virtual chess pieces. Selling virtual chess pieces can obtain corresponding virtual resources, and the virtual resources may refer to gold or other virtual currencies.
[0061] The selling control is located on the graphical user interface, and the player can sell the selected virtual chess pieces by triggering the selling control. Among them, the virtual chess pieces selected by the player can be at least one of the first virtual chess pieces and / or the second virtual chess pieces. The virtual chess pieces selected by the player to be sold are called target virtual chess pieces.
[0062] The target virtual chess piece may refer to the virtual chess piece to be sold. The target virtual chess piece can be the first virtual chess piece or the second virtual chess piece.
[0063] In the embodiments of the present application, the target virtual chess piece can be selected by at least one of the following methods.
[0064] One way is to evaluate the piece attributes of the first virtual piece and / or the second virtual piece in response to a trigger operation, and select at least one target virtual piece based on the piece attribute evaluation result.
[0065] Exemplarily, a virtual piece evaluation model has been constructed in advance. After the player clicks the sell control and the finger leaves the phone screen, the sell function corresponding to the sell control is triggered, and the game enters the first piece selling mode. In the first piece selling mode, the player can only operate on the selling window. At this time, the system selects at least one target virtual piece from the first virtual piece and / or the second virtual piece on the virtual chessboard based on the virtual piece evaluation model.
[0066] Among them, the virtual piece evaluation model can be a neural network model trained through a historical data set. This virtual piece evaluation model is used to evaluate the attribute value of the first virtual piece and / or the second virtual piece, and select the virtual piece with a low attribute value as the target virtual piece to be sold.
[0067] During the use of the virtual piece evaluation model, the virtual piece evaluation model will obtain the information of the virtual pieces on the virtual chessboard in real time. The information of the virtual pieces includes the attributes, states, and positions of the virtual pieces, and feature extraction is performed on each virtual piece. For example: the level, grade, attack power, defense power, skill damage, and purchase price of the virtual piece. Then, the weighted scoring method is used to assign different weights to different features. For example, a piece with a high grade may get a higher score. In addition, if a certain virtual piece can no longer adapt to the current game environment or the combination formed by the virtual pieces, its score will be reduced. At the same time, when it is detected that a new virtual piece is added to the virtual chessboard or the state of an existing virtual piece on the virtual chessboard changes, the virtual piece evaluation model will be called to re-evaluate the value of the virtual piece.
[0068] For example: after the player clicks the sell control, the sell function is triggered. At this time, the virtual piece evaluation model will evaluate the attribute value of all the virtual pieces on the virtual chessboard, arrange all the virtual pieces in ascending order of attribute value, and select the preset number of virtual pieces with the top rankings as the target virtual pieces.
[0069] In an example, after selecting the target virtual piece through the trigger operation, a selling window corresponding to the sell control is provided on the graphical user interface to display at least one target virtual piece selected based on the piece value evaluation result in the selling window, and update the presentation form of the target virtual piece on the virtual chessboard from the first presentation form to the second presentation form.
[0070] Among them, the first presentation form is used to represent the presentation form when the virtual chess piece is not selected as the virtual chess piece to be sold, and the second presentation form is used to represent the presentation form when the virtual chess piece is selected as the virtual chess piece to be sold. The first presentation form and the second presentation form are different presentation forms. As an example, the difference between the first presentation form and the second presentation form can be different colors. For example: The virtual chess piece is displayed on the virtual chessboard through a 3D model. When the virtual chess piece is an ordinary virtual chess piece, it is presented in the color of the 3D model itself. At this time, the presentation form of the virtual chess piece is the first presentation form; when the virtual chess piece is a virtual chess piece to be sold, the color of the 3D model is changed or particle effects are added on the basis of the color of the 3D model itself for presentation. At this time, the presentation form of the virtual chess piece is the second presentation form.
[0071] The following refers to Figure 3 to introduce the process of selecting the target virtual chess piece through the trigger operation.
[0072] Figure 3 FIG. shows a schematic diagram of an interface for selecting a target virtual chess piece provided by an embodiment of the present application. As Figure 3 shown, a selling control 200 is displayed on the graphical user interface 10. After the player triggers the selling control 200 through a trigger operation, a selling window 300 is provided on the graphical user interface 10. Three target virtual chess pieces are displayed in the selling window 300, namely the virtual chess piece 111, the virtual chess piece 122, and the virtual chess piece 123 on the virtual chessboard. At the same time, the presentation form of these target virtual chess pieces on the virtual chessboard is updated from the first presentation form to the second presentation form. In Figure 3 it is represented by the change from black to gray to indicate the change in the presentation form.
[0073] Another way is to select the first virtual chess piece and / or the second virtual chess piece passed by the movement track of the drag operation as at least one target virtual chess piece in response to the drag operation after the trigger operation.
[0074] Exemplarily, after the player clicks the selling control and drags a finger on the mobile phone screen, the selling function corresponding to the selling control is triggered, and the game enters the second chess piece selling mode. In the second chess piece selling mode, the drag operation on the mobile phone screen is only used to select and sell the target virtual chess piece, and other controls or functions will not be triggered by the drag operation. If the drag operation moves to the response area where the unselected first virtual chess piece and / or the second virtual chess piece is located, the virtual chess piece is taken as the target virtual chess piece, and the presentation form of the virtual chess piece on the virtual chessboard is updated from the first presentation form to the second presentation form; if the drag operation moves to the response area where the target virtual chess piece is located, the virtual chess piece is cancelled as the target virtual chess piece; the presentation form of the virtual chess piece on the virtual chessboard is updated from the second presentation form to the first presentation form.
[0075] For example, taking the terminal device as a mobile phone, the triggering operation can be a click operation on the selling control. After the player clicks on the selling control, the finger does not move away from the mobile phone screen but continues to perform a dragging operation on the mobile phone screen. For the sake of easy understanding, the virtual chess pieces not selected by the dragging operation are called ordinary virtual chess pieces, and the virtual chess pieces selected by the dragging operation are called virtual chess pieces to be sold. When the current position of the dragging operation coincides with the response area where the ordinary virtual chess piece is located on the virtual chessboard, the ordinary virtual chess piece at the coincidence position is taken as the target virtual chess piece, that is, when the moving track of the dragging operation passes through the ordinary virtual chess piece, the ordinary virtual chess piece becomes a virtual chess piece to be sold. In addition, when the current position of the dragging operation coincides with the response area where the virtual chess piece to be sold is located on the virtual chessboard, cancel taking the virtual chess piece to be sold at the coincidence position as the target virtual chess piece, that is, when the moving track of the dragging operation passes through the virtual chess piece to be sold, the virtual chess piece to be sold becomes an ordinary virtual chess piece.
[0076] Similarly, for the convenience of the player to view which virtual chess pieces are selected as virtual chess pieces to be sold, the presentation form of the virtual chess piece at the coincidence position on the virtual chessboard can be updated from the first presentation form to the second presentation form.
[0077] The following refers to Figure 4 to introduce the process of selecting the target virtual chess piece through the dragging operation.
[0078] Figure 4 Fig. shows another schematic diagram of the interface for selecting the target virtual chess piece provided by the embodiment of the present application. As Figure 4 shown, a selling control 200 is displayed on the graphical user interface 10. After the player triggers the selling control 200 through the triggering operation, the player continues to perform a dragging operation on the graphical user interface 10. The moving track of the dragging operation sequentially passes through the response areas of the virtual chess piece 111, the virtual chess piece 122, and the virtual chess piece 112. Thus, the virtual chess piece 111, the virtual chess piece 122, and the virtual chess piece 112 are determined as the target virtual chess pieces. At the same time, the presentation forms of these virtual chess pieces on the virtual chessboard are updated from the first presentation form to the second presentation form. In Figure 4 it is represented by the change from black to gray for the change of the presentation form.
[0079] In addition, if the moving track of the dragging operation passes through the virtual chess piece 111, the virtual chess piece 122, and the virtual chess piece 112 and then passes through the response area of the virtual chess piece 111 again, cancel taking the virtual chess piece 111 as the target virtual chess piece. At this time, only the virtual chess piece 122 and the virtual chess piece 112 are the target virtual chess pieces.
[0080] In one example, to better reflect the current position of the drag operation, in response to the drag operation, a first identifier for indicating the current position of the drag operation is provided on the graphical user interface.
[0081] Exemplarily, the first identifier may be the control identifier of the selling control that moves following the drag operation, or the first identifier may also be a straight line connecting the starting point at the position of the selling control and the ending point at the current position of the drag operation. The first identifier can indicate the current position of the player's drag operation, thereby helping the player to more accurately select the target virtual chess piece.
[0082] It should be noted that when the drag operation ends, the provision of the first identifier is cancelled on the graphical user interface. For example, when the player's finger leaves the mobile phone screen, the first identifier is no longer displayed on the graphical user interface.
[0083] In one example, since the drag operation may select multiple target virtual chess pieces, to better show the selection process of the target virtual chess pieces to the player, the selection order among the multiple target virtual chess pieces can be marked on the graphical user interface.
[0084] Exemplarily, in response to the drag operation, a second identifier for characterizing the selection order among the multiple target virtual chess pieces is provided on the graphical user interface. The second identifier includes a line identifier for sequentially connecting the multiple target virtual chess pieces according to the selection order, and / or a digital identifier for marking the multiple target virtual chess pieces according to the selection order.
[0085] For example: taking the position where the selling control is located as the starting point, using a curve as the line identifier, and sequentially connecting each target virtual chess piece with the curve according to the selection order, or using numbers as the digital identifier, marking the first selected target virtual chess piece as 1, marking the second selected target virtual chess piece as 2, and so on, marking each target virtual chess piece sequentially according to the selection order.
[0086] The following refers to Figure 5 to introduce the second identifier.
[0087] Figure 5 shows a schematic diagram of the second identifier provided by the embodiment of the present application, as Figure 5As shown, a total of three target virtual chess pieces are selected on the graphical user interface 10, which are virtual chess piece 111, virtual chess piece 122, and virtual chess piece 112 in the order of selection. These three target virtual chess pieces and the selling control are sequentially connected by line identifiers 131, line identifier 132, and line identifier 133. Among them, line identifier 131 connects the selling control 200 to virtual chess piece 111, line identifier 132 connects virtual chess piece 111 to virtual chess piece 122, and line identifier 133 connects virtual chess piece 122 to virtual chess piece 112. In addition, these three target virtual chess pieces are marked with digital identifiers in the order of selection. Digital identifier 141 marks virtual chess piece 111, digital identifier 142 marks virtual chess piece 122, and digital identifier 143 marks virtual chess piece 112.
[0088] Optionally, in order to prompt the selling rewards of the target virtual chess pieces in real time, when a target virtual chess piece is selected or deselected, a prompt message for representing the current execution result of the selling function can be provided on the graphical user interface.
[0089] For example: when a player newly selects a virtual chess piece as a target virtual chess piece through a drag operation, calculate the total number of gold coins that can be obtained after all target virtual chess pieces are sold, and prompt the total number of gold coins on the graphical user interface through a prompt message. At the same time, when a player cancels a target virtual chess piece through a drag operation, for example: the number of target virtual chess pieces changes from three to two, then calculate the total number of gold coins that can be obtained after these two target virtual chess pieces are sold, and prompt the total number of gold coins that can be obtained after the two target virtual chess pieces are sold on the graphical user interface through a prompt message.
[0090] In step S103, in response to a preset event, perform the selling function corresponding to the selling control on at least one target virtual chess piece.
[0091] In this step, the graphical user interface includes a first interface area for responding to a trigger operation on the selling control and a second interface area other than the first interface area.
[0092] Next, refer to Figure 6 to introduce the first interface area and the second interface area.
[0093] Figure 6 shows a schematic diagram of the first interface area provided by an embodiment of the present application. As Figure 6 shown, a selling control 200 is displayed on the graphical user interface 10. The response area of the selling control 200 (the area corresponding to the dotted part in the figure) is the first interface area 400, and the other areas in the graphical user interface except the first interface area 400 are the second interface areas.
[0094] In one example, the preset event includes triggering a confirmation control in the selling window, and / or the termination position of the dragging operation is within the second interface area.
[0095] Exemplarily, in the first virtual chess piece selling mode, the preset event includes triggering a confirmation control in the selling window. That is, when the player clicks the confirmation control in the selling window, all target virtual chess pieces displayed in the selling window are sold. Since the target virtual chess pieces have been sold at this time, the target virtual chess pieces are no longer provided in the virtual chessboard, the first virtual chess piece selling mode ends, and gold coins corresponding to the sold target virtual chess pieces are issued. Additionally, when the player clicks the cancel control in the selling window, the selling window is closed and the first virtual chess piece selling mode ends, and no virtual chess pieces are sold at this time.
[0096] In the second virtual chess piece selling mode, the preset event includes that the termination position of the dragging operation is within the second interface area. That is, when the player's dragging operation ends within the second interface area, all target virtual chess pieces selected by the dragging operation are sold. Since the target virtual chess pieces have been sold at this time, the target virtual chess pieces are no longer provided in the virtual chessboard, the second virtual chess piece selling mode ends, and gold coins corresponding to the sold target virtual chess pieces are issued. The termination position of the dragging operation may refer to the position where the finger leaves the mobile phone screen. If the player does not want to sell virtual chess pieces, the player can end the dragging operation to achieve this. For example, in response to the termination position of the dragging operation being within the first interface area, the selection of the target virtual chess pieces is cancelled. At this time, the player ends the dragging operation within the response area of the selling control, and the finger leaves the mobile phone screen within the response area of the selling control, then the second virtual chess piece selling mode ends, and all target virtual chess pieces become ordinary virtual chess pieces, and no virtual chess pieces are sold at this time.
[0097] Based on the same inventive concept, an interactive processing device in a game corresponding to the interactive processing method in the game is further provided in an embodiment of the present application. Since the principle of solving problems by the device in the embodiment of the present application is similar to that of the above-mentioned interactive processing method in the game in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0098] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of an interactive processing device in a game provided by an embodiment of the present application. As Figure 7 shown in
[0099] a display module 501, configured to display a virtual chessboard and virtual chess pieces. The virtual chessboard includes a battle area and a preparation area, and the virtual chess pieces include first virtual chess pieces located in the battle area and / or second virtual chess pieces located in the preparation area;
[0100] A selection module 502, configured to select at least one target virtual chess piece from the first virtual chess piece and / or the second virtual chess piece in response to a trigger operation on a selling control displayed on a graphical user interface;
[0101] A selling module 503, configured to perform a selling function corresponding to the selling control on at least one target virtual chess piece in response to a preset event.
[0102] In a feasible implementation of the present application, the selection module 502 includes a first selection module and a second selection module. The first selection module is configured to: in response to the trigger operation, evaluate the piece attributes of the first virtual chess piece and / or the second virtual chess piece, and select at least one target virtual chess piece based on the piece attribute evaluation result, and / or, the second selection module is configured to: in response to a dragging operation after the trigger operation, select the first virtual chess piece and / or the second virtual chess piece through which the movement trajectory of the dragging operation passes as at least one target virtual chess piece.
[0103] In a feasible implementation of the present application, the second selection module is specifically configured to: if the dragging operation moves to a response area where an unselected first virtual chess piece and / or second virtual chess piece is located, use the virtual chess piece as a target virtual chess piece; update the presentation form of the virtual chess piece on the virtual chessboard from a first presentation form to a second presentation form.
[0104] In a feasible implementation of the present application, the interactive processing device 500 in the game further includes a piece deselection module, and the piece deselection module is configured to: if the dragging operation moves to a response area where a target virtual chess piece is located, cancel using the virtual chess piece as a target virtual chess piece; update the presentation form of the virtual chess piece on the virtual chessboard from a second presentation form to a first presentation form.
[0105] In a feasible implementation of the present application, the interactive processing device 500 in the game further includes a window display module, and the window display module is configured to: provide a selling window corresponding to the selling control on the graphical user interface to display at least one target virtual chess piece selected based on the piece value evaluation result in the selling window; update the presentation form of the target virtual chess piece on the virtual chessboard from a first presentation form to a second presentation form.
[0106] In a feasible implementation of the present application, the graphical user interface includes a first interface area for responding to a trigger operation on the selling control and a second interface area other than the first interface area. The preset event includes: triggering a confirmation control in the selling window, and / or, the termination position of the dragging operation is within the second interface area.
[0107] In a feasible implementation of the present application, the interaction processing device 500 in the game further includes an end-sale module, and the end-sale module is configured to: cancel the selection of the target virtual chess piece in response to the termination position of the dragging operation being within the first interface area.
[0108] In a feasible implementation of the present application, the interaction processing device 500 in the game further includes an identification display module, and the identification display module is configured to: in response to the dragging operation, provide a first identification for indicating the current position of the dragging operation and / or a second identification for characterizing the selection order among multiple target virtual chess pieces on the graphical user interface.
[0109] In a feasible implementation of the present application, the second identification includes a line identification for sequentially connecting multiple target virtual chess pieces according to the selection order and / or a digital identification for marking multiple target virtual chess pieces according to the selection order.
[0110] In a feasible implementation of the present application, the interaction processing device 500 in the game further includes a chess piece cancellation module, and the chess piece cancellation module is configured to: cancel the provision of the target virtual chess piece in the virtual chessboard.
[0111] In a feasible implementation of the present application, the first selection module is specifically configured to: construct a virtual chess piece evaluation model; and select at least one target virtual chess piece from the first virtual chess piece and / or the second virtual chess piece based on the virtual chess piece evaluation model.
[0112] In a feasible implementation of the present application, the interaction processing device 500 in the game further includes a sale prompt module, and the sale prompt module is configured to: provide prompt information for characterizing the current execution result of the sale function on the graphical user interface when selecting or canceling the target virtual chess piece.
[0113] The interaction processing device in the game provided by the embodiments of the present application can select at least one target virtual chess piece through a trigger operation on the sale control and directly sell at least one target virtual chess piece when a preset event is triggered. When there are many virtual chess pieces to be sold, there is no need to repeatedly execute the same selling operation, reducing the complexity of the selling operation and improving the human-computer interaction efficiency, and solving the problems of cumbersome selling operation and low human-computer interaction efficiency.
[0114] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of an electronic device provided by the embodiments of the present application. As Figure 8 shown in
[0115] The memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 runs, the processor 610 communicates with the memory 620 via the bus 630. When the machine-readable instructions are executed by the processor 610, the steps of the interactive processing method in the game in the method embodiment as described above can be executed. The specific implementation manner is as follows: Figure 1 The steps of the interactive processing method in the game in the method embodiment shown as above are as follows:
[0116] Provide a graphical user interface through the terminal device to display a virtual chessboard and virtual chess pieces. The virtual chessboard includes a battle area and a preparation area, and the virtual chess pieces include first virtual chess pieces located in the battle area and / or second virtual chess pieces located in the preparation area; in response to a trigger operation on the selling control displayed on the graphical user interface, select at least one target virtual chess piece from the first virtual chess pieces and / or the second virtual chess pieces; in response to a preset event, execute the selling function corresponding to the selling control on the at least one target virtual chess piece.
[0117] The electronic device provided by the embodiment of the present application can select at least one target virtual chess piece through a trigger operation on the selling control, and directly sell the at least one target virtual chess piece when a preset event is triggered. When there are many virtual chess pieces to be sold, there is no need to repeatedly execute the same selling operation, reducing the complexity of the selling operation and improving the human-computer interaction efficiency, and solving the problems of cumbersome selling operation and low human-computer interaction efficiency.
[0118] The embodiment of the present application also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the interactive processing method in the game in the method embodiment as described above can be executed. The specific implementation manner is as follows: Figure 1 The steps of the interactive processing method in the game in the method embodiment shown as above are as follows:
[0119] Provide a graphical user interface through the terminal device to display a virtual chessboard and virtual chess pieces. The virtual chessboard includes a battle area and a preparation area, and the virtual chess pieces include first virtual chess pieces located in the battle area and / or second virtual chess pieces located in the preparation area; in response to a trigger operation on the selling control displayed on the graphical user interface, select at least one target virtual chess piece from the first virtual chess pieces and / or the second virtual chess pieces; in response to a preset event, execute the selling function corresponding to the selling control on the at least one target virtual chess piece.
[0120] The computer-readable storage medium provided by the embodiment of the present application can select at least one target virtual chess piece through a trigger operation on the selling control, and directly sell the at least one target virtual chess piece when a preset event is triggered. When there are many virtual chess pieces to be sold, there is no need to repeatedly execute the same selling operation, reducing the complexity of the selling operation and improving the human-computer interaction efficiency, and solving the problems of cumbersome selling operation and low human-computer interaction efficiency.
[0121] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0122] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0123] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0124] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0125] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0126] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present application can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or make equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for interactive processing in a game, characterized in that: Provides a graphical user interface through terminal devices, including: Display a virtual chessboard and virtual chess pieces, wherein the virtual chessboard includes a battle area and a battle preparation area, and the virtual chess pieces include a first virtual chess piece located in the battle area and / or a second virtual chess piece located in the battle preparation area; In response to a trigger operation on the selling control displayed on the graphical user interface, selecting at least one target virtual chess piece from the first virtual chess piece and / or the second virtual chess piece; In response to a preset event, a selling function corresponding to the selling control is executed on the at least one target virtual chess piece.
2. The method according to claim 1, characterized in that The selecting at least one target virtual chess piece from the first virtual chess piece and / or the second virtual chess piece in response to the triggering operation on the selling control displayed on the graphical user interface comprises: In response to the trigger operation, evaluating the properties of the first virtual chess piece and / or the second virtual chess piece, selecting at least one target virtual chess piece based on the evaluation result of the properties of the chess pieces, And / or, in response to the drag operation after the trigger operation, the first virtual chess piece and / or the second virtual chess piece passed by the moving track of the drag operation is selected as at least one target virtual chess piece.
3. The method according to claim 2, characterized in that In response to the drag operation after the trigger operation, selecting the first virtual chess piece and / or the second virtual chess piece passed by the moving track of the drag operation as at least one target virtual chess piece, including: If the dragging operation moves to the response area where the first virtual chess piece and / or the second virtual chess piece that has not been selected is located, the virtual chess piece is used as the target virtual chess piece; The presentation form of the virtual chess piece on the virtual chessboard is updated from a first presentation form to a second presentation form.
4. The method according to claim 3, characterized in that Also includes: If the dragging operation moves to the response area where the target virtual chess piece is located, canceling the virtual chess piece as the target virtual chess piece; The presentation form of the virtual chess piece on the virtual chessboard is updated from the second presentation form to the first presentation form.
5. The method according to claim 2, characterized in that: After selecting at least one target virtual chess piece based on the chess piece attribute evaluation result, the method further includes: Providing a selling window corresponding to the selling control on the graphical user interface, so as to display at least one target virtual chess piece selected based on the chess piece value evaluation result in the selling window; The presentation form of the target virtual chess piece on the virtual chessboard is updated from a first presentation form to a second presentation form.
6. The method according to claim 5, characterized in that The graphical user interface includes a first interface area for responding to a trigger operation on the selling control and a second interface area other than the first interface area, and the preset event includes: triggering a confirmation control in the selling window, and / or the termination position of the dragging operation is within the second interface area.
7. The method according to claim 6, characterized in that Also includes: In response to the termination position of the dragging operation being within the first interface area, the target virtual chess piece is deselected.
8. The method according to claim 2, characterized in that: Also includes: In response to the dragging operation, a first mark for indicating a current position of the dragging operation and / or a second mark for representing a selection order among a plurality of target virtual chess pieces are provided on the graphical user interface.
9. The method according to claim 8, characterized in that The second identifier includes a line identifier for sequentially connecting the multiple target virtual chess pieces according to the selection order, and / or a digital identifier for marking the multiple target virtual chess pieces according to the selection order.
10. The method according to claim 1, characterized in that After executing the selling function corresponding to the selling control on the at least one target virtual chess piece in response to a preset event, the method further includes: The target virtual chess piece is canceled from being provided in the virtual chess board.
11. The method according to claim 2, characterized in that Evaluating the chess piece value of the first virtual chess piece and / or the second virtual chess piece, and selecting at least one target virtual chess piece based on the chess piece value evaluation result, comprises: Construct a virtual chess piece evaluation model; Based on the virtual chess piece evaluation model, the at least one target virtual chess piece is selected from the first virtual chess piece and / or the second virtual chess piece.
12. The method according to claim 3, characterized in that Also includes: When a target virtual chess piece is selected or a target virtual chess piece is cancelled, prompt information for representing the current execution result of the selling function is provided on the graphical user interface.
13. An interactive processing device in a game, characterized in that: Provides a graphical user interface through terminal devices, including: A display module, used for displaying a virtual chessboard and virtual chess pieces, wherein the virtual chessboard includes a battle area and a preparation area, and the virtual chess pieces include a first virtual chess piece located in the battle area and / or a second virtual chess piece located in the preparation area; a selection module, configured to select at least one target virtual chess piece from the first virtual chess piece and / or the second virtual chess piece in response to a trigger operation on the selling control displayed on the graphical user interface; The selling module is used to execute the selling function corresponding to the selling control on the at least one target virtual chess piece in response to a preset event.
14. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the interactive processing method in the game as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the interactive processing method in the game as described in any one of claims 1 to 12 are executed.