Game control method and apparatus

By introducing player bots to fill in positions and provide intelligent interaction in murder mystery games, the waiting problem caused by the unstable number of players has been solved, improving the game experience and interactivity while reducing difficulty and operational costs.

CN116832452BActive Publication Date: 2025-11-04BEIJING LIUJIANFANG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310763725.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2025-11-04
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

In murder mystery games, the unstable number of players leads to long waiting times, especially for players of newly developed or higher-level game versions, who need to wait a long time to start the game, affecting the gaming experience.

Method used

By introducing player bots, when there are not enough players, the bots can fill in and participate in the game. They can also interact with players through intelligent interaction, thus enhancing the gaming experience.

Benefits of technology

It shortens the game startup waiting time, improves the player's gaming experience, increases the game's interactivity and fun, and reduces the game's difficulty and operational costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116832452B_ABST
    Figure CN116832452B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a game control method and device, the method comprising: in response to a game start request triggered by a player, displaying a scenario selection interface; determining a target scenario selected by the player in the scenario selection interface; determining a target character corresponding to the target scenario selected by the player; obtaining a current number of players in a game matcher; if the number of players is less than a preset number of players corresponding to the target scenario, calling a first player robot to participate in the target scenario; and if the number of players reaches the preset number of players, displaying a plot and a game task corresponding to the target character, so that the player interacts with other players based on the plot and the game task. In the above scheme, when starting the game, if it is detected that the current number of players is insufficient, a robot player can be called in time to fill the vacancy, so as to shorten the waiting time of the player when starting the game, thereby improving the experience of the player user.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of games, and in particular to a game control method and device. BACKGROUND

[0002] With the development of network technology, a script killing game has become one of the most favorite ways for people to kill time. The script killing game usually requires multiple players to participate. In the traditional script killing game, after the game server receives a game start request initiated by a player, it will detect whether the number of players in the game room where the player is located reaches a certain number. Only when the number of players in the game room reaches a certain number, the game can start formally. Due to the instability of the total number of players on the game server and the switching of players in different game rooms, the players may have to wait for a long time in a game room in order to participate in the script killing game. Especially for some newly developed game versions or game versions suitable for advanced players, since the number of players participating in the game is small, the players may need to wait for a long time before the game starts, which will affect the game experience of the players. SUMMARY

[0003] The embodiments of the present application provide a game control method and device to reduce the game waiting time of a player user and improve the game experience of the player user.

[0004] In a first aspect, the embodiments of the present application provide a game control method, which comprises:

[0005] In response to a game start request triggered by a player, a script selection interface is displayed;

[0006] A target script selected by the player in the script selection interface is determined;

[0007] A target role corresponding to the player in the target script is determined;

[0008] The number of current players in a game matcher is obtained, the game matcher being used to match multiple players participating in the target script in the same game;

[0009] If the number of players is less than a preset number of players corresponding to the target script, a first player robot is called to participate in the target script;

[0010] If the number of players reaches the preset number of players, a plot and a game task corresponding to the target role are displayed for the player to interact with other players based on the plot and the game task.

[0011] In a second aspect, the embodiments of the present application provide a game control device, which comprises:

[0012] a response module, configured to display a scenario selection interface in response to a game start request triggered by a player;

[0013] a scenario determination module, configured to determine a target scenario selected by the player in the scenario selection interface;

[0014] a role determination module, configured to determine a target role corresponding to the player in the target scenario;

[0015] an acquisition module, configured to acquire a current number of players in a game matcher, the game matcher being configured to match a plurality of players participating in the target scenario in a same game;

[0016] a calling module, configured to call a first player robot to participate in the target scenario if the number of players is less than a preset number of players corresponding to the target scenario;

[0017] a display module, configured to display a plot and a game task corresponding to the target role, so that the player interacts with other players based on the plot and the game task, if the number of players reaches the preset number of players.

[0018] In a third aspect, an electronic device is provided, and the electronic device comprises a memory, a processor, and a communication interface. The memory stores executable code. When the executable code is executed by the processor, the processor can implement the game control method in the first aspect.

[0019] In a fourth aspect, a non-transitory machine readable storage medium is provided. The non-transitory machine readable storage medium stores executable code. When the executable code is executed by a processor of a management and control device, the processor can implement the game control method in the first aspect.

[0020] In the game control scheme provided by the embodiment of the application, when a game start request triggered by a player is received, a scenario selection interface is displayed in response to the game start request triggered by the player, so that the player selects a target scenario to be played in the scenario selection interface. Then, the target scenario selected by the player in the scenario selection interface is determined, and a target role corresponding to the player in the target scenario is determined. After the target role corresponding to the player is determined, the current number of players in a game matcher is obtained, so as to determine whether to start the game according to the current number of players. The game matcher is used to match a plurality of players participating in the target scenario in the same game. If the number of players participating in the target scenario is insufficient, a first player robot can be called to participate in the target scenario to act as a player participating in the target scenario. When the number of players reaches a preset number of players corresponding to the target scenario, the game is formally started, and a plot and a game task corresponding to the target role are displayed, so that the player interacts with other players based on the plot and the game task. In the above scheme, when the game is started, if it is detected that the current number of players is insufficient, a robot player can be called in time to fill the vacancy, so as to shorten the waiting time of the player for starting the game, thereby improving the experience of the player. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0022] Figure 1 An application schematic diagram of a game control method provided by the embodiment of the present application is shown in the figure.

