Chessboard interaction method and device in virtual scene, equipment and storage medium
By realizing multi-chessboard interaction and dynamic interactive event response in virtual scenes, the problem of single interaction methods in the existing technology is solved, and the diversity and fun of virtual chessboard interaction are improved.
Patent Information
- Application Number
- CN202311368153.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2025-04-22
AI Technical Summary
The chessboard interaction technology in the existing virtual scenes is relatively single, and the lack of rich interactive methods leads to insufficient diversity of gameplay.
By displaying the virtual boards of multiple checkerboards in a virtual scene and responding to the trigger conditions of the interaction event during the interaction process, determine the target board and the interaction mode, and change the status or position of the target piece associated with the target board.
It increases the uncertainty of interactive gameplay during the interaction process, enriches the chessboard interaction methods, and improves the diversity of gameplay and the utilization rate of hardware resources.
Smart Images

Figure CN119857265A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to human-computer interaction technology, and in particular to a chessboard interaction method, device, equipment and storage medium in a virtual scene. Background Art
[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in the virtual scene of games, it can simulate the real battle process between virtual characters.
[0003] Taking the virtual scene of Auto Chess as an example, Auto Chess is a game mode in which players place chess pieces to play games, but this game mode in related technologies is mostly chess piece-related mechanisms. During the battle, the chess pieces of Auto Chess are in an independent chessboard to fight, but this is limited to the interaction between different chess pieces, and the form of interaction is relatively simple. Summary of the invention
[0004] The embodiments of the present application provide a chessboard interaction method, device, electronic device, computer-readable storage medium and computer program product in a virtual scene, which can enrich the interaction mode.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The embodiment of the present application provides a chessboard interaction method in a virtual scene, comprising:
[0007] In the interface of the virtual scene, a virtual chessboard including a plurality of chessboard grids is displayed;
[0008] Displaying at least two camps that are interacting in a chessboard grid of the virtual chessboard, wherein each camp includes at least one chess piece, and one chessboard grid is used to carry one chess piece;
[0009] During the interaction between the at least two camps, in response to the triggering condition of the interactive event being met, the target chessboard grid and the interactive mode corresponding to the interactive event are determined, and the state or position of the target chess piece associated with the target chessboard grid is changed according to the interactive mode.
[0010] The embodiment of the present application provides a chessboard interactive device in a virtual scene, comprising:
[0011] A first display module, used for displaying a virtual chessboard including a plurality of chessboard grids in an interface of a virtual scene;
[0012] A second display module, used for displaying at least two camps that are interacting in the chessboard grid of the virtual chessboard, wherein each camp includes at least one chess piece, and one chessboard grid is used for carrying one chess piece;
[0013] The interaction processing module is used to determine the target chessboard grid and interaction mode corresponding to the interaction event in response to the triggering condition of the interaction event being met during the interaction between the at least two camps, and change the state or position of the target chess piece associated with the target chessboard grid according to the interaction mode.
[0014] In the above scheme, before determining the target chessboard square and interaction mode corresponding to the interactive event, the device also includes: an event triggering module, which is used to determine that the triggering condition of the interactive event is met in response to the arrival of a random time point corresponding to the interactive event; or, in response to the interaction progress of the at least two camps reaching the target progress, determine that the triggering condition of the interactive event is met; or, in response to the target chess piece in the at least two camps triggering the target event, determine that the triggering condition of the interactive event is met.
[0015] In the above scheme, the interaction processing module is also used to determine a chessboard square randomly selected from the virtual chessboard as the target chessboard square corresponding to the interaction event; or, to determine a chessboard square that meets the target conditions and is selected from the chessboard squares carrying chess pieces in the virtual chessboard as the target chessboard square corresponding to the interaction event, wherein the target conditions include at least one of the following: the interaction level of the carried chess piece reaches the target level, the interaction progress of the carried chess piece reaches the target progress, and the carried chess piece triggers the target event.
[0016] In the above scheme, before changing the state of the target chess piece associated with the target chessboard according to the interactive method, the interactive processing module is also used to determine the chess piece carried by the target chessboard as the target chess piece associated with the target chessboard; or, determine the chess piece that is in the target position relative to the target chessboard as the target chess piece associated with the target chessboard.
[0017] In the above scheme, the interaction processing module is also used to change the motion state or attribute state of the target chess piece associated with the target chess square when the interaction method indicates a change in the state of the chess piece in the virtual chess board; and to change the position of the target chess piece associated with the target chess square in the virtual chess board when the interaction method indicates a change in the position of the chess piece in the virtual chess board.
[0018] In the above scheme, before changing the motion state of the target chess piece associated with the target chessboard grid, the device also includes: a motion control module, used to control the target chess piece associated with the target chessboard grid to move in the virtual chessboard; the interactive processing module is also used to control the target chess piece to change from a motion state to a frozen state, wherein the target chess piece in the frozen state is in a stationary state in the virtual chessboard.
[0019] In the above solution, the device further includes: an attack processing module, which is used to prohibit the target chess piece from attacking other chess pieces, or prohibit other chess pieces from attacking the target chess piece when the target chess piece is in a frozen state.
[0020] In the above scheme, the interaction processing module is also used to obtain the freezing time of the target chess piece in the freezing state; when the freezing time reaches the target time, the target chess piece is controlled to recover from the freezing state to the moving state.
[0021] In the above scheme, the type of attribute state includes at least one of the following: vitality, defense, attack power, physical strength, and magic power; wherein each type of attribute state is represented by at least one of the quantitative value and quantitative graph of the corresponding state; the interactive processing module is also used to change the attribute state according to the attribute value change of the attribute state of the target chess piece associated with the target chessboard.
[0022] In the above solution, the interaction processing module is further used to exchange the positions of the multiple target chess pieces in the virtual chess board when the number of target chess pieces associated with the target chess board grid is multiple.
[0023] In the above scheme, the interactive processing module is also used to exchange the positions of the first chess piece and the second chess piece in each chess piece pair on the virtual chess board when the target chess pieces associated with the target chess board grid include chess pieces in at least two pairs of chess pieces, and each of the chess piece pairs includes a first chess piece and a second chess piece belonging to different camps.
[0024] In the above scheme, the interactive processing module is also used to control the target chessboard to perform an attack operation on the target chess piece associated with the target chessboard; and to display the process of the target chess piece moving from the first chessboard to the second chessboard in the virtual chessboard under the attack of the target chessboard.
[0025] In the above scheme, the device also includes: a special effect display module, which is used to display the change special effect of the target chessboard for the target chess piece during the process of changing the state of the target chess piece associated with the target chessboard, or before changing the position of the target chess piece associated with the target chessboard.
[0026] In the above scheme, the interaction processing module is also used to change the state or position of the target chess pieces respectively associated with the at least two target chess squares according to the interaction method when the number of the interaction events is one and the number of the target chess squares is at least two.
[0027] In the above scheme, the interaction processing module is also used to change the state or position of the target chess piece associated with the target chess square according to at least one of the at least two interaction methods when the number of the interaction events is at least two, and the at least two interaction events correspond to one target chess square and one interaction event corresponds to one interaction method.
[0028] In the above scheme, the interaction processing module is also used to change the state or position of the target chess piece associated with the target chessboard according to an interaction method randomly selected from the at least two interaction methods; or, change the state or position of the target chess piece associated with the target chessboard according to a target interaction method among the at least two interaction methods, wherein the fitness of the target interaction method and the target chess piece exceeds a fitness threshold; or, superimpose changes on the state or position of the target chess piece associated with the target chessboard according to a target number of interaction methods among the at least two interaction methods, wherein the superimposed degree of change of the state or position of the target chess piece by the target number of interaction methods exceeds the sum of the degree of change of the state or position of the target chess piece by each interaction method among the target number of interaction methods.
[0029] An embodiment of the present application provides an electronic device, including:
[0030] A memory for storing computer executable instructions or computer programs;
[0031] The processor is used to implement the chessboard interaction method in the virtual scene provided in the embodiment of the present application when executing the computer executable instructions or computer programs stored in the memory.
[0032] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program for implementing a chessboard interaction method in a virtual scene provided by an embodiment of the present application when executed by a processor.
[0033] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the chessboard interaction method in a virtual scene provided by the embodiment of the present application is implemented.
[0034] The embodiments of the present application have the following beneficial effects:
[0035] By applying the embodiments of the present application, during the interaction between multiple camps in a virtual chessboard, when the triggering conditions of an interactive event are met, the target chessboard grid and the interactive mode corresponding to the interactive event are determined, and the state or position of the target chess piece associated with the target chessboard grid is changed according to the interactive mode. In this way, during the interactive process, the uncertainty of the interactive gameplay is increased by introducing interactive events. The introduction of interactive events realizes the interaction between the target chessboard grid and the target chess piece, so that the state of the target chess piece or the position in the virtual chessboard is changed through this interactive mode, thereby improving the diversity of the interactive gameplay and improving the utilization rate of hardware resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a schematic diagram of the architecture of a chessboard interactive system 100 in a virtual scene provided in an embodiment of the present application;
[0037] Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;
[0038] Figure 3 It is a flowchart of a chessboard interaction method in an object recognition virtual scene provided by an embodiment of the present application;
[0039] Figure 4 is a display schematic diagram of a virtual chessboard provided in an embodiment of the present application;
[0040] Figure 5 is a schematic diagram of the triggering effect of an interactive event provided in an embodiment of the present application;
[0041] Figure 6 is a schematic diagram of the change of chess piece position provided in an embodiment of the present application;
[0042] Figure 7 is a schematic diagram of the change of chess piece position provided in an embodiment of the present application;
[0043] Figure 8 is a schematic diagram of the triggering effect of an interactive event provided in an embodiment of the present application;
[0044] Fig. 9 is a schematic diagram of the triggering effect of an interactive event provided in an embodiment of the present application;
[0045] Fig.10 It is a flowchart of a chessboard interaction method in a virtual scene provided by an embodiment of the present application;
[0046] Fig.11 It is a schematic diagram of selecting the interactive mode provided in the embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0048] It is understandable that in the embodiments of the present application, when user information and other related data (such as the interaction level of chess pieces controlled by users, etc.) are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0049] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0050] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0052] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0053] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.
[0054] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0055] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.
[0056] 4) Auto Chess is a general term for a type of electronic strategy board game. The basic rules of the game are that players select different types of chess pieces for layout and matching, and then arrange the camps obtained by the layout and matching on their own virtual chessboard to automatically fight with the chess pieces in the camps arranged and matched by other players until one side wins, which completes a round (or game). This process is repeated many times until the game ends.
[0057] The embodiments of the present application provide a chessboard interaction method, device, electronic device, computer-readable storage medium and computer program product in a virtual scene, which can improve the diversity of interactive gameplay. The exemplary application of the electronic device provided by the embodiment of the present application is described below. The electronic device provided by the embodiment of the present application can be implemented as a laptop computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device), a smart phone, a smart speaker, a smart watch, a smart TV, a vehicle-mounted terminal and other types of user terminals, and can also be implemented as a server. Below, an exemplary application when the device is implemented as a terminal will be described.
[0058] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the chessboard interactive system 100 in the virtual scene provided in an embodiment of the present application. To support an exemplary application, the terminal (terminal 400-1 and terminal 400-2 are shown as examples) is connected to the server 200 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0059] In some embodiments, the terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a car terminal, etc., but is not limited thereto. The terminal is provided with a client, such as a video playback client, a game client, etc. The server 200 is a background server corresponding to the client, which may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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 (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0060] In actual applications, the terminal displays a virtual chessboard including multiple chessboard squares in the interface of the virtual scene; at least two camps that are interacting are displayed in the chessboard squares of the virtual chessboard, wherein each camp includes at least one chess piece and one chessboard square is used to carry one chess piece; during the interaction between at least two camps, the server determines whether the triggering conditions of the interactive event can be met, and when the triggering conditions of the interactive event are met, determines the target chessboard square and the interaction method corresponding to the interactive event, and returns the target chessboard square and the interaction method corresponding to the interactive event to the terminal, and the terminal changes the state or position of the target chess piece associated with the target chessboard square according to the interaction method.
[0061] See also Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application, taking the electronic device 500 as Figure 1 For example, the terminal in Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .
[0062] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0063] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory. The memory 550 optionally includes one or more storage devices that are physically far away from the processor 510.
[0064] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0065] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic businesses and processing hardware-based tasks; a network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.
[0066] In some embodiments, the chessboard interactive device in the virtual scene provided by the embodiments of the present application can be implemented in software. The chessboard interactive device in the virtual scene provided by the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes. Figure 2 A chessboard interactive device 555 is shown in a virtual scene stored in a memory 550, which may be software in the form of a program or plug-in, and includes a series of modules, including a first display module 5551, a second display module 5552, and an interactive processing module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0067] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the chessboard interaction method in the virtual scene provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), programmable logic devices (Programmable Logic Device, PLD), complex programmable logic devices (Complex Programmable Logic Device, CPLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other electronic components.
[0068] In some embodiments, the terminal or server can implement the chessboard interaction method in the virtual scene provided by the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a local application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a game APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.
[0069] As mentioned above, the chessboard interaction method in the virtual scene provided in the embodiment of the present application can be implemented by various types of electronic devices, for example, Figure 1 The terminal and the server 200 in the embodiment can be executed by either one of them separately, or by Figure 1 The terminal and server 200 in the embodiment cooperate to execute. Figure 1 The example of the terminal alone executing the chessboard interaction method in the virtual scene provided in the embodiment of the present application is described. Figure 3 , Figure 3 is a flowchart of a chessboard interaction method in a virtual scene provided by an embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.
[0070] Step 101: The terminal displays a virtual chessboard including a plurality of chessboard grids in the interface of the virtual scene.
[0071] In actual applications, a client that supports virtual scenes is installed on the terminal (for example, when the virtual scene is an auto chess game, the corresponding client can be an auto chess game APP). When the user opens the client installed on the terminal and the terminal runs the client, the interface of the virtual scene can be displayed in the client, and a virtual chessboard can be displayed in the interface of the virtual scene. The virtual chessboard includes an interactive area and a preparation area. The interactive area and the preparation area are both composed of multiple chessboard grids for carrying chess pieces. One chessboard grid is used to carry one chess piece. The chessboard grids in the preparation area are used to carry chess pieces that have not yet entered the battle field, and the chessboard grids in the interactive area are used to carry chess pieces that have already entered the battle field.
[0072] Step 102: Display at least two interacting camps in a grid of a virtual chessboard, wherein each camp includes at least one chess piece.
[0073] Here, at the beginning of each round, the preparation phase is entered first. In the preparation phase, players can reasonably select and purchase chess pieces according to their own camps (or formations) and strategies. Each chess piece has a unique skill mechanism and combat mechanism (that is, different chess pieces have different skills or combat modes, and they have a mutually restrained relationship), and the purchased chess pieces are reasonably arranged to form their own camp to increase the winning rate of the battle. When the preparation phase ends and the combat phase (that is, the interaction phase) is entered, the player's camp can interact (or fight) with other players' camps in the chessboard grid of the virtual chessboard. During the interaction process, the player cannot control the specific actions of the chess pieces, and the specific actions of the chess pieces are automatically calculated and determined by the system; when the player wins, he can get gold coins and experience points. Gold coins are used to buy more chess pieces, and experience points are used to upgrade the level.
[0074] In addition, during the interaction, players can improve the combat effectiveness of chess pieces by purchasing skills and equipment. Chess pieces, skills and equipment have different effects, which can enhance the attack, defense and special abilities of chess pieces. Players need to constantly adjust their camps, purchase and use skills and equipment to deal with different enemies. In addition, players can also team up with other players to support and cooperate with each other in battle.
[0075] See also Figure 4 , Figure 4 401 is a display diagram of a virtual chessboard provided in an embodiment of the present application, wherein a virtual chessboard is displayed in an interface of a virtual scene, wherein the virtual chessboard includes an interactive area 401 and a preparation area 402, wherein the interactive area 401 and the preparation area 402 are both composed of a plurality of chessboard grids for carrying chess pieces. After the player selects the required chess piece, if the chess piece has not been put on the field, the chess piece that has not been put on the field is displayed in the preparation area 402 on the player side, while the chess piece that has been put on the field is displayed in the interactive area 401, that is, the chess pieces in each camp participating in the interaction are displayed in the interactive area 401.
[0076] Step 103: During the interaction between at least two camps, in response to the triggering condition of the interaction event being met, the target chessboard grid and the interaction mode corresponding to the interaction event are determined, and the state or position of the target chess piece associated with the target chessboard grid is changed according to the interaction mode.
[0077] In some embodiments, before determining the target chessboard square and interaction method corresponding to the interactive event, the terminal may determine that the triggering condition of the interactive event is met in the following ways: in response to the arrival of a random time point corresponding to the interactive event, determining that the triggering condition of the interactive event is met; or, in response to the interaction progress of at least two camps reaching the target progress, determining that the triggering condition of the interactive event is met; or, in response to the target chess piece in at least two camps triggering the target event, determining that the triggering condition of the interactive event is met.
[0078] Among them, interactive events refer to events that can trigger interactions between chessboard grids and chess pieces participating in the interactions between different camps. In practical applications, one or more interactive events can be set before or during the interactions. Different interactive events correspond to different interactive methods, and different interactive events correspond to different triggering conditions. When the triggering conditions of the interactive events are met, the interaction between the chessboard grids and chess pieces can be triggered by the interactive method corresponding to the interactive event. This interaction can change the state or position of the target chess piece in the virtual chessboard.
[0079] In actual applications, in order to increase the uncertainty of interactive gameplay during the interaction process, the triggering timing of interactive events is random. The triggering conditions can be configured for the interactive events in advance so that when the triggering conditions are met, the corresponding interactive events can be triggered. For example, a random time point for triggering the interactive event can be configured in advance (such as the Nth second, N can be set according to actual needs, such as 5 or 8, etc.), and when the random time point arrives, the interactive event is triggered.
[0080] Alternatively, the interaction progress triggered by the interaction event can be configured in advance, and the interaction event is triggered when the interaction progress between the camps participating in the interaction reaches the target progress. The dimensions of the interaction progress and the target progress are also random, and the interaction progress can be randomly set or adjusted according to actual needs. For example, taking the interaction score as the dimension, when the interaction score reaches the target score (which can be set according to actual needs, such as 80 points or 100 points, etc.), the interaction event is triggered. For example, taking the interaction process as the dimension, when the interaction process reaches the target process (such as 30%, 50% or 80% of the entire interaction process, etc.), the interaction event is triggered.
[0081] In addition, the target event to be triggered can be configured in advance for the interactive event. When the target chess piece participating in the interaction triggers the pre-configured target event, the interactive event is triggered. The target chess piece can be a chess piece in any one of the multiple camps participating in the interaction. The number of target chess pieces can be one or more (two or more). When the number of target chess pieces is multiple, these multiple target chess pieces can be chess pieces in any one or more of the multiple camps participating in the interaction. The target event refers to an event that can trigger an interactive event, such as a target skill release event, a target equipment use event, or a target object attack event, etc. In actual applications, the target event can be flexibly set and adjusted. Taking the target event as a target skill release event as an example, when the target chess piece releases the target skill, the interactive event can be triggered.
[0082] In the above manner, by triggering randomly set interactive events during the interaction process, the uncertainty of the interactive gameplay is increased. The introduction of interactive events realizes the interaction between the target chessboard grid and the target chess piece, thereby improving the diversity of the interactive gameplay and the utilization rate of hardware resources.
[0083] In some embodiments, the terminal may determine the target square corresponding to the interactive event in the following manner: a square randomly selected from a virtual chessboard is determined as the target square corresponding to the interactive event; or a square that satisfies the target condition and is selected from the squares carrying chess pieces in the virtual chessboard is determined as the target square corresponding to the interactive event.
[0084] Here, in order to further increase the uncertainty of interactive gameplay during the interaction process, the target chessboard corresponding to the interactive event may be random, such as taking a chessboard randomly selected from the virtual chessboard (which may be a chessboard carrying chess pieces or a chessboard that has not yet carried chess pieces) as the target chessboard corresponding to the interactive event. For another example, a chessboard that meets the target conditions is selected from the chessboards carrying chess pieces in the virtual chessboard and is determined as the target chessboard corresponding to the interactive event, wherein the target conditions include at least one of the following: the interaction level of the carried chess pieces reaches the target level (which can be randomly set according to actual needs), the interaction progress of the carried chess pieces reaches the target progress (wherein, the dimensions of the interaction progress and the target progress are also random, and the interaction progress can be randomly set or adjusted according to actual needs, such as the dimension can be the interaction score, or the interaction process), and the carried chess pieces trigger the target event (wherein, the target event is an event that can respond to the interactive event, such as the release of the target skill event, the use of the target equipment event, or the attack on the target object event, etc. In actual applications, the target event can be flexibly set and adjusted).
[0085] Through the above method, the target chessboard grid corresponding to the interactive event is also random, which can increase the uncertainty of the interactive gameplay during the interaction process, improve the diversity of the interactive gameplay and the utilization rate of hardware resources.
[0086] It should be noted that the selection of the above-mentioned chessboard grid can be obtained by intelligent screening by the terminal according to a pre-set selection mechanism, or the player can be given a selection entrance for the chessboard grid, and the chessboard grid selected through the selection entrance can be used as the target chessboard grid. If the terminal responds to the triggering conditions of the interactive event being met, the prompt information of the interactive event and the selection control for selecting the chessboard grid (as the selection entrance) are first displayed, and in response to the selection operation triggered by the selection control, the selected chessboard grid is used as the target chessboard grid; in this way, the player can select the corresponding chessboard grid according to actual needs to change the state or position of the chessboard grid, thereby improving the player's initiative in this gameplay.
[0087] In some embodiments, before the terminal changes the state or position of the target chess piece associated with the target chess grid according to the interactive method, the target chess piece can be determined in the following manner: the chess piece carried by the target chess grid is determined as the target chess piece associated with the target chess grid; or the chess piece with the target orientation relative to the target chess grid is determined as the target chess piece associated with the target chess grid.
[0088] In practical applications, after determining the target chessboard grid, if the target chessboard grid carries a chess piece, the chess piece it carries can be used as the target chess piece associated with the target chessboard grid, or, regardless of whether the target chessboard grid carries a chess piece, the chess pieces carried by other chessboard grids that are target positions (including at least one of the factors of distance and angle) relative to the target chessboard grid can be used as the target chess pieces associated with the target chessboard grid, such as the chess piece carried by the previous chessboard grid directly in front of the target chessboard grid can be used as the target chess piece associated with the target chessboard grid, or the chess piece carried by the chessboard grid two squares to the right of the target chessboard grid can be used as the target chess piece associated with the target chessboard grid, and so on; in this way, the target chess piece can also have randomness, which can increase the uncertainty of the interactive gameplay during the interaction process, improve the diversity of the interactive gameplay and the utilization rate of hardware resources.
[0089] In some embodiments, the terminal may change the state or position of the target chess piece associated with the target chess square according to the interactive method in the following manner: when the interactive method indicates a change to the state of the chess piece in the virtual chess board, the motion state or attribute state of the target chess piece associated with the target chess square is changed; when the interactive method indicates a change to the position of the chess piece in the virtual chess board, the position of the target chess piece associated with the target chess square in the virtual chess board is changed.
[0090] Here, when the interactive method indicates a change in the state of a chess piece in a virtual chessboard, the interactive method can be used to change the motion state of a target chess piece associated with a target chessboard square (i.e., to change whether the target chess piece is moving or the form of movement, etc.), such as changing from a moving state to a stationary state, or from a running state to a jumping state, etc.; or the interactive method can be used to change the attribute state of the target chess piece; since the interactive ability of the target chess piece will be affected after the attribute state is changed, the interaction is performed based on the new attribute state or interactive ability, which increases the uncertainty of the interaction of the chess pieces in the virtual chessboard and improves the challenge and fun of the interaction.
[0091] When the interactive method indicates to change the position of the chess piece in the virtual chessboard, the position of the target chess piece associated with the target chess square in the virtual chessboard can be changed through the interactive method, such as changing the chess square where the target chess piece is located from the first chess square to the second chess square. After the position is exchanged, the target chess piece in the new position needs to re-lock the attack target, that is, after the position is changed, the target chess piece needs to re-lock the chess piece to be attacked according to the new distance position. This increases the randomness of the interaction between different camps in the interaction process and improves the challenge and fun of the interaction.
[0092] In some embodiments, before changing the motion state of the target chess piece associated with the target chess square, the terminal may first control the target chess piece associated with the target chess square to move in the virtual chessboard; accordingly, the terminal may change the motion state of the target chess piece associated with the target chess square in the following manner: controlling the target chess piece to change from a moving state to a frozen state, wherein the target chess piece in the frozen state is in a stationary state in the virtual chessboard.
[0093] See also Figure 5 , Figure 5 : is a schematic diagram of the triggering effect of an interactive event provided in an embodiment of the present application. When the interactive event is an event with the function of freezing chess pieces, its corresponding interactive mode is the freezing mode. Before the triggering condition of the interactive event is met, the target chess piece can move in different chessboard squares of the virtual chessboard. When the triggering condition of the interactive event is met, the target chess piece is frozen by the interactive mode (i.e., the freezing mode) corresponding to the interactive event to prohibit the target chess piece from moving in the virtual chessboard, that is, to control the target chess piece to change from a moving state to a frozen state or a stationary state.
[0094] In some embodiments, during the process of the target chess piece being in the frozen state, the target chess piece is prohibited from attacking other chess pieces, or other chess pieces are prohibited from attacking the target chess piece. Here, when the target chess piece is in the frozen state, the target chess piece cannot attack other chess pieces, nor can it be attacked by other chess pieces. Of course, in practical applications, when the target chess piece in the frozen state is attacked by other chess pieces, a chain reaction can also be triggered, such as other chess pieces attacking the target chess piece are rebounded by the target chess piece (i.e., the ice cube used to freeze the target chess piece) and cause additional damage.
[0095] In some embodiments, when the target chess piece is in a frozen state, the freezing time of the target chess piece in the frozen state can also be obtained; when the freezing time reaches the target time, the target chess piece is controlled to recover from the frozen state to the moving state.
[0096] In practical applications, after an interactive event is triggered, it has a certain time limit. Within the effective time range, the interactive event can cause the target chessboard state to change. If it exceeds the effective time range, the interactive event cannot cause the target chessboard state to change. At this time, the target chess piece is controlled to recover from the changed state to the state before the change. For example, the target chess piece is controlled to change from a frozen state to a thawed state. After thawing, the target chess piece can continue to move in the virtual chessboard, that is, it recovers from the static state when frozen to the moving state after thawing.
[0097] In some embodiments, the types of attribute states include at least one of the following: vitality, defense, attack power, physical strength, and magic power; wherein each type of attribute state is represented by at least one of a quantized value and a quantized graph of the corresponding state; accordingly, the terminal can change the attribute state of the target chess piece associated with the target chessboard in the following manner: change the attribute state according to the change in the attribute value of the attribute state of the target chess piece associated with the target chessboard.
[0098] Here, changing the attribute state of the target chess piece essentially means changing the attribute value of the attribute state, such as increasing or decreasing the attribute value of the attribute state according to the amount of attribute value change. It is understandable that when changing the attribute state of the target chess piece, the attribute state of one type of the target chess piece may be changed, or the attribute states of multiple types of the target chess piece may be changed.
[0099] In practical applications, when determining the change in the attribute value of an attribute state, the influencing factor for influencing the change in the attribute value of the attribute state can be obtained first, and then the change in the attribute value corresponding to the corresponding attribute state that is positively correlated with the influencing factor can be determined, wherein the influencing factor includes at least one of the following: the contribution of the attribute state to the interactive ability of the target chess piece, and the attribute value gap between the target chess piece and other chess pieces in the hostile camp. Usually, the change in the attribute value of the attribute state is positively correlated with the influencing factor. For example, the greater the contribution of the attribute state to the interactive ability, the greater the influencing factor of the corresponding attribute state, and the greater the change in the attribute value of the corresponding attribute state. For example, the contribution of vitality to the interactive ability of the target chess piece is 20%, and the contribution of endurance to the interactive ability of the target chess piece is 5%. Then the change in the value of vitality can be 50, and the change in the value of endurance can be 10.
[0100] For another example, the greater the difference in attribute values between the target chess piece and other chess pieces in the enemy camp with the same attribute state, the greater the change in attribute value of the corresponding attribute state. For example, for the attribute state of vitality, if the target chess piece's health value is 100 and the health value of other chess pieces in the enemy camp is 200, then the target chess piece's health value change is 80, and the target chess piece's health value is increased to 180, which narrows the gap in health value between the target chess piece and other chess pieces in the enemy camp; for the attribute state of endurance, if the target chess piece's endurance value is 100 and the endurance value of other chess pieces in the enemy camp is 150, then the endurance value of the target chess piece is increased by 50. After the increase, the endurance value of the target chess piece is 150, which narrows the gap in endurance value between the target chess piece and other chess pieces in the enemy camp; in this way, the gap in interaction ability between different chess pieces can be narrowed as much as possible, which is conducive to maintaining the ecological balance of the game.
[0101] In some embodiments, the terminal may change the position of the target chess piece associated with the target chess grid in the virtual chessboard in the following manner: when there are multiple target chess pieces associated with the target chess grid, swap the positions of the multiple target chess pieces in the virtual chessboard.
[0102] In practical applications, when the number of target chess pieces associated with a target chess square is one, the position of the target chess piece in the virtual chessboard can be changed by instantly moving the target chess piece from its chess square to other chess squares to achieve a sequential transfer change of the spatial position; when the number of target chess pieces associated with a target chess square is multiple (two or more), the positions of these multiple target chess pieces in the virtual chessboard can be changed by exchanging the chess squares of each other in the virtual chessboard.
[0103] See also Figure 6 , Figure 6This is a schematic diagram of the change of chess piece positions provided in an embodiment of the present application. Taking the target chess pieces including chess piece A and chess piece 2 as an example, before exchanging positions, chess piece A is located at the first chessboard square and chess piece 2 is located at the second chessboard square. When the trigger condition of the interactive event for triggering the position exchange is met, chess piece A and chess piece 2 are controlled to exchange positions on the virtual chessboard, that is, after exchanging positions, chess piece A is located at the second chessboard square and chess piece 2 is located at the first chessboard square.
[0104] It should be noted that different target chess pieces that are exchanged may be located in the same camp or in different camps, that is, the exchange of positions may be between different chess pieces in the same camp or between different chess pieces in different camps.
[0105] In some embodiments, the terminal may change the position of the target chess piece associated with the target chess square in the virtual chessboard in the following manner: when the target chess piece associated with the target chess square includes chess pieces in at least two pairs of chess pieces, and each chess piece pair includes a first chess piece and a second chess piece belonging to different camps, the positions of the first chess piece and the second chess piece in each chess piece pair in the virtual chessboard are exchanged.
[0106] In practical applications, when the target chess piece associated with the target chessboard grid is a different chess piece in a plurality of chess piece pairs (the number of target chess pieces is multiple), the position of the target chess piece in the virtual chessboard is changed by exchanging the positions of different chess pieces in each chess piece pair in the virtual chessboard.
[0107] See 7, Figure 7 This is a schematic diagram of the change of chess piece positions provided in an embodiment of the present application. Assume that the first camp includes chess piece 1, chess piece 2 and chess piece 3, and the second camp includes chess piece A, chess piece B and chess piece C. If the target chess pieces include chess piece 1 and chess piece 2 in the first camp, chess piece A and chess piece C in the second camp, and (chess piece 1, chess piece A) is a first chess piece pair, and (chess piece 2, chess piece B) is a second chess piece pair, then when the positions are exchanged, the positions (i.e., chess board grids) of chess piece 1 and chess piece A in the first chess piece pair on the virtual chessboard are exchanged, and the positions of chess piece 2 and chess piece B in the second chess piece pair on the virtual chessboard are exchanged; in this way, the position exchange between different chess pieces in different camps is realized. Since after the position exchange, the chess piece in the new position needs to re-lock the attack target (i.e., after the position is changed, the target chess piece needs to re-lock the attack chess piece according to the new distance position), this increases the randomness of the interaction between different camps in the interaction process, and improves the challenge and fun of the interaction.
[0108] In some embodiments, the terminal can change the position of the target chess piece associated with the target chess square in the virtual chessboard in the following ways: control the target chess square to perform an attack operation on the target chess piece associated with the target chess square; and display the process of the target chess piece moving from the first chess square in the virtual chessboard to the second chess square under the attack of the target chess square.
[0109] In actual applications, when the interactive event is an event with the function of attacking chess pieces, the terminal controls the target chessboard corresponding to the interactive event to perform an attack operation on the target chess piece, and displays the process of the target chess piece moving from the first chessboard to the second chessboard under the attack of the target chessboard, wherein, before being attacked, the target chess piece is located at the first chessboard (which can be the target chessboard or other chessboards adjacent to the target chessboard), and under the attack, the target chess piece is attacked and moved to other chessboards, such as the target chess piece is knocked away by the target chessboard and then lands on other chessboards, or, when the target chess piece is behind the target chessboard, the target chess piece is repelled by the target chessboard, and so on; in this way, in the process of chess piece interaction between different camps, real interaction occurs between the chessboards and the chess pieces, and the chessboards perform real interactive operations, rather than just being used to carry chess pieces, which enriches the interaction methods and improves the diversity of interactive gameplay.
[0110] In some embodiments, the terminal may further display a special effect of the target chessboard grid on the target chess piece during the process of changing the state of the target chess piece associated with the target chessboard grid, or before changing the position of the target chess piece associated with the target chessboard grid.
[0111] Here, when the triggering condition of the interactive event is met, in the process of changing the state of the target chess piece through the interactive method corresponding to the interactive event, or before changing the position of the target chess piece, a corresponding change special effect can be displayed.
[0112] For example, when the interaction event corresponds to changing the motion state of the target chess piece, such as Figure 5 When the frozen target chess piece is shown, the freezing effect is displayed (such as the chess piece is frozen by ice); for example, see Figure 8-9 , Figure 8-9 is a schematic diagram of the triggering effect of an interactive event provided in an embodiment of the present application, Figure 8 In the interactive event, the state of the target chess piece is changed (commonly known as burning rocks). After the burning rocks event is triggered, the target chess pieces (chess piece A and chess piece 2) are burned and display burning effects (such as flames). In the process of the target chess piece being burned, the attribute state of the target chess piece changes, such as reducing the health by 5% per second and increasing the damage by 200%. Fig. 9In the game, the interactive event is an event used to change the position of the target chess piece (commonly known as the quicksand zone). After the quicksand zone function event is triggered, the target chess pieces (chess piece A and chess piece 2) trigger the quicksand replacement effect. Quicksand vortices appear on the feet of the target chess pieces (chess piece A and chess piece 2) (i.e., the quicksand effect is displayed). When the quicksand vortex reaches a certain level or disappears, the position of the target chess piece in the virtual chessboard is changed, such as exchanging the positions of chess piece A and chess piece 2.
[0113] In some embodiments, the terminal may change the state or position of the target chess piece associated with the target chess square according to the interaction method in the following manner: when the number of interaction events is one and the number of target chess squares is at least two, the state or position of the target chess pieces respectively associated with at least two target chess squares is changed according to the interaction method.
[0114] Here, when the number of interactive events is one and the number of target chessboard squares corresponding to the interactive events is multiple, since one interactive event corresponds to one interactive method, the states or positions of target chess pieces respectively associated with multiple target chessboard squares can be changed simultaneously through one interactive method.
[0115] Taking the above-mentioned quicksand zone as an example of an interactive event, after the quicksand zone functional event is triggered, assuming that the target chessboard grids corresponding to the quicksand zone include chessboard grid 1 and chessboard grid 2, wherein chessboard grid 1 is associated with chess piece 1 and chess piece A, and chessboard grid 2 is associated with chess piece 2 and chess piece B, then through the interactive method corresponding to the quicksand zone (i.e. exchanging positions), the positions of chess piece 1 and chess piece A are exchanged, and the positions of chess piece 2 and chess piece B are exchanged. In this way, one interactive event causes the exchange of positions between multiple chess pieces, thereby improving the interaction efficiency and interaction diversity.
[0116] In some embodiments, the terminal can change the state or position of the target chess piece associated with the target chess square according to the interaction method in the following manner: when the number of interaction events is at least two, and at least two interaction events correspond to one target chess square, and one interaction event corresponds to one interaction method, the state or position of the target chess piece associated with the target chess square is changed according to at least one of the at least two interaction methods.
[0117] Here, when there are multiple interactive events triggered at the same time, and these multiple interactive events correspond to the same target chessboard square, since one interactive event corresponds to one interactive method, there are multiple interactive methods for multiple interactive events. When multiple interactive events are triggered at the same time, some or all of the interactive methods can be selected from the multiple interactive methods to change the state or position of the target chess piece associated with the target chessboard square.
[0118] In some embodiments, the terminal may change the state or position of the target chess piece associated with the target chessboard according to at least one of at least two interaction methods in the following manner: changing the state or position of the target chess piece associated with the target chessboard according to an interaction method randomly selected from at least two interaction methods; or, changing the state or position of the target chess piece associated with the target chessboard according to a target interaction method among at least two interaction methods, wherein the degree of fitness between the target interaction method and the target chess piece exceeds a fitness threshold; or, superimposingly changing the state or position of the target chess piece associated with the target chessboard according to a target number of interaction methods among at least two interaction methods, wherein the superimposed degree of change of the state or position of the target chess piece by the target number of interaction methods exceeds the sum of the degree of change of the state or position of the target chess piece by each interaction method among the target number of interaction methods.
[0119] Here, when there are multiple interactive events triggered at the same time, and these multiple interactive events correspond to the same target chessboard, one interactive method can be randomly selected from the interactive methods corresponding to the multiple interactive events to change the state or position of the target chess piece associated with the target chessboard, or, according to the interactive methods with the target number (less than or equal to the total number of interactive methods) in at least two interactive methods, the state or position of the target chess piece associated with the target chessboard can be superimposed and changed.
[0120] For example, there are two interactive events triggered at the same time, namely, interactive event 1 (such as the quicksand zone mentioned above) and interactive event 2 (such as the burning rocks mentioned above). Interactive event 1 and interactive event 2 each correspond to a target chessboard square, and the target chess pieces associated with the target chessboard square include chess piece 1 and chess piece A. Then, the positions of chess piece 1 and chess piece A can be exchanged through the interactive method corresponding to interactive event 1 (i.e., the quicksand zone) (i.e., exchanging positions), and chess piece 1 and chess piece A can be burned and their health can be reduced through the interactive method corresponding to interactive event 2 (i.e., burning rocks) (i.e., changing states). It is also possible to burn chess piece 1 and chess piece A through the interactive method corresponding to interactive event 2 (i.e., burning rocks) at the same time as the interactive method corresponding to interactive event 1 (i.e., the quicksand zone) is used. Formula (i.e., exchange positions), exchange the positions between chess piece 1 and chess piece A, that is, the state and position of the target chess piece are superimposed and changed through multiple interactive methods. Since interactive event 1 and interactive event 2 act on chess piece 1 and chess piece A at the same time, the degree of superimposed change exceeds the sum of the degree of change of the state or position of the target chess piece by each interactive method alone. For example, when the positions of chess piece 1 and chess piece A are changed by the interactive method (i.e., exchange positions) corresponding to interactive event 1 (i.e., quicksand zone), the degree of reduction in the blood volume of chess piece 1 and chess piece A caused by being burned is greater than the degree of reduction in the blood volume caused by being burned when the positions of chess piece 1 and chess piece A are not changed by the interactive method (i.e., exchange positions) corresponding to interactive event 1; in this way, more possible interactive methods are brought to the interactive process of chess pieces, and the diversity of interactive styles is improved.
[0121] In addition, the terminal can also select the target interaction method that best matches the target chess piece from a variety of interaction methods, and change the state or position of the target chess piece through the target interaction method. For example, according to the interaction progress of the target chess piece, the terminal selects the interaction method corresponding to the state or position that the target chess piece is most expected to change from a variety of interaction methods. For example, the interaction method includes interaction method 1 for changing the position and interaction method 2 for changing the state (increasing health). By identifying the interaction progress of the target chess piece, when it is identified that the target chess piece is most expected to change its position at present, the interaction method for changing the position is used. Interaction mode 1 is used to change the position of the target chess piece in the virtual chessboard; when it is identified that the target chess piece is currently most expected to change its state (such as increasing its health), the state of the target chess piece in the virtual chessboard is changed (i.e., increasing its health) through interaction mode 2 for changing the state (increasing its health); in this way, the terminal intelligently selects the interaction mode that best suits the target chess piece according to the interaction progress of the target chess piece, and changes the state or position of the target chess piece according to the selected interaction mode, thereby improving the pertinence of the interaction event to the change of the target chess piece, improving the user's interaction experience, and thus being able to improve the user retention rate.
[0122] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario. Taking the auto chess game as an example of a virtual scene, the existing auto chess game mechanism is mostly chess piece related mechanism. In order to enrich the original gameplay, the relevant technology gives certain additional attributes or skill bonuses to the chess pieces, but the current game is still limited to a mode of fighting on a fixed chessboard with fixed chess pieces. The chessboard only serves as a carrier or, in certain circumstances, some chessboard grids have certain bonus (i.e., buff) effects. There is no other game-like interaction between the chessboard and the chess pieces, which limits the possible gaming fun of auto chess. Moreover, in the existing auto chess game, players know which chessboard grids have buff effects, and they can only place chess pieces on the chessboard grids with buff effects in the preparation stage to trigger the corresponding bonus effects. This interaction mode determined before the game is coping for the players, and the results of the battle are also predictable. For example, after the preparation ends and the battle stage begins, the battle is carried out according to the current lineup position. Since the players cannot control the specific actions of the chess pieces, the battle process is highly predictable and the positioning is highly targeted. Relatively speaking, the stimulation of the battle process to the players will be weakened, and the fun of the game will be reduced.
[0123] To this end, an embodiment of the present application provides a chessboard interaction method in a virtual scene, which aims to add some uncertainty to the game with an originally established process by randomly triggering the interaction between the chessboard (or chessboard grids) and the chess pieces during the interaction process (i.e., the battle process), thereby increasing the diversity and uncertainty of the gameplay and enriching the fun of the auto chess game.
[0124] See also Fig.10 , Fig.10 : is a flow chart of a chessboard interaction method in a virtual scene provided by an embodiment of the present application, the method comprising:
[0125] Step 201: The terminal determines a selected interactive event in response to a selection operation.
[0126] Here, before entering the game, players can first select interactive events that can be randomly triggered during the game. The selection of interactive events can be achieved by selecting the interactive mode, see Fig.11 , Fig.11: is a schematic diagram of the selection of the interactive mode provided in the embodiment of the present application. In the selection interface, there are various styles of interactive modes, such as burning rocks, extreme ice fields, and quicksand zones. Players can view the functions or interactive effects corresponding to each interactive mode (that is, they can view the corresponding interactive events). After the player enters the selected interactive mode, during the interactive process in the interactive mode entered, the corresponding interactive events can be triggered. For example, in the interactive mode of "burning rocks", an interactive event for burning chess pieces and changing the attribute state of the chess pieces (such as when the chess pieces are burning, the health of the chess pieces decreases by 5% per second and the damage increases by 200%) can be triggered; for example, in the interactive mode of "extreme ice fields", an interactive event for freezing chess pieces (such as changing the chess pieces from a moving state to a frozen state, and the chess pieces in the frozen state cannot continue to move, cannot attack other chess pieces, or cannot be attacked by other chess pieces) can be triggered; for example, in the interactive mode of "quicksand zones", an interactive event with a quicksand effect that can change the position of chess pieces on the chessboard (such as exchanging the positions of different chess pieces) can be triggered.
[0127] Step 202: In the interactive interface of the game, a virtual chessboard including a plurality of chessboard grids is displayed.
[0128] Here, at the beginning of each round, the player first enters the preparation stage. In the preparation stage, the player can reasonably select and purchase chess pieces according to his own camp and strategy. Each chess piece has a unique skill mechanism and combat mechanism (that is, different chess pieces have different skills or combat modes, and they have a mutually restrained relationship). The purchased chess pieces are reasonably arranged to form his own camp to increase the winning rate of the battle.
[0129] After the player enters the game, the terminal displays the interactive interface of the game, and displays a virtual chessboard for chess pieces to interact and fight in the interactive interface, wherein the virtual chessboard includes an interactive area and a preparation area, and both the interactive area and the preparation area are composed of multiple chessboard grids for carrying chess pieces, one chessboard grid is used to carry one chess piece, the chessboard grids in the preparation area are used to carry chess pieces that have not yet entered the battle, and the chessboard grids in the interactive area are used to carry chess pieces that have entered the battle.
[0130] Step 203: Display at least two camps that are interacting in the chessboard grid of the virtual chessboard.
[0131] During the battle stage, the server randomly assigns the player an enemy camp, that is, displays at least two camps interacting on the virtual chessboard, wherein each camp includes at least one chess piece, and the at least two camps include the player's camp corresponding to the current terminal and the enemy camp that is fighting against the player's camp.
[0132] Step 204: Determine whether the triggering condition of the interactive event is met.
[0133] Here, different interactive events correspond to different trigger conditions. In practical applications, in order to increase the uncertainty of interactive gameplay during the interaction process, the triggering timing of the interactive event is random. The triggering conditions can be configured for the interactive event in advance, so that the corresponding interactive event is triggered when the triggering conditions are met. Next, take the random time point configured for triggering the interactive event in advance (such as the Nth second, N can be set according to actual needs, such as 5 or 8, etc.) as an example. When the random time point arrives, the interactive event is triggered.
[0134] During the interaction between at least two camps, it can be determined in real time whether the triggering conditions of the interactive event are met, such as whether the configured random time point has arrived. When the triggering conditions of the interactive event are met (such as the configured random time point has arrived), step 205 is executed; otherwise, when the triggering conditions of the interactive event are not met (such as the configured random time point has not arrived), step 203 is executed.
[0135] Step 205: Determine the interaction mode and target chessboard grid corresponding to the interaction event.
[0136] In actual applications, different interactive events correspond to different interactive methods. Continuing from the above description, for the interactive event corresponding to the interactive mode of "burning rocks", the corresponding interactive method is to change the attribute state of the chess piece (such as burning the chess piece and reducing the chess piece's health); for the interactive event corresponding to the interactive mode of "extreme ice field", the corresponding interactive method is to change the movement state of the chess piece (such as freezing the chess piece so that it changes from a moving state to a stationary state); for the interactive event corresponding to the interactive mode of "quicksand zone", the corresponding interactive method is to change the position of the chess piece (such as exchanging the positions of different chess pieces on the chessboard).
[0137] In order to further increase the uncertainty of interactive gameplay during the interaction process, the target square corresponding to the interactive event can also be random, such as using a randomly selected square in the virtual chessboard (which can be a square that carries chess pieces or a square that does not yet carry chess pieces) as the target square corresponding to the interactive event.
[0138] Step 206: Change the state or position of the target chess piece associated with the target chessboard grid in an interactive manner.
[0139] In order to further increase the uncertainty of the interactive gameplay during the interaction process, the target chess piece associated with the target chessboard grid may also be random. For example, after determining the target chessboard grid, the chess piece carried by the target chessboard grid may be used as the target chess piece associated with the target chessboard grid, or the chess pieces carried by other chessboard grids that are at the target orientation (including at least one of the factors of distance and angle) relative to the target chessboard grid may be used as the target chess piece associated with the target chessboard grid. For example, the chess piece carried by the previous chessboard grid directly in front of the target chessboard grid may be used as the target chess piece associated with the target chessboard grid, or the chess piece carried by the chessboard grid two squares to the right of the target chessboard grid may be used as the target chess piece associated with the target chessboard grid, and so on. In this way, the randomness of the target chess piece can increase the uncertainty of the interactive gameplay during the interaction process, improve the diversity of the interactive gameplay and the utilization rate of hardware resources.
[0140] After determining the target chess piece, you can change the state or position of the target chess piece through interaction, and display the change effect. For example, for the interactive event corresponding to the interactive mode "burning rocks", the corresponding interactive method is to change the attribute state of the chess piece, that is, through this interactive method, you can change the attribute state of the target chess piece, such as burning the target chess piece and reducing the target chess piece's health (see Figure 8 ); For another example, for the interactive event corresponding to the interactive mode "Extreme Ice Field", the corresponding interactive method is to change the motion state of the chess piece, that is, the motion state of the target chess piece can be changed through this interactive method, such as freezing the target chess piece and displaying a freezing effect (such as the target chess piece is frozen by ice), so that the target chess piece changes from a moving state to a static state. The chess piece in the frozen state cannot attack other chess pieces within the target time (such as 2 seconds), nor can it be attacked by other chess pieces (see Figure 5 ); For another example, for the interactive event corresponding to the interactive mode "Quicksand Zone", the corresponding interactive method is to change the position of the chess piece, that is, the position of the target chess piece in the chessboard can be changed through this interactive method. For example, the target chess pieces include chess piece 1 and chess piece A. Before the exchange of positions, chess piece A is located at the first chessboard square, and chess piece 2 is located at the second chessboard square. Through this interactive method, the quicksand effect can be displayed at chess piece A and chess piece 2, and the positions of chess piece A and chess piece 2 in the virtual chessboard can be controlled to be exchanged, that is, after the exchange of positions, chess piece A is located at the second chessboard square, and chess piece 2 is located at the first chessboard square (see Figure 6 ).
[0141] It should be noted that in order to increase the uncertainty of interactive gameplay during the interaction process, the triggering timing of the interactive event is random or periodic (such as being triggered every 10 seconds). The number of target squares corresponding to the interactive event can be one or more, and the number of target chess pieces associated with a target square can also be one or more. In this way, during the battle, there are random factors in every link of the interactive event, which makes up for the problem that only the buff-like interaction between the chessboard and the chess pieces is known before the game (i.e., the preparation stage). Through the interaction between the chessboard and the chess pieces, the uncertainty of the interactive gameplay during the interaction can be increased, thereby improving the diversity of the interactive gameplay.
[0142] So far, the chessboard interaction method in a virtual scene provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe how the various modules in the chessboard interaction device 555 in the virtual scene provided by the embodiment of the present application cooperate to implement the chessboard interaction scheme in the virtual scene.
[0143] The first display module 5551 is used to display a virtual chessboard including multiple chess squares in the interface of the virtual scene; the second display module 5552 is used to display at least two camps that are interacting in the chess squares of the virtual chessboard, wherein each of the camps includes at least one chess piece and one chess square is used to carry one chess piece; the interaction processing module 5553 is used to determine the target chess square and interaction mode corresponding to the interaction event in response to the triggering condition of the interaction event being met during the interaction between the at least two camps, and change the state or position of the target chess piece associated with the target chess square according to the interaction mode.
[0144] In some embodiments, before determining the target chessboard square and interaction mode corresponding to the interactive event, the device also includes: an event triggering module, used to determine that the triggering condition of the interactive event is met in response to the arrival of a random time point corresponding to the interactive event; or, in response to the interaction progress of the at least two camps reaching the target progress, determine that the triggering condition of the interactive event is met; or, in response to the target chess piece in the at least two camps triggering the target event, determine that the triggering condition of the interactive event is met.
[0145] In some embodiments, the interaction processing module is further used to determine a chessboard square randomly selected from the virtual chessboard as a target chessboard square corresponding to the interaction event; or, to determine a chessboard square that meets a target condition and is selected from the chessboard squares carrying chess pieces in the virtual chessboard as a target chessboard square corresponding to the interaction event, wherein the target condition includes at least one of the following: the interaction level of the carried chess piece reaches the target level, the interaction progress of the carried chess piece reaches the target progress, and the carried chess piece triggers a target event.
[0146] In some embodiments, before changing the state of the target chess piece associated with the target chessboard according to the interaction method, the interaction processing module is also used to determine the chess piece carried by the target chessboard as the target chess piece associated with the target chessboard; or, determine the chess piece that is in the target position relative to the target chessboard as the target chess piece associated with the target chessboard.
[0147] In some embodiments, the interaction processing module is also used to change the motion state or attribute state of the target chess piece associated with the target chess square when the interaction method indicates a change to the state of the chess piece in the virtual chess board; and to change the position of the target chess piece associated with the target chess square in the virtual chess board when the interaction method indicates a change to the position of the chess piece in the virtual chess board.
[0148] In some embodiments, before changing the motion state of the target chess piece associated with the target chessboard square, the device also includes: a motion control module, used to control the target chess piece associated with the target chessboard square to move in the virtual chessboard; the interaction processing module is also used to control the target chess piece to change from a moving state to a frozen state, wherein the target chess piece in the frozen state is in a stationary state in the virtual chessboard.
[0149] In some embodiments, the device further includes: an attack processing module, which is used to prohibit the target chess piece from attacking other chess pieces, or prohibit the other chess pieces from attacking the target chess piece when the target chess piece is in a frozen state.
[0150] In some embodiments, the interaction processing module is further used to obtain the freezing time duration of the target chess piece in the freezing state; when the freezing time duration reaches the target time duration, the target chess piece is controlled to recover from the freezing state to the moving state.
[0151] In some embodiments, the type of attribute state includes at least one of the following: vitality, defense, attack power, physical strength, and magic power; wherein each type of attribute state is represented by at least one of a quantified value and a quantified graph of the corresponding state; the interactive processing module is also used to change the attribute state according to the attribute value change of the attribute state of the target chess piece associated with the target chessboard square.
[0152] In some embodiments, the interaction processing module is further configured to, when there are multiple target chess pieces associated with the target chessboard grid, exchange the positions of the multiple target chess pieces in the virtual chessboard.
[0153] In some embodiments, the interaction processing module is also used to exchange the positions of the first chess piece and the second chess piece in each chess piece pair on the virtual chess board when the target chess pieces associated with the target chess board grid include chess pieces in at least two pairs of chess pieces, and each of the chess piece pairs includes a first chess piece and a second chess piece belonging to different camps.
[0154] In some embodiments, the interactive processing module is also used to control the target chessboard to perform an attack operation on the target chess piece associated with the target chessboard; and to display the process of the target chess piece moving from the first chessboard to the second chessboard located in the virtual chessboard under the attack of the target chessboard.
[0155] In some embodiments, the device further includes: a special effect display module for displaying a special effect of the target chessboard grid on the target chess piece during the process of changing the state of the target chess piece associated with the target chessboard grid, or before changing the position of the target chess piece associated with the target chessboard grid.
[0156] In some embodiments, the interaction processing module is further used to change the state or position of the target chess pieces respectively associated with the at least two target chess squares according to the interaction method when the number of the interaction events is one and the number of the target chess squares is at least two.
[0157] In some embodiments, the interaction processing module is also used to change the state or position of the target chess piece associated with the target chess square according to at least one of the at least two interaction methods when the number of the interaction events is at least two, and the at least two interaction events correspond to one target chess square and one interaction event corresponds to one interaction method.
[0158] In some embodiments, the interaction processing module is further used to change the state or position of the target chess piece associated with the target chessboard according to an interaction method randomly selected from the at least two interaction methods; or, change the state or position of the target chess piece associated with the target chessboard according to a target interaction method among the at least two interaction methods, wherein the degree of fitness between the target interaction method and the target chess piece exceeds a fitness threshold; or, superimpose changes on the state or position of the target chess piece associated with the target chessboard according to a target number of interaction methods among the at least two interaction methods, wherein the degree of superimposed change of the state or position of the target chess piece by the target number of interaction methods exceeds the sum of the degree of change of the state or position of the target chess piece by each interaction method among the target number of interaction methods.
[0159] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the chessboard interaction method in the virtual scene described in the embodiment of the present application.
[0160] The present application embodiment provides a computer-readable storage medium storing computer executable instructions, wherein the computer executable instructions or computer programs are stored. When the computer executable instructions or computer programs are executed by a processor, the processor will be caused to execute the chessboard interaction method in the virtual scene provided by the present application embodiment, for example, Figure 3 A chessboard interaction method in a virtual scene is shown.
[0161] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0162] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0163] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0164] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0165] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A chessboard interaction method in a virtual scene, characterized in that: The method comprises: In the interface of the virtual scene, a virtual chessboard including a plurality of chessboard grids is displayed; Displaying at least two camps that are interacting in a chessboard grid of the virtual chessboard, wherein each camp includes at least one chess piece, and one chessboard grid is used to carry one chess piece; During the interaction between the at least two camps, in response to the triggering condition of the interactive event being met, the target chessboard grid and the interactive mode corresponding to the interactive event are determined, and the state or position of the target chess piece associated with the target chessboard grid is changed according to the interactive mode.
2. The method according to claim 1, characterized in that Before determining the target chessboard grid and the interaction mode corresponding to the interaction event, the method further includes: In response to the arrival of a random time point corresponding to an interactive event, determining that a triggering condition of the interactive event is satisfied; or, In response to the interaction progress of the at least two camps reaching the target progress, determining that the triggering condition of the interaction event is satisfied; or, In response to the target chess pieces in the at least two camps triggering the target event, it is determined that the triggering condition of the interactive event is satisfied.
3. The method according to claim 1, characterized in that The determining of the target chessboard grid corresponding to the interactive event includes: Determine a chessboard square randomly selected from the virtual chessboard as the target chessboard square corresponding to the interactive event; or, A chess square that meets the target condition is selected from the chess squares carrying chess pieces in the virtual chessboard and is determined as the target chess square corresponding to the interactive event, wherein the target condition includes at least one of the following: the interaction level of the carried chess piece reaches the target level, the interaction progress of the carried chess piece reaches the target progress, and the carried chess piece triggers the target event.
4. The method according to claim 1, characterized in that Before changing the state or position of the target chess piece associated with the target chessboard grid according to the interactive mode, the method further includes: Determine the chess piece carried by the target chessboard grid as the target chess piece associated with the target chessboard grid; or, The chess piece with a target orientation relative to the target chessboard grid is determined as the target chess piece associated with the target chessboard grid.
5. The method according to claim 1, characterized in that The step of changing the state or position of the target chess piece associated with the target chessboard grid according to the interaction method includes: When the interaction mode indicates that the state of the chess piece in the virtual chessboard is changed, the motion state or attribute state of the target chess piece associated with the target chessboard grid is changed; When the interaction mode indicates to change the position of the chess piece in the virtual chessboard, the position of the target chess piece associated with the target chessboard grid in the virtual chessboard is changed.
6. The method according to claim 5, characterized in that Before changing the motion state of the target chess piece associated with the target chessboard grid, the method further includes: Controlling a target chess piece associated with the target chessboard grid to move on the virtual chessboard; The step of changing the motion state of the target chess piece associated with the target chessboard grid includes: The target chess piece is controlled to change from a moving state to a frozen state, wherein the target chess piece in the frozen state is in a stationary state in the virtual chessboard.
7. The method according to claim 6, characterized in that The method further comprises: When the target chess piece is in a frozen state, the target chess piece is prohibited from attacking other chess pieces, or other chess pieces are prohibited from attacking the target chess piece.
8. The method according to claim 6, characterized in that The method further comprises: Obtaining the freezing time of the target chess piece in the freezing state; When the freezing time reaches the target time, the target chess piece is controlled to recover from the freezing state to the moving state.
9. The method according to claim 5, characterized in that The type of attribute state includes at least one of the following: vitality, defense, attack power, physical strength, and magic power; wherein each type of attribute state is represented by at least one of a quantized value and a quantized graph of the corresponding state; The changing the attribute state of the target chess piece associated with the target chessboard grid includes: The attribute state is changed according to the attribute value change amount of the attribute state of the target chess piece associated with the target chessboard grid.
10. The method according to claim 5, characterized in that The step of changing the position of the target chess piece associated with the target chessboard grid in the virtual chessboard includes: When the number of target chess pieces associated with the target chessboard grid is multiple, the positions of the multiple target chess pieces in the virtual chessboard are exchanged.
11. The method according to claim 5, characterized in that The step of changing the position of the target chess piece associated with the target chessboard grid in the virtual chessboard includes: When the target chess pieces associated with the target chessboard grid include chess pieces in at least two pairs of chess pieces, and each of the chess piece pairs includes a first chess piece and a second chess piece belonging to different camps, the positions of the first chess piece and the second chess piece in each of the chess piece pairs on the virtual chessboard are exchanged.
12. The method according to claim 5, characterized in that The step of changing the position of the target chess piece associated with the target chessboard grid in the virtual chessboard includes: Controlling the target chessboard grid to perform an attack operation on a target chess piece associated with the target chessboard grid; The process of the target chess piece moving from the first chessboard square to the second chessboard square in the virtual chessboard under the attack of the target chessboard square is displayed.
13. The method according to claim 1, characterized in that The method further comprises: During the process of changing the state of the target chess piece associated with the target chess grid, or before changing the position of the target chess piece associated with the target chess grid, a change special effect of the target chess grid for the target chess piece is displayed.
14. The method according to claim 1, wherein: The step of changing the state or position of the target chess piece associated with the target chessboard grid according to the interaction method includes: When the number of the interactive events is one and the number of the target chessboard grids is at least two, the states or positions of the target chess pieces respectively associated with the at least two target chessboard grids are changed according to the interactive mode.
15. The method according to claim 1, wherein: The step of changing the state or position of the target chess piece associated with the target chessboard grid according to the interaction method includes: When the number of the interaction events is at least two, and the at least two interaction events correspond to one target chessboard square, and one interaction event corresponds to one interaction method, the state or position of the target chess piece associated with the target chessboard square is changed according to at least one of the at least two interaction methods.
16. The method according to claim 15, characterized in that The step of changing the state or position of the target chess piece associated with the target chessboard grid according to at least one of the at least two interaction modes comprises: According to an interaction method randomly selected from the at least two interaction methods, changing the state or position of the target chess piece associated with the target chessboard grid; or, According to a target interaction mode among the at least two interaction modes, changing the state or position of the target chess piece associated with the target chessboard grid, wherein the degree of compatibility between the target interaction mode and the target chess piece exceeds a degree of compatibility threshold; or According to a target number of interaction methods among the at least two interaction methods, the state or position of the target chess piece associated with the target chessboard grid is superimposed and changed, wherein the degree of superimposed change of the state or position of the target chess piece by the target number of interaction methods exceeds the sum of the degree of change of the state or position of the target chess piece by each interaction method among the target number of interaction methods alone.
17. A chessboard interactive device in a virtual scene, characterized in that: The device comprises: A first display module, used for displaying a virtual chessboard including a plurality of chessboard grids in an interface of a virtual scene; A second display module, used for displaying at least two camps that are interacting in the chessboard grid of the virtual chessboard, wherein each camp includes at least one chess piece, and one chessboard grid is used for carrying one chess piece; The interaction processing module is used to determine the target chessboard grid and interaction mode corresponding to the interaction event in response to the triggering condition of the interaction event being met during the interaction between the at least two camps, and change the state or position of the target chess piece associated with the target chessboard grid according to the interaction mode.
18. An electronic device, characterized in that: include: A memory for storing computer executable instructions or computer programs; The processor is used to implement the chessboard interaction method in a virtual scene as described in any one of claims 1 to 16 when executing the computer executable instructions or computer programs stored in the memory.
19. A computer-readable storage medium, characterized in that: Computer executable instructions or computer programs are stored, and when the computer executable instructions or computer programs are executed by a processor, the chessboard interaction method in a virtual scene described in any one of claims 1 to 16 is implemented.
20. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instruction is executed by a processor, the chessboard interaction method in a virtual scene described in any one of claims 1 to 16 is implemented.