[0023] Figure 2 A flowchart of a game control method provided by the embodiment of the present application is shown in the figure.

[0024] Figure 3 A flowchart of another game control method provided by the embodiment of the present application is shown in the figure.

[0025] Figure 4 A flowchart of still another game control method provided by the embodiment of the present application is shown in the figure.

[0026] Figure 5 A structural schematic diagram of a game control device provided by the embodiment of the present application is shown in the figure.

[0027] Figure 6 A structural schematic diagram of an electronic device corresponding to the game control device provided by the embodiment shown in the figure. Figure 5 A structural schematic diagram of an electronic device corresponding to the game control device provided by the embodiment shown in the figure. DETAILED DESCRIPTION

[0028] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0029] In addition, the step sequence in each of the following method embodiments is only an example, not a strict limitation.

[0030] In a traditional murder mystery game, a human needs to play a role in the script, and the plot and game progress are advanced through language interaction. Therefore, only when all the roles in the script correspond to the players, the game can start. However, due to the instability of the total number of players on the game server and the switching of players in different game rooms, the players may wait for a long time in a game room to participate in the murder mystery game. Especially for some newly developed game versions or game versions suitable for advanced players, due to the small number of players participating in the game, the players may need to wait for a long time to start the game, which will affect the game experience of the players.

[0031] To solve the above technical problems, the present application proposes a new game control method and device, by adding player robots, when the game is started, if the number of players is insufficient, the player robots can be called to fill in time to shorten the waiting time of the players to start the game, so as to improve the experience of the player users. In addition, since the murder mystery game is a reasoning game, the player needs to have logical reasoning ability. However, the traditional player robot only has simple functions, and can only complete some mechanical information prompting operations, and cannot fill in the players to play the game. Therefore, the present application adds a new player robot, which can intelligently interact with the players.

[0032] The game control method can be executed by a game control device. It can be understood that the processing device can be implemented as software or a combination of software and hardware. The device is in communication connection with a player client, as shown in the accompanying Figure 1

[0033] ​The player client can be any computing device with data transmission capability. In actual implementation, the client can be a mobile phone, a personal computer (PC), a tablet computer, a set application, etc. In addition, the basic structure of the client can include at least one processor. The number of processors depends on the configuration and type of the client. The client can also include a memory, which can be volatile, such as RAM, or non-volatile, such as read-only memory (ROM), flash memory, etc., or both. The memory usually stores an operating system (OS), one or more applications, and program data.

[0034] The game control device refers to a device that can provide game control services. In physical implementation, the game control device can be any device that can provide computing services, respond to game start services triggered by players, and perform game control, such as a cluster server, a regular server, a cloud server, a cloud host, a virtual center, etc.

[0035] The client can be connected to the game control device through a network connection, which can be a wireless or wired network connection. If the client is connected to the game control device through a communication connection, the network standard of the mobile network can be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G+ (LTE+), WiMax, 5G, 6G, etc.

[0036] In the embodiment of the application, when a player wants to start a game, the player can send a game start request to the game control device through the client. After the game control device receives the game start request triggered by the player, the game control device displays a scenario selection interface in response to the game start request, so that the player can select a target scenario on the scenario selection interface. Then, the target scenario selected by the player on the scenario selection interface is determined, and the target role corresponding to the target scenario in the target scenario is determined. The target role can also be randomly assigned by the game control device. After the target role corresponding to the target scenario in the target scenario is determined, the number of current players in the game matcher is obtained before starting the game. The game matcher is used to match multiple players participating in the target scenario in the same game. It is judged whether the number of current players in the game matcher meets the preset number of players corresponding to the target scenario. If the number of players is less than the preset number of players corresponding to the target scenario, a first player robot is called to participate in the target scenario. If the number of players reaches the preset number of players, the game is started, and the plot and game task corresponding to the target role are displayed, so that the player can interact with other players based on the plot and game task.

[0037] Among them, the game method provided by the embodiment of the application can be applied to a murder mystery game system. Specifically, the game control device can be installed in the murder mystery game system to control the game triggered by the player user through the device. Since the murder mystery game is a reasoning game, the player needs to have logical reasoning ability. However, the non-player robot in the traditional murder mystery game system only has a simple function and can only complete some mechanical information prompting operations. Therefore, the robot in the traditional murder mystery system cannot be directly called to act as a player robot. In order to solve this problem, a plurality of robots can be added to the game control device in the embodiment of the application. The robots can interact with the user through voice or text, understand the user's intention and emotion, and provide targeted answers or suggestions. In the murder mystery game, the robots can appear as NPC characters, that is, non-player robots, to interact with the players, guide the game process, provide clues or challenges, and the like. At the same time, the robots can also act as player characters in the murder mystery game, understand the plot and game tasks of the corresponding preset characters in the target script, and interact with other players through voice or text to realize game interaction with other players in the game.

[0038] Optionally, the plurality of robots in the game control device can process the received text information or voice information by using a pre-trained generative language model to generate text information corresponding to the text information or voice information. For example, in the murder mystery game, the player robot and the non-player robot can generate various text information such as dialogue content, clue prompts, task instructions, and the like by using a pre-trained generative language model. That is, the player robot can understand the plot and player text information or voice information, and generate dialogue content and the like based on the plot and player interaction information, to realize the interaction between the player robot and the player user. The non-player robot is endowed with the NPC character, and more playability is added. The non-player robot can recognize the intention of the player and the plot progress, and interact with the player user according to the recognized intention of the player and the plot progress, so that the non-player robot can adjust the game difficulty in time according to the plot, time, and the like, such as giving necessary prompts, changing and deleting part of the branch plot, and the like.

[0039] Among them, a large amount of text data can be obtained, and the generative language model is learned and trained based on the large amount of text data to learn the rules, potential semantics, and various entity relationships of natural language. According to the learned rules, potential semantics, and various entity relationships of natural language, high-quality and smooth text content can be generated, and the output content can be dynamically adjusted according to the input.

[0040] Since the robot in the game control device has the ability to understand and reason text information to generate text information, when the game control device detects that the current number of players in the game matching device corresponding to the player does not meet the preset number of players corresponding to the target script, the player robot in the game control device can be directly called to act as a player to reduce the waiting time of the player, thereby improving the game experience of the player user. In addition, the player robot acts as a player, so that multiple player robots can be called to act as players at the same time, and the player user can also start playing the script killing game, realize single-player playing the script killing game, and reduce the difficulty of the game experience.

[0041] In actual application, a script killing game may take several hours, however, during the game process, the player network is often disconnected or exits the game, which causes the game to be forced to stop, thereby affecting the game experience of other players. The traditional script killing game is subject to the performance and emotional fluctuations of the players, and the game experience is not stable enough, which affects the entire game process and the experience of other players. Therefore, in the embodiment of the present application, when it is detected that a player exits the game, an idle player robot can be directly called to take over, the player robot can obtain the game data corresponding to the player who exits the game, interact with other players based on the game data, achieve seamless switching, and not affect the game process, and the game can continue.

[0042] In addition, the traditional escape room game requires certain role-playing experience and communication skills, and has high requirements for players, which can easily make new players feel difficult and stressful, and other players in the same game can also be confused. In addition, it is difficult to control the difficulty of the game, and it is difficult to balance the difficulty and interest of the game, which can cause the game to be too simple or too complex. In addition, the game plot in the script is often pre-set, and cannot be timely reacted and extended according to the choices and behaviors of the players, resulting in a lack of freedom and flexibility in the game experience. In the embodiments of the present application, the non-player robot can be called to solve the problems of high game threshold, lack of freedom and flexibility in game experience, difficulty in controlling the difficulty of the game, and lack of interest. Specifically, the game control device can monitor the game progress of each player in the game, and call a non-player robot according to the game progress and the player interaction. The non-player robot can interact with the players, guide the game progress, provide clues or challenges, and the like. That is, the introduction of the non-player robot in the game process can reduce the dependence on the players and the participation threshold, and make the game more relaxed and smooth. In addition, the non-player robot can adapt to different player levels and provide assistance, information prompts and the like, which reduces the learning difficulty and operation cost of the players. At the same time, the non-player robot can also adjust the difficulty and interest of the game, and make corresponding adjustments according to the performance and feedback of the players to ensure the balance of the game. In addition, the non-player robot can also make timely reactions and extensions according to the choices and behaviors of the players, which increases the degree of freedom and flexibility of the game.

[0043] In addition, in an optional embodiment, a new escape room game system can also be provided, and a plurality of robots are added to the new escape room game system, including player robots and non-player robots. The game control device is applied to the new escape room game system, and when it is detected that the current number of players in the game matcher corresponding to the player does not meet the preset number of players corresponding to the target script during the control and management of the player game, the player robot in the game control device can be directly called to act as a player to reduce the waiting time of the players, thereby improving the game experience of the player users. When it is detected that a player exits the game, an idle player robot can be directly called to take over. The player robot can obtain the game data corresponding to the player who exits the game, interact with other players based on the game data, achieve seamless switching, and does not affect the game progress, and can continue the game. In addition, during the game process, a non-player robot can be called at any time according to the game progress of the players to interact with the players, guide the game progress, provide clues or challenges, and the like.

[0044] The specific execution process of the game control device, the player robot and the non-player robot can refer to the related description in the foregoing embodiments, and will not be described here.

[0045] In another optional embodiment, the game control device provided by the embodiments of the present application can directly provide the functions of a murder mystery game system, that is, the game control device can not only provide relevant game functions for players but also provide game control functions. Specifically, the game control device includes a robot module, and a plurality of robots can be added to the robot module and managed. In a murder mystery game, the robots can appear as NPC characters, that is, non-player robots, to interact with players, guide the game progress, provide clues or challenges, and the like. At the same time, the robots can also act as player characters in the murder mystery game, understand the corresponding preset character's plot and game tasks in the target script, and interact with other players through voice or text to achieve game interaction with other players in the game.

[0046] In addition, the game control device can also include a game rule generator. The game rule generator can automatically generate game rules. The game rule generator can generate game rules that are logical and interesting according to game type, game theme, game difficulty, and the like, avoiding the tediousness and subjectivity of manually writing rules. For example, in a murder mystery game, the game rule generator can generate game rules and game tasks according to the set theme and game difficulty, allowing players to experience a more realistic and interesting game experience.

[0047] Optionally, the game control device can also include a data management module. The data management module can store and manage data, and the data management module can perform operations such as classification, analysis, and query on the data, improving the utilization value and security of the data. In a murder mystery game, the data management module can be used to store and manage game data and player information, such as character information, task status, score situation, and the like, facilitating system calling and player viewing.

[0048] Optionally, the game control device can also include a scene module. Through the scene module, different game scenes can be set, and corresponding game backgrounds, preset characters, and events, such as murder cases or theft cases, can be set for each game scene. In addition, the module can also display various related text descriptions and images.

[0049] Optionally, the game control device can also include a character module. The character module can assign a character to each player and provide corresponding character information, such as gender, occupation, attribute characteristics, and tasks. In addition, the module also includes various character-related dialogue options based on which the player can be interacted with.

[0050] Optionally, the game control device can further comprise a scenario module. The module can generate a scenario corresponding to each character and maintain a judgment flow of the entire scenario. It can collect evidence according to the behavior of each preset character and the interaction between preset characters, and determine the direction of the character and the direction of the scenario according to the evidence.

[0051] Optionally, the game control device can further comprise a UI module. The module can provide a game interface based on which the player can interact with the game, and can display all scenes, characters and events to the player through the game interface. In addition, the module can also display dialogue options and prompt information provided by the robot module.

[0052] The specific execution process of the game control device, the player robot and the non-player robot can refer to the related description in the foregoing embodiments, and will not be described here.

[0053] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features in the embodiments can be combined with each other without conflict. In addition, the sequence of steps in each method embodiment described below is only an example, not a strict limitation.

[0054] Figure 2 A flowchart of a game control method provided by an embodiment of the present application is shown in FIG. 1. Referring to FIG. 1, the embodiment provides a game control method. The execution subject of the method can be a game control device. It can be understood that the device can be implemented as software or a combination of software and hardware. Specifically, the game control method can comprise: Figure 2

[0055] 201, in response to a game start request triggered by the player, a scenario selection interface is displayed.

[0056] 202, determine the target scenario selected by the player in the scenario selection interface.

[0057] 203, determine the target character corresponding to the target scenario selected by the player.

[0058] 204, obtain the current number of players in the game matcher, which is used to match multiple players participating in the target scenario in the same game.

[0059] 205, if the number of players is less than the preset number of players corresponding to the target scenario, a first player robot is called to participate in the target scenario.

[0060] 206, if the number of players reaches the preset number of players, the scenario corresponding to the target character and the game task are displayed for the player to interact with other players based on the scenario and the game task.

[0061] ​In the embodiment of the present application, when the player wants to start the escape room game, the game starting request can be triggered by the client, and after receiving the game starting request triggered by the player, the scenario selection interface is displayed in response to the game starting request triggered by the player. The scenario selection interface includes a plurality of selection controls, and the player can trigger the selection controls in the scenario selection interface to select the target scenario. The scenarios mainly include happy scenarios, camp scenarios, mechanism scenarios, immersion scenarios, horror scenarios, etc. The happy scenarios are prepared for drama lovers, and are composed of various elements such as player interaction, humor, and dramatization, which are suitable for novice players. The camp scenarios are generally divided into 2 or 3 camps, and the ultimate goal of the game is to make the camp to which the player belongs win. The main fun of the mechanism scenario is to obtain an advantage in the scenario through the rules of a certain link set by the author and the mechanism gameplay. The immersion scenario immerses the player into the role in the scenario and experiences the complex story and inner feelings of the characters in the story. The horror scenario is shrouded in a very terrifying atmosphere throughout the plot, making the player always in a state of nervous tension. The player can also determine the scenario type through the scenario type control in the scenario selection interface, and then determine the specific target scenario.

[0062] The game control method provided by the embodiment of the present application can also dynamically adjust the game rules and game tasks according to the player settings. Optionally, after determining the target scenario selected by the player in the scenario selection interface, the method can further include: obtaining a plurality of preset roles included in the target scenario and a game difficulty set by the player; determining a game type and a set theme corresponding to the target scenario; generating game rules according to the game difficulty, the game type, and the set theme; and determining game tasks corresponding to the plurality of preset roles according to the game rules. The generated game rules and game tasks corresponding to the plurality of preset roles are more in line with the requirements and actual level of the player, so that the player has a better game experience.

[0063] After determining the target scenario selected by the player in the scenario selection interface, the target role corresponding to the player in the target scenario can be determined. Optionally, the specific implementation of determining the target role corresponding to the player in the target scenario can be: obtaining a plurality of preset roles included in the target scenario; generating a role selection module in the scenario selection interface based on the plurality of preset roles; and determining the target role corresponding to the player in the target scenario according to the selection of the player on the role selection module. The game control device can be used to assign roles to a plurality of players participating in the target scenario to determine the target role corresponding to the player in the target scenario. The player can also select the role himself / herself to determine the target role corresponding to the player in the target scenario, which can be determined according to actual needs, and the specific implementation is not limited.

[0064] Then, it is detected whether the current number of players in the game matcher corresponding to the target script meets the preset number of players corresponding to the target script, wherein the game matcher is used to match the multiple players participating in the target script in the same game. Specifically, the current number of players in the game matcher is obtained, if the number of players is less than the preset number of players corresponding to the target script, the first player robot is called to participate in the target script; if the number of players reaches the preset number of players, the plot and the game task corresponding to the target role are displayed for the player to interact with other players based on the plot and the game task. That is, only when the current number of players in the game matcher corresponding to the target script reaches the preset number of players corresponding to the target script, and each role in the target script is selected, the plot and the game task corresponding to the player can be displayed to the player, which can effectively avoid that when the game cannot be formally started, the player switches the role in the target script or maliciously checks the plot and the game task corresponding to the other preset roles in the target script to disclose the relevant content of the game, thereby affecting the game experience of other players.

[0065] In actual application, when the target script selected by the player is relatively unpopular or the difficulty of the target script selected by the player is relatively high, the number of players who select the target script at the same time is relatively small, the game cannot be formally started, and the player needs to wait for a relatively long time. In order to avoid that when the game is formally started, the player waits for a relatively long time due to the lack of players, the first player robot can be called to participate in the target script to timely fill the vacancy, so that the first player robot acts as a player and allocates a role for the player robot.

[0066] In an optional embodiment, the specific implementation process of calling the first player robot to participate in the target script can include: determining the first player robot from the multiple idle player robots; determining the preset role corresponding to the first player robot; determining the plot and the task corresponding to the first player robot based on the preset role; and sending the plot and the task corresponding to the first player robot to the first player robot, so that the first player robot interacts with other players in the game.

[0067] After the current number of players reaches the preset number of players corresponding to the target script, the plot and the task corresponding to the target role can be displayed. Alternatively, the specific implementation process of displaying the plot and the game task corresponding to the target role can include: obtaining the role information, the plot and the game task corresponding to the target role; and sending the role information, the plot and the game task to the player, so that the role information, the plot and the game task are displayed on the game interface of the player.

[0068] When the player obtains the role information, plot and game task of the target role corresponding to the player in the target script through the game interface, the player can interpret the role information, plot and game task of the target role to sort out the story timeline and character relationship. Here, the role information, plot and game task can be displayed in episodes, or all the role information, plot and game task can be displayed at once. The specific implementation mode can be set according to the game rules or the player's demand.

[0069] Similarly, if the player robot is called at the beginning of the game, after the player robot is displayed with the role information, plot and game task of the preset role corresponding to the player robot in the target script, the role information, plot and game task of the preset role can be input into the pre-trained generative language model to identify the story timeline, character relationship and other information corresponding to the plot by using the generative language model, and generate corresponding dialogue content based on the identified story timeline, character relationship and other player output text information or voice, to realize intelligent game interaction with other players.

[0070] In the embodiment of the application, after determining the target role corresponding to the player, it is detected whether the number of players currently participating in the target script reaches the condition for formally starting the game. When the number of players reaches the preset number of players corresponding to the target script, the game is formally started, and the plot and game task corresponding to the target role are displayed for the player to interact with other players based on the plot and game task. If the number of players currently participating in the target script is insufficient, a robot player can be called to participate in the target script in time, so that the game can be started directly, and the waiting time for starting the game of the player is shortened, thereby improving the experience of the player user.

[0071] The related content not described in the embodiment can be referred to the related description in the foregoing embodiments, which will not be described here.

[0072] In addition, in order to increase the interactivity and interest of the game, a non-player robot can also be called during the game to obtain related clue information through question and answer with the non-player robot. In order to facilitate understanding of the specific implementation process of calling the non-player robot and the interaction between the non-player robot and the player, the specific implementation process of calling the non-player robot and the interaction between the non-player robot and the player will be described in combination with Figure 3 for example.

[0073] Figure 3 The flowchart of another game control method provided by the embodiment of the application is shown in the accompanying drawings. Figure 3 As shown in the accompanying drawings, in order to increase the interactivity and interest of the game, the player game interface can also include a dialogue control. Based on the above embodiment, specifically, the method can further include:

[0074] 301、responding to the player's selection operation on the dialogue control, display the dialogue interface.

[0075] 302、through the dialogue interface, obtain the text information input by the player.

[0076] 303、based on the text information, generate dialogue text.

[0077] 304、convert the dialogue text into corresponding speech, and control the non-player robot to play the speech.

[0078] In the embodiment of the application, the dialogue control is provided in the game interface corresponding to the player, so that the player can interact with the non-player robot provided in the murder mystery game by triggering the dialogue control during the game. Specifically, during actual game, once the player starts the murder mystery game, a game may take several hours, and the player may feel bored during the game. At this time, the player can trigger the dialogue control. Specifically, in response to the player's selection operation on the dialogue control, the dialogue interface is displayed, so that the player can input the text information to be communicated in the dialogue interface. Then, the text information input by the player in the dialogue interface is determined, and dialogue text is generated based on the text information, and the dialogue text is converted into corresponding speech, and the non-player robot is controlled to play the speech. In actual application, the dialogue text can also be directly displayed in the dialogue interface without text-to-speech conversion processing operation, which can be set according to the player's demand.

[0079] During the game, the player may not be convenient to input text information in many scenes, and can directly interact with the non-player robot by voice. Specifically, in an optional embodiment, in response to the player's selection operation on the dialogue control, the non-player robot is called to receive the voice signal sent by the player, identify the text information corresponding to the voice signal, and generate the corresponding dialogue text based on the text information. The dialogue text is converted into corresponding speech, and the non-player robot is controlled to play the speech.

[0080] Wherein, the specific implementation process of generating dialogue text based on text information can include: obtaining the game data corresponding to the current player, analyzing and processing the text information and the game data by using a language model to obtain the dialogue text corresponding to the text information, and the language model is trained to generate the dialogue text corresponding to the text information. Wherein, the language model can be a generative language model, which is trained by using a large amount of text data to learn the rules, potential semantics and entity relationships of natural language, so as to generate high-quality and fluent text content, and can dynamically adjust the output content according to the input.

[0081] In addition, the script killing game usually requires the player to have certain role playing experience, communication ability and logical reasoning ability, and the requirement for the player is high, which is easy to make the novice feel difficult and pressure, and other players in the same game are also troubled. Therefore, in the game process, if the game progresses are difficult, the player can trigger the dialogue control to interact with the non-player robot set in the script killing game to provide clues to the player. Specifically, the target script, the player's corresponding plot and game task, and the player's interaction information are obtained, the target script, the player's corresponding plot and game task, and the player's interaction information are obtained, the clue prompt information is generated, the clue prompt information is converted into corresponding voice, and the non-player robot is controlled to play the voice.

[0082] In the embodiment of the application, the dialogue interface is displayed in response to the selection operation of the player on the dialogue control, and the text information input by the player is obtained through the dialogue interface. Based on the text information, the dialogue text is generated, the dialogue text is converted into corresponding voice, and the non-player robot is controlled to play the voice. The player user and the non-player robot can intelligently chat and ask and answer in the game process, and the game experience and interest of the player user are increased.

[0083] The above embodiment introduces the specific implementation process of the player user interacting with the non-player robot by triggering the dialogue control in the game interface. That is, the player interacts with the non-player robot. Similarly, the non-player robot can also actively interact with the player to guide the game process, set challenges or prompt clue information for the player. For example, the game progress of the player is monitored in real time, the player interaction information is obtained according to the game progress, the clue prompt information is generated according to the player interaction information, and the clue prompt information is sent to the player to make the player interact with other players based on the clue prompt information. That is, the performance and feedback of the player can be dynamically adjusted to ensure the balance of the game.

[0084] Alternatively, in the actual game process, if the player level is high, the current set game rules and game tasks are too low for the player, thereby affecting the game experience of the player, the non-player robot can be controlled to actively interact with the player to set game obstacles or game challenges for the player. For example, a random event is introduced, some events are randomly triggered in the game process to increase the variability and interest of the game. Specifically, the game progress of the player is monitored in real time, the game challenge is generated according to the game progress, the game challenge is converted into corresponding voice, and the non-player robot is controlled to play the voice. That is, the performance and feedback of the player can be dynamically adjusted to ensure the balance of the game, and the non-player robot can also make timely response and extension according to the selection and behavior of the player, thereby increasing the freedom and flexibility of the game.

[0085] In addition, in the script killing game, the phenomenon of network exception of the player quitting the game in the middle often occurs, so that other players cannot continue the game and are forced to interrupt the game, which will seriously affect the user experience of other players. In order to ensure the stability of the script killing game, when a player quits in the middle, a player robot can be called in time to take over the player and continue the game. In combination with Figure 4 The implementation process of calling the player robot in the middle is exemplarily illustrated.

[0086] Figure 4 A flowchart of another game control method provided by the embodiment of the present application is shown in the figure. Figure 4 In order to improve the game stability, on the basis of the above embodiment, the method can further include the following steps:

[0087] 401, detecting the game state corresponding to each of the multiple players participating in the target script.

[0088] 402, if it is detected that a first player quits the game in the middle, a second player robot is called to participate in the target script game, and the first player is included in the multiple players.

[0089] 403, obtaining the game data corresponding to the first player.

[0090] 404, sending the game data to the second player robot, so that the player robot interacts with other players based on the game data.

[0091] After the game starts formally, the game state corresponding to each of the multiple players participating in the target script can be detected in real time, or the game state corresponding to each of the multiple players participating in the target script can be detected according to a preset period. If it is detected that a first player quits the game in the middle, a second player robot is called to participate in the target script game. The first player can be any one of the multiple players participating in the target script.

[0092] In the calling of the second player robot to replace the game of the first player who quits in the middle, the game is continued and completed, and in order not to affect the game experience of other players, when the second player robot replaces the first player who quits the game, the game data corresponding to the first player is obtained, so that the second player robot can continue to interact with other players based on the game data of the first player.

[0093] In the implementation of the present application, by detecting the game state corresponding to each of the multiple players participating in the target script, whether the game state of the player is abnormal can be found in time, so that the player robot can be called in time to take over the player and continue the game, avoiding being forced to go offline in the middle. Not only the stability of the script killing game is ensured, but also the game experience of other players is improved.

[0094] The related content not described in this embodiment can refer to the related description in the foregoing embodiments, which will not be described here.

[0095] The game control device of one or more embodiments of the present application will be described in detail below. Those skilled in the art can understand that these devices can be configured by using commercially available hardware components through the steps taught by the present application.

[0096] Figure 5 A structural schematic diagram of a game control device provided by an embodiment of the present application is shown in FIG. 1, which includes a response module 11, a scenario determination module 12, a role determination module 13, an acquisition module 14, a calling module 15, and a display module 16. Figure 5

[0097] The response module 11 is configured to display a scenario selection interface in response to a game start request triggered by a player.

[0098] The scenario determination module 12 is configured to determine a target scenario selected by the player in the scenario selection interface.

[0099] The role determination module 13 is configured to determine a target role corresponding to the player in the target scenario.

[0100] The acquisition module 14 is configured to acquire a current number of players in a game matcher, which is used to match multiple players participating in the target scenario in the same game.

[0101] The calling module 15 is configured to call a first player robot to participate in the target scenario if the number of players is less than a preset number of players corresponding to the target scenario.

[0102] The display module 16 is configured to display a plot and a game task corresponding to the target role if the number of players reaches the preset number of players, so that the player can interact with other players based on the plot and the game task.

[0103] Optionally, the device can further include a setting module, which can be specifically configured to: acquire multiple preset roles included in the target scenario and a game difficulty set by the player; determine a game type and a setting theme corresponding to the target scenario; generate a game rule according to the game difficulty, the game type, and the setting theme; and determine a game task corresponding to each of the multiple preset roles according to the game rule.

[0104] ​Optionally, the role determining module 13 can be specifically configured to: acquire a plurality of preset roles included in the target script; generate a role selection module in the script selection interface based on the plurality of preset roles; and determine a target role corresponding to the player in the target script according to a selection of the player on the role selection module.

[0105] Optionally, the calling module 15 can be specifically configured to: determine a first player robot from a plurality of idle player robots; determine a preset role corresponding to the first player robot; determine a plot and a task corresponding to the first player robot based on the preset role; and send the plot and the task corresponding to the first player robot to the first player robot, so that the first player robot interacts with other players in a game.

[0106] Optionally, the display module 16 can be specifically configured to: acquire role information, a plot, and a game task corresponding to the target role; and send the role information, the plot, and the game task to the player, so that the player game interface displays the role information, the plot, and the game task.

[0107] Optionally, the player game interface includes a dialogue control, and the apparatus can further include a dialogue module, which can be specifically configured to: display a dialogue interface in response to a selection operation of the player on the dialogue control; acquire text information input by the player through the dialogue interface; generate dialogue text based on the text information; convert the dialogue text into corresponding speech, and control a non-player robot to play the speech.

[0108] Optionally, the dialogue module can be specifically configured to: acquire game data corresponding to the player at present; and analyze and process the text information and the game data by using a language model to obtain dialogue text corresponding to the text information, wherein the language model is trained to generate dialogue text corresponding to text information.

[0109] Optionally, the apparatus can further include a detection module, which can be specifically configured to: detect game states corresponding to a plurality of players participating in the target script respectively; call a second player robot to participate in the target script game if a first player quits the game halfway, wherein the plurality of players include the first player; acquire game data corresponding to the first player; and send the game data to the second player robot, so that the player robot interacts with other players in a game based on the game data.

[0110] Optionally, the apparatus can further include a monitoring module, which can be specifically configured to: monitor the game progress of the player in real time; acquire player interaction information according to the game progress; generate clue prompt information according to the player interaction information; and send the clue prompt information to the player, so that the player performs game interaction with other players based on the clue prompt information.

[0111] Figure 5 The apparatus can perform the steps involved in the game control apparatus described above, and the detailed execution process and technical effects can be referred to the description in the foregoing embodiments, which will not be repeated here.

[0112] In one possible design, the game control apparatus described above Figure 5 The structure of the game control apparatus can be implemented as an electronic device, such as a server. Figure 6 The electronic device can include a first processor 21 and a first memory 22 configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the first processor 21, implement the steps performed by the game control apparatus in the foregoing embodiments.

[0113] Optionally, the electronic device can further include a first communication interface 23 configured to communicate with other devices.

[0114] In addition, the embodiments of the present application provide a non-transitory machine readable storage medium, which stores executable code, and when the executable code is executed by a processor of an electronic device, the processor can at least implement the game control method provided in the foregoing embodiments.

[0115] The apparatus embodiments described above are merely schematic, and the units described as separate components can or can not be physically separated. Part or all of the modules can be selected according to actual needs to achieve the purposes of the embodiments. Those skilled in the art can understand and implement without creative labor.

[0116] Those skilled in the art can clearly understand the implementation of the embodiments by means of general hardware platforms, and of course, the embodiments can also be implemented by combining hardware and software. Based on this understanding, the above technical solutions can be embodied in the form of computer products, and the embodiments can be implemented in the form of computer program products on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.

[0117] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; and although the present application has been described in detail with reference to the foregoing embodiments, it should be appreciated by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features thereof can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A game control method characterized by comprising: The method comprises: displaying a scenario selection interface in response to a game start request triggered by a player; determining a target scenario selected by the player in the scenario selection interface; obtaining a plurality of preset roles included in the target scenario and a game difficulty set by the player; determining a game type and a setting theme corresponding to the target scenario; generating game rules according to the game difficulty, the game type, and the setting theme; determining game tasks corresponding to the plurality of preset roles according to the game rules; determining a target role corresponding to the player in the target scenario; obtaining a current number of players in a game matcher, the game matcher being configured to match a plurality of players participating in the target scenario in the same game; if the number of players is less than a preset number of players corresponding to the target scenario, invoking a first player robot to participate in the target scenario; if the number of players reaches the preset number of players, presenting a plot and game tasks corresponding to the target role, so that the player interacts with other players based on the plot and game tasks; identifying a player intention and a plot progress of the player, and adjusting a game difficulty corresponding to the player based on the player intention and the plot progress, so that the plot and game tasks corresponding to the player are adjusted based on the adjusted game difficulty corresponding to the player.

2. The method of claim 1, wherein, The determination of the target role corresponding to the player in the target scenario comprises: obtaining a plurality of preset roles included in the target scenario; generating a role selection module in the scenario selection interface based on the plurality of preset roles; determining the target role corresponding to the player in the target scenario according to the selection of the player on the role selection module.

3. The method of claim 1, wherein, The invocation of the first player robot to participate in the target scenario comprises: determining a first player robot from a plurality of idle player robots; determining a preset role corresponding to the first player robot; determining a plot and tasks corresponding to the first player robot based on the preset role; sending the plot and tasks corresponding to the first player robot to the first player robot, so that the first player robot interacts with other players.

4. The method of claim 1, wherein, The presentation of the plot and game tasks corresponding to the target role comprises: obtaining role information, a plot, and game tasks corresponding to the target role; sending the role information, the plot, and the game tasks to the player, so that the player game interface displays the role information, the plot, and the game tasks.

5. The method of claim 1, wherein, The player game interface comprises a dialogue control, and the method further comprises: displaying a dialogue interface in response to a selection operation of the player on the dialogue control; obtaining text information input by the player through the dialogue interface; generating dialogue text based on the text information; converting the dialogue text into corresponding speech and controlling a non-player robot to play the speech.

6. The method of claim 5, wherein, The generation of dialogue text based on the text information comprises: obtaining game data corresponding to the player; The text information and the game data are analyzed and processed by using a language model to obtain dialogue text corresponding to the text information, the language model being trained to generate dialogue text corresponding to text information.

7. The method of claim 1, wherein, The method further comprises: detecting respective game states of a plurality of players participating in the target script; if it is detected that a first player quits the game halfway, calling a second player robot to participate in the target script game, the plurality of players including the first player; obtaining game data corresponding to the first player; sending the game data to the second player robot, so that the player robot interacts with other players based on the game data.

8. The method of claim 1, wherein, The method further comprises: monitoring the game progress of the player in real time; obtaining player interaction information according to the game progress; generating clue prompt information according to the player interaction information; sending the clue prompt information to the player, so that the player interacts with other players based on the clue prompt information.

9. An electronic device, comprising: It comprises: a memory, a processor, a communication interface; wherein the memory stores executable code, when the executable code is executed by the processor, the processor executes the game control method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Game control method and device

    CN108479064A

  • Method and device for chatting NPC and player character, and medium

    CN115228088A