Game control method and device
By obtaining task completion information and adjusting task difficulty in the game, the problem of different levels of pass time for different players is solved, and the balance and fairness of the game experience is achieved.
Patent Information
- Application Number
- CN202111486977.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-07
AI Technical Summary
There are large differences in the game duration of different players, resulting in uneven gaming experience.
By obtaining the player's trigger time and expected trigger time for the game task, determine the current player's game level, and adjust the difficulty of subsequent game tasks according to the game level to balance the pass time of different players. Specific methods include obtaining the number and duration of completed tasks when the first task of the game is completed, calculating the task completion efficiency, and adjusting the difficulty of unfinished tasks according to the efficiency, such as adjusting the number and priority of game prompt information, and game tasks. execution order.
It effectively balances the game leveling time of different players and improves the consistency and fairness of the game experience.
Smart Images

Figure CN114159793B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to computer technology, and more particularly to a game control method and device. Background Art
[0002] As people's living standards continue to improve, more and more people participate in entertainment games in their spare time.
[0003] At present, there are some clearance-type entertainment games, which include many game tasks. When the player completes the corresponding game tasks, he can pass the corresponding game level. When the player passes all the game levels, the current game can be completed.
[0004] However, because different players have different gaming levels, there will be large differences in the time it takes different players to complete the game, which will lead to an imbalance in the time it takes different players to complete the game. Summary of the invention
[0005] The embodiments of the present application provide a game control method and device to overcome the problem of uneven game completion time for different players.
[0006] In a first aspect, an embodiment of the present application provides a game control method, wherein the game includes M game tasks, where M is an integer greater than 1, including:
[0007] When a first game task of the game is completed, obtaining a first number of completed game tasks in the game and a duration of the game, wherein the first game task is a game task other than the last game task among the M game tasks;
[0008] Determine the task completion efficiency of the game according to the first number, M, the duration, and a preset total game duration;
[0009] The game difficulty of the uncompleted game tasks among the M game tasks is adjusted according to the task completion efficiency.
[0010] In a possible design, determining the task completion efficiency of the game according to the first number, M, the duration, and a preset total game duration includes:
[0011] Determine the completion quantity ratio according to the first quantity and M;
[0012] Determine the time ratio according to the duration and the total game time;
[0013] The task completion efficiency of the game is determined based on the completion quantity ratio and the time ratio.
[0014] In a possible design, determining the task completion efficiency of the game according to the completion quantity ratio and the time ratio includes:
[0015] The difference between the completion quantity percentage and the time percentage is determined as the task completion efficiency.
[0016] In a possible design, adjusting the game difficulty of the uncompleted game tasks among the M game tasks according to the task completion efficiency includes:
[0017] determining at least one second game task from among the unfinished game tasks;
[0018] The game difficulty of the at least one second game task is adjusted.
[0019] In a possible design, for any one of the at least one second game tasks, adjusting the game difficulty of the at least one second game task includes:
[0020] Acquire a first efficiency range in which the task completion efficiency lies;
[0021] Determining a second quantity of game prompt information corresponding to the second game task according to the first efficiency range, wherein an average value of the first efficiency range is inversely proportional to the second quantity;
[0022] The second number of game prompt information is set in the game scene of the second game task.
[0023] In a possible design, setting the second number of game prompt information in the game scene of the second game task includes:
[0024] Ranking each piece of game prompt information included in the second game task according to the priority of each piece of game prompt information included in the second game task;
[0025] Determine the second number of game prompt information that are ranked high as target prompt information;
[0026] The target prompt information is set in the scene of the second game task.
[0027] In a possible design, determining at least one second game task in the unfinished game tasks includes:
[0028] Determine the execution order of the M game tasks;
[0029] According to the execution order of the M game tasks, the adjacent N game tasks after the first game task are determined as the at least one second game task, where N is an integer greater than or equal to 1 and less than M.
[0030] In a possible design, the game is a room escape game, and each game task corresponds to a game mechanism in the room escape game; when the first game task of the game is completed, obtaining a first number of completed game tasks in the game and the duration of the game includes:
[0031] When it is detected that the game mechanism corresponding to the first game task is triggered, it is determined that the first game task is completed, and a first number of completed game tasks in the game and a duration of the game are obtained.
[0032] In a second aspect, an embodiment of the present application provides a game control device, wherein the game includes M game tasks, where M is an integer greater than 1, including:
[0033] an acquisition module, configured to acquire, when a first game task of the game is completed, a first number of completed game tasks in the game and a duration of the game, wherein the first game task is a game task other than the last game task among the M game tasks;
[0034] A determination module, configured to determine the task completion efficiency of the game according to the first number, the M, the duration and a preset total game duration;
[0035] The adjustment module is used to adjust the game difficulty of the uncompleted game tasks among the M game tasks according to the task completion efficiency.
[0036] In a possible design, the determining module is specifically used to:
[0037] Determine the completion quantity ratio according to the first quantity and M;
[0038] Determine the time ratio according to the duration and the total game time;
[0039] The task completion efficiency of the game is determined based on the completion quantity ratio and the time ratio.
[0040] In a possible design, the determining module is specifically used to:
[0041] The difference between the completion quantity percentage and the time percentage is determined as the task completion efficiency.
[0042] In a possible design, the adjustment module is specifically used for:
[0043] determining at least one second game task from among the unfinished game tasks;
[0044] The game difficulty of the at least one second game task is adjusted.
[0045] In a possible design, for any one of the at least one second game task, the adjustment module is specifically configured to:
[0046] Acquire a first efficiency range in which the task completion efficiency lies;
[0047] Determining a second quantity of game prompt information corresponding to the second game task according to the first efficiency range, wherein an average value of the first efficiency range is inversely proportional to the second quantity;
[0048] The second number of game prompt information is set in the game scene of the second game task.
[0049] In a possible design, the adjustment module is specifically used for:
[0050] Ranking each piece of game prompt information included in the second game task according to the priority of each piece of game prompt information included in the second game task;
[0051] Determine the second number of game prompt information that are ranked high as target prompt information;
[0052] The target prompt information is set in the scene of the second game task.
[0053] In a possible design, the adjustment module is specifically used for:
[0054] Determine the execution order of the M game tasks;
[0055] According to the execution order of the M game tasks, the adjacent N game tasks after the first game task are determined as the at least one second game task, where N is an integer greater than or equal to 1 and less than M.
[0056] In a possible design, the game is a room escape game, and each game task corresponds to a game mechanism in the room escape game; the acquisition module is specifically used for:
[0057] When it is detected that the game mechanism corresponding to the first game task is triggered, it is determined that the first game task is completed, and a first number of completed game tasks in the game and a duration of the game are obtained.
[0058] In a third aspect, an embodiment of the present application provides a game control device, including:
[0059] Memory, used to store programs;
[0060] A processor is used to execute the program stored in the memory. When the program is executed, the processor is used to execute the method described in the first aspect and any one of the various possible designs of the first aspect.
[0061] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect and any one of the various possible designs of the first aspect.
[0062] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in the first aspect and any one of the various possible designs of the first aspect.
[0063] The embodiment of the present application provides a game control method and device, the method comprising: when the first game task of the game is completed, obtaining the first number of completed game tasks in the game and the duration of the game, the first game task being the game task other than the last game task among the M game tasks. Determine the task completion efficiency of the game according to the first number, M, the duration and the preset total game duration. Adjust the game difficulty of the unfinished game tasks among the M game tasks according to the task completion efficiency. When the player completes the game task, determine the game task completion efficiency of the current player according to the number of game tasks completed by the player, the total number of game tasks, the game duration when the player completes the current game task, and the preset total game duration, and then adjust the game difficulty of the remaining game tasks according to the game task completion efficiency, so as to effectively balance the game clearance time of players of different levels. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0065] Figure 1 A schematic diagram of a game level of a game provided in an embodiment of the present application;
[0066] Figure 2 A flowchart of a game control method provided in an embodiment of the present application;
[0067] Figure 3The process of the game control method provided in the embodiment of the present application Figure 2 ;
[0068] Figure 4 A schematic diagram of an implementation of determining task completion efficiency provided in an embodiment of the present application;
[0069] Figure 5 A schematic diagram of the implementation sequence of the game tasks provided in the embodiment of the present application;
[0070] Figure 6 Implementation diagram of the efficiency range provided in the embodiment of the present application Figure 1 ;
[0071] Figure 7 Implementation diagram of the efficiency range provided in the embodiment of the present application Figure 2 ;
[0072] Figure 8 A schematic diagram of the structure of a game control device provided in an embodiment of the present application;
[0073] Fig. 9 A schematic diagram of the hardware structure of a game control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0075] In order to better understand the technical solution of the present application, the relevant technologies involved in the present application are further introduced in detail below.
[0076] With the continuous improvement of people's living standards and the faster pace of life, study and work of modern people, more and more people participate in entertainment games in their spare time.
[0077] At present, there are some level-clearing entertainment games, such as escape room. The gameplay of escape room is to lock multiple players of the same team in multiple closed rooms arranged in sequence, each of which can be used as a game level. Different game levels can be arranged differently according to the theme of the game, and each game level can include multiple game tasks.
[0078] The specific steps during the game are: the host tells the background of the story, then the players understand the theme and observe the environment, then the players begin to explore and search the secret room, find useful clues, and find the answer or mechanism of the game task based on the clues to complete the game task. After completing the game task of the current game level, you can pass the current game level. After completing all the game levels of this game, the current game is completed.
[0079] It is understandable that the ultimate goal of the escape room game is to escape from the enclosed room. Figure 1 For further understanding, Figure 1 A schematic diagram of a game level of a game provided in an embodiment of the present application.
[0080] like Figure 1 As shown, suppose that in the current escape room game, there are 5 rooms, each of which is a game level. Figure 1 There are 5 levels in the escape room game shown, and each game level can include multiple tasks. After the player completes part or all of the game tasks in the current room, for example, he can get an object leading to the next room. The object here can be, for example, a key to open a door lock, a key to start an elevator, or a password to open a door lock, etc. This embodiment does not limit the specific implementation of the object leading to the next room, which can depend on the specific game design. As long as you have the object, you can get from the current room to the next room.
[0081] For example, Figure 1 In the illustrated escape room game with 5 rooms, for example, the player first searches for clues and completes tasks in room 1, thereby obtaining an object leading from room 1 to room 2, and then the player reaches room 2. Next, the player continues to search for clues and complete tasks in room 2, thereby obtaining an object leading from room 2 to room 3, and then the player reaches room 3. Similarly, the player reaches room 4 and room 5 in turn, and finally opens room 5. Based on the above process, the current escape room game can be completed, and the route for the clearance can be, for example, Figure 1 The dotted line described in .
[0082] Based on the above introduction, it can be determined that in this type of puzzle escape game, players need to solve the puzzles in the secret room within the specified time and trigger the mechanism to escape from the room. When players encounter difficulties, they can use the intercom to ask the staff for help.
[0083] However, because different players have different game skills, the time it takes for different players to complete the game varies greatly. For example, some players may exceed the time limit for decrypting the secret room, and some players may complete the decryption very quickly. Therefore, the existing technical implementation scheme will lead to uneven gaming experience for players.
[0084] It should be noted here that when playing the escape room game, the game may be completed by one person or by multiple people working together. Therefore, the players in this application can be one person or a group of multiple people. This application does not impose any restrictions on this. Anyone who completes the current escape room game together can be regarded as a player in this application.
[0085] In response to the problems in the prior art, the present application proposes the following technical concept: by obtaining the player's trigger time for the game task and the estimated trigger time of each game task, the current player's game level is determined, and then the difficulty of subsequent game tasks is adjusted according to the player's game level, so as to effectively balance the game completion time of different players.
[0086] Based on the above introduction, the game control method provided by the present application is introduced below in combination with specific embodiments. It is worth noting that the execution subjects of the various embodiments in the present application can be, for example, servers, processors, microprocessors and other devices with data processing functions. The present application does not limit the specific execution subjects, as long as they can realize data reception and transmission and data processing.
[0087] First combine Figure 2 The game control method provided in the embodiment of the present application is introduced. Figure 2 A flowchart of a game control method provided in an embodiment of the present application.
[0088] like Figure 2 As shown, the method includes:
[0089] S201. When the first game task of the game is completed, obtain a first number of completed game tasks in the game and a duration of the game, where the first game task is a game task other than the last game task among the M game tasks.
[0090] In this embodiment, the game may include M game tasks, and the specific implementation of each game task can be implemented according to the actual game design. For example, it can be to answer corresponding questions, or it can be to adjust related equipment to a certain posture (for example, turn the clock to 9 o'clock), etc. This embodiment does not limit the specific implementation of the game tasks.
[0091] When the first game task of the game is completed, the first number of completed game tasks in the game can be obtained, and the duration of the game can also be obtained, where the first game task is the task other than the last game task among the M game tasks included in the game.
[0092] The first number of completed game tasks refers to how many game tasks have been completed in total when the current first game task is completed, and the duration of the game refers to how many games have been played in total when the current first game task is completed.
[0093] In a possible implementation, a trigger sensing device is provided for each game task, and each game task may correspond to a game mechanism. When the trigger sensing device detects that the game mechanism corresponding to the current first game task is triggered, it can be determined that the first game task is completed. In a possible implementation, the trigger sensing device may send information that the first game task has been completed to the device that performs control in this embodiment, such as a server. After receiving the information that the first game task has been completed, the control device may, for example, add 1 to the number of completed game tasks, thereby obtaining the first number of completed tasks in the game.
[0094] And for example, there may be a timer in the control device, which can start timing from the start of the game. Therefore, when the control device receives information that the first game task has been completed, it can obtain the current timing duration of the timer, thereby obtaining the duration of the game when the first game task is completed.
[0095] S202. Determine the task completion efficiency of the game according to the first number, M, the duration and the preset total game duration.
[0096] It can be determined that the game in this embodiment includes a total of M game tasks, and it is assumed that a preset total game time is also set for the game in this embodiment, where the preset total game time can be, for example, the average clearance time of the current game, or it can also be regarded as the recommended game time given by the game planner. This embodiment does not impose any restrictions on this.
[0097] Then, currently there is the first number of completed game tasks and the total number of game tasks M, as well as the game duration when the first game task is completed and the preset total game duration. Therefore, based on this information, the game task completion efficiency can be determined, where the game task completion efficiency can indicate how fast the player completes the game.
[0098] In a possible implementation, for example, the four parameters of the first number, M, duration, and the preset total game duration may be processed according to a preset formula to determine the task completion efficiency. Alternatively, the four parameters of the first number, M, duration, and the preset total game duration may be input into a preset model so that the preset model outputs the task completion efficiency, wherein the preset model may be a pre-trained model for outputting the task completion efficiency.
[0099] S203. Adjust the game difficulty of the unfinished game tasks among the M game tasks according to the task completion efficiency.
[0100] After determining the task completion efficiency, the speed at which the current player completes the game can be determined, so the game difficulty of the uncompleted game tasks among the M game tasks can be adjusted according to the task completion efficiency.
[0101] In a possible implementation, for example, when the task completion efficiency indicates that the player completes the game quickly, the game difficulty of the unfinished game tasks can be increased to extend the game completion time of the current player. Also, for example, when the task completion efficiency indicates that the player completes the game slowly, the game difficulty of the unfinished game tasks can be reduced to shorten the game completion time of the current player, thereby balancing the game completion time of different players.
[0102] The game control method provided in the embodiment of the present application includes: when the first game task of the game is completed, obtaining the first number of completed game tasks in the game and the duration of the game, the first game task being the game task other than the last game task among the M game tasks. Determine the task completion efficiency of the game based on the first number, M, the duration and the preset total game duration. Adjust the game difficulty of the unfinished game tasks among the M game tasks based on the task completion efficiency. When the player completes the game task, the game task completion efficiency of the current player is determined based on the number of game tasks completed by the player, the total number of game tasks, the duration of the game when the player completes the current game task, and the preset total game duration, and then adjust the game difficulty of the remaining game tasks based on the game task completion efficiency, so as to effectively balance the game clearance time of players of different levels.
[0103] Based on the above embodiments, Figures 3 to 7 The game control method provided by this application is further introduced in detail. Figure 3 The process of the game control method provided in the embodiment of the present application Figure 2 , Figure 4 A schematic diagram of an implementation of determining task completion efficiency provided in an embodiment of the present application, Figure 5A schematic diagram of the implementation sequence of the game tasks provided in the embodiment of the present application, Figure 6 Implementation diagram of the efficiency range provided in the embodiment of the present application Figure 1 , Figure 7 Implementation diagram of the efficiency range provided in the embodiment of the present application Figure 2 .
[0104] like Figure 3 As shown, the method includes:
[0105] S301. When the first game task of the game is completed, obtain a first number of completed game tasks in the game and a duration of the game, wherein the first game task is a game task other than the last game task among the M game tasks.
[0106] The implementation of S301 is similar to the implementation of S201 described above, and will not be described in detail here.
[0107] S302. Determine the completion quantity ratio according to the first quantity and M.
[0108] In this embodiment, when determining the efficiency of completing the game tasks, for example, the completion quantity ratio may be determined based on the first quantity and M.
[0109] It can be understood that the first number is the number of completed game tasks in the game when the first game task is completed, and M is the total number of game tasks in the current game. The completion number ratio can be determined based on the first number and M, where the completion number ratio is used to indicate the ratio of the number of completed game tasks to the total number of game tasks when the first game task is completed.
[0110] In a possible implementation, for example, the ratio of the first number to M can be determined as the completion ratio. Here, a specific example is used for description. Assuming that M is 20, that is, the game includes 20 game tasks in total, and assuming that when the first game task is completed, the first number of completed game tasks in the game is 2, then, for example, the completion ratio can be determined to be 2 / 20=0.1.
[0111] S303: Determine the time ratio according to the duration and the total game time.
[0112] Furthermore, in this embodiment, the time ratio can also be determined based on the duration and the total game duration. It can be understood that the duration refers to the duration of the game when the first game task is completed, and the total game duration refers to the total preset duration for completing all game tasks. Therefore, the time ratio can be determined based on the duration and the total game duration, wherein the time ratio is used to indicate the ratio of the time used when the first game task is completed to the total preset game duration.
[0113] In a possible implementation, for example, the ratio of the duration to the total game duration can be determined as the time usage ratio. Here, a specific example is used for introduction. Assuming that the duration is 20 minutes, that is, the time taken by the player to complete the first game task is 20 minutes, and assuming that the preset total game duration is 100 minutes, then, for example, the time usage ratio can be determined as 20 / 100=0.2.
[0114] S304: Determine the difference between the percentage of completed quantity and the percentage of time used as the task completion efficiency.
[0115] After determining the percentage of completed tasks and the percentage of time spent, the larger the percentage of completed tasks, the more game tasks are currently completed, and the more efficient the player is in completing the game tasks. In other words, the percentage of completed tasks is directly proportional to the efficiency of task completion. The smaller the percentage of time spent, the less time the player takes to complete the game tasks, and the more efficient the player is in completing the game tasks. In other words, the percentage of time spent is inversely proportional to the efficiency of task completion. In one possible implementation, for example, the difference between the percentage of completed tasks and the percentage of time spent can be determined as the efficiency of task completion.
[0116] For example, using the example introduced above, assuming that the currently determined completion ratio is 0.1, and assuming that the currently determined time ratio is 0.2, the difference between the completion ratio and the time ratio is -0.1.
[0117] In the actual implementation process, when determining the task completion efficiency according to the difference between the completion quantity ratio and the time ratio, in addition to the above-mentioned method, for example, corresponding parameters can be added on the basis of the above-mentioned calculation method, or the completion quantity ratio and the time ratio can be processed according to a preset calculation formula to determine the task completion efficiency. This embodiment does not limit the specific implementation method for determining the task completion efficiency, as long as the completion quantity ratio is proportional to the task completion efficiency, and the time ratio is inversely proportional to the task completion efficiency.
[0118] For example, you can combine Figure 4 To understand the process of determining task completion efficiency described above, assuming that the first number of game tasks completed when the first game task is completed and the duration of the game are currently determined, and the total number of game tasks M and the preset total game duration can be determined, then, for example, based on the first number, Figure 4 As shown, for example, the completion quantity ratio when the first game task is completed can be determined based on the first quantity and the total number of game tasks M, and the time ratio when the first game task is completed can be determined based on the duration and the total game duration. Then, the task completion efficiency can be determined based on the completion quantity ratio and the time ratio.
[0119] Among them, the proportion of completed quantity is directly proportional to the task completion efficiency, and the proportion of time used is inversely proportional to the task completion efficiency. The specific implementation method can be selected according to actual needs, and this embodiment does not limit this.
[0120] S305: Determine the execution order of the M game tasks.
[0121] After determining the efficiency of task completion, the difficulty of subsequent game tasks can be adjusted. Therefore, you can first determine which specific game tasks need to be adjusted in difficulty.
[0122] In a possible implementation, the M game tasks in a game are usually interconnected, so the M execution tasks correspond to an execution order, so for example, the execution order of the M game tasks can be obtained.
[0123] For example, you can refer to Figure 5 Understand the execution order of game tasks. It can be understood that the execution order of game tasks can be one game task followed by another game task, for example Figure 5 In the example, there is game task 2 after game task 1, which means that the user needs to complete game task 1 and game task 2 in sequence, and may obtain relevant information about passing game task 2 when game task 1 is completed.
[0124] Also, the execution order of game tasks can be that there are multiple game tasks after one game task, for example Figure 5 In the example, after game task 3, there are game tasks 4, 5, and 6. Game tasks 4, 5, and 6 can be in parallel, that is, there is no order in which these three game tasks can be executed. You can execute any one of them at will. After these three game tasks are completed, for example, you can execute Figure 5 Game mission 7 shown.
[0125] Figure 5 This is only an exemplary introduction to the execution order of the game. In the actual implementation process, the execution order of the M game tasks may depend on the specific game design. This embodiment does not impose any restrictions on this. As long as the M game tasks are set with an execution order, the players can complete the execution of the game tasks in sequence according to this execution order.
[0126] S306. According to the execution order of the M game tasks, determine the N adjacent game tasks after the first game task as at least one second game task, where N is an integer greater than or equal to 1 and less than M.
[0127] When determining the second game task for which the game difficulty needs to be adjusted, it can be understood that it can be determined that the first game task has been completed, and the difficulty of the game task after the first game task needs to be adjusted. In a possible implementation, for example, according to the execution order of the M game tasks, the N adjacent game tasks after the first game task can be determined as at least one second game task, and N in this embodiment is an integer greater than or equal to 1, and N is less than M, that is, the setting of N cannot exceed the total number of game tasks.
[0128] On this basis, N can be preset, or can be randomly generated each time the game difficulty needs to be adjusted. This embodiment does not limit this, and the specific implementation method of N can be selected and set according to actual needs.
[0129] For example, you can combine Figure 5 To illustrate with a specific example, assuming that the current first game task is game task 2, and assuming that the currently determined N is 2, then refer to Figure 5 For example, game task 2 and game task 3 may be determined as the second game task.
[0130] For another example, assuming that the current first game task is game task 3, and assuming that the currently determined N is 2, then refer to Figure 5 For example, game task 4 and game task 5 can be determined as the second game task, or game task 5 and game task 6 can also be determined as the second game task. That is to say, when such adjacent game tasks include parallel game tasks, if the number of parallel game tasks is greater than N, for example, N can be randomly selected from the parallel game tasks, or N can be selected from the parallel game tasks according to a preset rule. The preset rules include, for example, selecting N with larger numbers, or selecting N with smaller numbers, or selecting N with numbers in the middle, etc., which are not limited in this embodiment.
[0131] For another example, assuming that the current first game task is game task 3, and assuming that the currently determined N is 4, then refer to Figure 5 For example, game task 4, game task 5, game task 6 and game task 7 can be determined as the second game task. That is to say, when such adjacent game tasks include parallel game tasks, if the number of parallel game tasks is less than N, for example, N game tasks can be determined in sequence from the parallel game tasks and the game tasks after the parallel game tasks, thereby obtaining N second game tasks.
[0132] S307: Obtain a first efficiency range in which the task completion efficiency lies.
[0133] After determining at least one second game task, the game difficulty of at least one second game task can be adjusted according to the above determined task completion efficiency. It can be understood that the greater the task completion efficiency in this embodiment, the faster the player completes the game task of the current game. In order to balance the game time of players passing the level, it is necessary to increase the game difficulty of at least one second game task. Similarly, the smaller the task completion efficiency, the slower the player completes the game task of the current game. In order to balance the game time of players passing the level, it is necessary to reduce the game difficulty of at least one second game task.
[0134] In this embodiment, for example, multiple efficiency ranges may be set for the task completion efficiency, and thus the first efficiency range in which the current task completion efficiency is located may be determined.
[0135] S308. Determine a second quantity of game prompt information corresponding to the second game task according to the first efficiency range, wherein an average value of the first efficiency range is inversely proportional to the second quantity.
[0136] In this embodiment, a corresponding number of game prompts can be set for each efficiency range. It can be understood that the greater the task completion efficiency, the faster the player completes the game task, and the corresponding game difficulty needs to be increased. For example, the game difficulty can be increased by reducing the number of game prompts. Therefore, in this embodiment, the greater the task completion efficiency, the fewer the corresponding game prompts.
[0137] Furthermore, the lower the task completion efficiency, the slower the player is currently completing the game task, and the corresponding game difficulty needs to be reduced. For example, the game difficulty can be reduced by increasing the number of game prompts. Therefore, in this embodiment, the lower the task completion efficiency, the more corresponding game prompts.
[0138] Therefore, in this embodiment, the average value of the first efficiency range is inversely proportional to the second number, that is, the greater the value of the task completion efficiency corresponding to the first efficiency range, the smaller the second number of the currently given game prompt information. Alternatively, it can be said that the maximum value (or minimum value, or median value) of the first efficiency range is inversely proportional to the second number, and the meanings are similar, which is not limited here.
[0139] For example, you can refer to Figure 6 Understand the efficiency range and the corresponding number of game prompts. Figure 6 As shown, assuming that the current settings are Figure 6There are three efficiency ranges shown, among which the number of game prompt information corresponding to the efficiency range of -0.2 to 0 is 4, the number of game prompt information corresponding to the efficiency range of 0 to 0.2 is 3, and the number of game prompt information corresponding to the efficiency range of 0.2 to 0.4 is 2.
[0140] Assuming that the currently determined task completion efficiency is 0.3, the first efficiency range of the task completion efficiency can be determined as 0.2 to 0.4 as described above. Based on the above Figure 6 For example, according to the first efficiency range of 0.2 to 0.4, it can be determined that the second number of game prompt information corresponding to the current second game task is 2.
[0141] For another example, assuming that the currently determined task completion efficiency is -0.1, the first efficiency range of the task completion efficiency can be determined as -0.2 to 0 as described above. Figure 6 For example, according to the first efficiency range of -0.2 to 0, it can be determined that the second number of game prompt information corresponding to the current second game task is 4.
[0142] Or in an optional implementation, the three efficiency ranges may be "less than 0", "0-0.2", and "greater than 0.2", and the number of game prompt information corresponding to the three efficiency ranges may be 4, 3, and 2, respectively. In the actual implementation process, the specific settings of the efficiency range and the specific settings of the game prompt information may be selected according to actual needs, and this embodiment does not limit this.
[0143] It should also be noted that setting multiple efficiency ranges and setting the number of corresponding game prompt information for each efficiency range can be the same for all game tasks. For example, for the M game tasks of the current game, there are Figure 6 The efficiency range shown and the number of corresponding game prompts are based on the game difficulty adjustment. Figure 6 However, in this implementation, it is necessary to ensure that when designing the game prompt information, at least X game prompt information is set for each game task, where X is the maximum value of the number of game prompt information corresponding to each efficiency range. For example, X is Figure 64 game prompts as shown in . Otherwise, it is possible that for a certain game task, 4 game prompts need to be set, but the current game task has only 3 game prompts. That is to say, for this implementation method of using the same set of efficiency ranges and the corresponding number of game prompts for all game tasks, it is necessary to ensure that the number of game prompts corresponding to the game tasks can meet the needs of reduction and increase during game design.
[0144] Or in another possible implementation, the setting of the efficiency range and the setting of the corresponding number of game prompt information introduced above can be set separately for different game tasks. Figure 7 To understand, such as Figure 7 As shown, assuming that there are currently Figure 7 The three efficiency ranges shown in FIG. 4 are the number of game prompts corresponding to the efficiency range -0.2 to 0, the number of game prompts corresponding to the efficiency range 0 to 0.2 is 3, and the number of game prompts corresponding to the efficiency range 0.2 to 0.4 is 2. Also, assuming that there are currently set for game task 3 Figure 7 The two efficiency ranges shown in the figure, where the number of game prompt information corresponding to the efficiency range "less than or equal to 0" is 2, and the number of game prompt information corresponding to the efficiency range "greater than 0" is 1. The possible efficiency ranges and the corresponding number of game prompt information for the remaining game tasks are no longer exhaustive.
[0145] Based on the above Figure 7 What can be determined is that in this embodiment, the efficiency range and the number of game prompt information corresponding to the efficiency range can be set separately for each game task, so that the quantity limit when setting the number of game prompt information for each game task can be reduced. Then, in this implementation method, when obtaining the first efficiency range where the task completion efficiency is located, specifically, in each efficiency range corresponding to the second game task, the first efficiency range where the current second game task is located is obtained.
[0146] In the actual implementation process, the specific implementation of the efficiency range and the number of game prompt information corresponding to each efficiency range can be selected according to the actual game design, and this embodiment does not limit this.
[0147] S309: Setting a second number of game prompt information in the game scene of the second game task.
[0148] After the second number is determined, the value of the adjusted game prompt information is determined, so the second number of game prompt information can be set in the game scene of the second game task.
[0149] It is understandable that, because the second number is an adjusted value, the total number of game prompt information that can be provided in the second game task is actually greater than or equal to the second number. Therefore, when determining the second number, it is also necessary to determine which of the second number of game prompt information that can be provided in the second game task is specifically selected to be set in the game scene. For example, if a total of 5 game prompt information can be provided in the second game task, then 2 game prompt information needs to be selected in the above example, and it is necessary to determine which 2 to select.
[0150] In a possible implementation, when making a selection, for any second game task, each piece of game prompt information included in the second game task may be ranked according to the priority of each piece of game prompt information included in the second game task.
[0151] Among them, multiple game prompt information has corresponding priority rankings, and the higher the priority, the more important the current game prompt information is.
[0152] Then, the second number of game prompt information ranked high can be determined as target prompt information, and the target prompt information can be set in the scene of the second game task. In other words, the second number of game prompt information ranked high in priority is selected and set in the game scene of the second game task, so as to effectively ensure that effective game improvement information is provided to the player to complete the game task.
[0153] It should also be noted that, in this embodiment, whether the number of game prompt information is increased or decreased, it is necessary to ensure that the player can complete the current game task after adjusting the number of game prompt information. Assuming that a certain game prompt information is the prompt information required to complete the current game task, the priority of the game prompt information must be relatively high. Based on the implementation method introduced above, the game prompt information will be selected when selecting the second number of game prompt information to ensure that the player can normally complete the game task after adjusting the game prompt information.
[0154] Alternatively, when designing the game prompt information, it is also possible to set multiple game prompt information to meet the conditions for completing the game task, so as to avoid the situation where the player cannot complete the game task after adjusting the number of game prompt information.
[0155] And in the actual implementation process, the increase or decrease of the game prompt information can be, for example, adjusted to display the corresponding information, for example, it can be the information display on the display screen. When the game prompt information needs to be increased, the information display on the display screen can be controlled. When the game prompt information needs to be reduced, the information on the display screen can be controlled to cancel the display. Alternatively, it can also be adjusted to open or not the corresponding mechanism. For example, when the game prompt information needs to be increased, the mechanism can be controlled to be opened, and when the game prompt information needs to be reduced, the mechanism can be controlled to be closed. In the actual implementation process, the specific adjustment method of the game prompt information can be determined according to the specific game design, and this embodiment does not limit this, as long as when the game prompt information needs to be increased, the player can obtain the corresponding game prompt information, and when the game prompt information needs to be reduced, the player cannot obtain the corresponding game prompt information.
[0156] The game control method provided in the embodiment of the present application determines the completion quantity ratio according to the first number of game tasks completed when the first game task is completed and the total number of game tasks M, and determines the time ratio according to the duration of the game when the first game task is completed and the preset total game duration, wherein the completion quantity ratio can reflect the completion progress of the current game, and the time ratio can reflect the completion speed of the current game, so based on the completion quantity ratio and the time ratio, the task completion efficiency of the game can be quickly and effectively determined. After that, the efficiency range where the task completion efficiency is located is determined, and the number corresponding to the efficiency range is set to the number of game prompt information corresponding to the second game task, wherein the efficiency range and the number of game prompt information are inversely proportional, so that when the task completion efficiency is high, the game difficulty can be adaptively increased, and when the task completion efficiency is low, the game difficulty can be adaptively reduced, so that the game clearance time between players of different levels can be balanced, so that the game experience of different players can be effectively balanced.
[0157] At the same time, in this embodiment, when adjusting the game difficulty of the game task, the adjustment is made to the N second game tasks adjacent to the first game task, because in this application, every time it is determined that a game task is completed, the above process will be executed to adjust the game difficulty. If the game difficulty of all subsequent game tasks is adjusted every time, the game difficulty of the game task may be repeatedly adjusted. In this embodiment, only the game difficulty of the N second game tasks adjacent to the first game task is adjusted, thereby effectively ensuring the effectiveness of the game difficulty adjustment and avoiding the waste of resources caused by repeated adjustment of the game difficulty.
[0158] Figure 8 This is a schematic diagram of the structure of the game control device provided in the embodiment of the present application. Figure 8 As shown, the device 80 includes: an acquisition module 801 , a determination module 802 and an adjustment module 803 .
[0159] An acquisition module 801 is used to acquire a first number of completed game tasks in the game and a duration of the game when a first game task of the game is completed, wherein the first game task is a game task other than the last game task among the M game tasks;
[0160] A determination module 802, configured to determine the task completion efficiency of the game according to the first number, the M, the duration and a preset total game duration;
[0161] The adjustment module 803 is used to adjust the game difficulty of the uncompleted game tasks among the M game tasks according to the task completion efficiency.
[0162] In a possible design, the determining module 802 is specifically configured to:
[0163] Determine the completion quantity ratio according to the first quantity and M;
[0164] Determine the time ratio according to the duration and the total game time;
[0165] The task completion efficiency of the game is determined based on the completion quantity ratio and the time ratio.
[0166] In a possible design, the determining module 802 is specifically configured to:
[0167] The difference between the completion quantity percentage and the time percentage is determined as the task completion efficiency.
[0168] In a possible design, the adjustment module 803 is specifically used to:
[0169] determining at least one second game task from among the unfinished game tasks;
[0170] The game difficulty of the at least one second game task is adjusted.
[0171] In a possible design, for any one of the at least one second game task, the adjustment module 803 is specifically configured to:
[0172] Acquire a first efficiency range in which the task completion efficiency lies;
[0173] Determining a second quantity of game prompt information corresponding to the second game task according to the first efficiency range, wherein an average value of the first efficiency range is inversely proportional to the second quantity;
[0174] The second number of game prompt information is set in the game scene of the second game task.
[0175] In a possible design, the adjustment module 803 is specifically used to:
[0176] Ranking each piece of game prompt information included in the second game task according to the priority of each piece of game prompt information included in the second game task;
[0177] Determine the second number of game prompt information that are ranked high as target prompt information;
[0178] The target prompt information is set in the scene of the second game task.
[0179] In a possible design, the adjustment module 803 is specifically used to:
[0180] Determine the execution order of the M game tasks;
[0181] According to the execution order of the M game tasks, the adjacent N game tasks after the first game task are determined as the at least one second game task, where N is an integer greater than or equal to 1 and less than M.
[0182] In a possible design, the game is a room escape game, and each game task corresponds to a game mechanism in the room escape game; the acquisition module 801 is specifically used for:
[0183] When it is detected that the game mechanism corresponding to the first game task is triggered, it is determined that the first game task is completed, and a first number of completed game tasks in the game and a duration of the game are obtained.
[0184] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0185] Fig. 9 A schematic diagram of the hardware structure of the game control device provided in the embodiment of the present application is shown in FIG. Fig. 9 As shown, the game control device 90 of this embodiment includes: a processor 901 and a memory 902;
[0186] Memory 902, used to store computer-executable instructions;
[0187] The processor 901 is used to execute the computer-executable instructions stored in the memory to implement the various steps performed by the game control method in the above embodiment. For details, please refer to the relevant description in the above method embodiment.
[0188] Optionally, the memory 902 may be independent or integrated with the processor 901 .
[0189] When the memory 902 is independently provided, the game control device further includes a bus 903 for connecting the memory 902 and the processor 901 .
[0190] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the game control method executed by the above game control device is implemented.
[0191] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0192] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application.
[0193] It should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented by a hardware processor or implemented by a combination of hardware and software modules in the processor.
[0194] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0195] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0196] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0197] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0198] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A game control method, characterized in that: The game includes M game tasks, where M is an integer greater than 1, and the method includes: When a first game task of the game is completed, obtaining a first number of completed game tasks in the game and a duration of the game, wherein the first game task is a game task other than the last game task among the M game tasks; Determine the task completion efficiency of the game according to the first number, M, the duration, and a preset total game duration; According to the task completion efficiency, adjusting the game difficulty of the uncompleted game tasks among the M game tasks; The adjusting the game difficulty of the uncompleted game tasks among the M game tasks according to the task completion efficiency includes: determining at least one second game task from among the unfinished game tasks; adjusting the game difficulty of the at least one second game task; For any one of the at least one second game task; adjusting the game difficulty of the at least one second game task includes: Acquire a first efficiency range in which the task completion efficiency lies; Determining a second quantity of game prompt information corresponding to the second game task according to the first efficiency range, wherein an average value of the first efficiency range is inversely proportional to the second quantity; The second number of game prompt information is set in the game scene of the second game task.
2. The method according to claim 1, characterized in that The determining the task completion efficiency of the game according to the first number, M, the duration and a preset total game duration includes: Determine the completion quantity ratio according to the first quantity and M; Determine the time ratio according to the duration and the total game time; The task completion efficiency of the game is determined based on the completion quantity ratio and the time ratio.
3. The method according to claim 2, characterized in that Determining the task completion efficiency of the game according to the completion quantity ratio and the time ratio includes: The difference between the completion quantity percentage and the time percentage is determined as the task completion efficiency.
4. The method according to claim 1, characterized in that: The step of setting the second number of game prompt information in the game scene of the second game task includes: Ranking each piece of game prompt information included in the second game task according to the priority of each piece of game prompt information included in the second game task; Determine the second number of game prompt information that are ranked high as target prompt information; The target prompt information is set in the scene of the second game task.
5. The method according to any one of claims 1 to 4, characterized in that: The step of determining at least one second game task from the unfinished game tasks comprises: Determine the execution order of the M game tasks; According to the execution order of the M game tasks, the adjacent N game tasks after the first game task are determined as the at least one second game task, where N is an integer greater than or equal to 1 and less than M.
6. The method according to any one of claims 1 to 4, characterized in that: The game is a room escape game, and each game task corresponds to a game mechanism in the room escape game; when the first game task of the game is completed, obtaining a first number of completed game tasks in the game and the duration of the game includes: When it is detected that the game mechanism corresponding to the first game task is triggered, it is determined that the first game task is completed, and a first number of completed game tasks in the game and a duration of the game are obtained.
7. A game control device, characterized in that: The game includes M game tasks, where M is an integer greater than 1, and the device includes: an acquisition module, configured to acquire, when a first game task of the game is completed, a first number of completed game tasks in the game and a duration of the game, wherein the first game task is a game task other than the last game task among the M game tasks; A determination module, configured to determine the task completion efficiency of the game according to the first number, the M, the duration and a preset total game duration; An adjustment module, used for adjusting the game difficulty of uncompleted game tasks among the M game tasks according to the task completion efficiency; The adjustment module is specifically used for: determining at least one second game task from among the unfinished game tasks; adjusting the game difficulty of the at least one second game task; The adjustment module is specifically used for: Acquire a first efficiency range in which the task completion efficiency lies; Determining a second quantity of game prompt information corresponding to the second game task according to the first efficiency range, wherein an average value of the first efficiency range is inversely proportional to the second quantity; The second number of game prompt information is set in the game scene of the second game task.
8. A game control device, characterized in that: include: Memory, used to store programs; A processor, configured to execute the program stored in the memory; when the program is executed, the processor is configured to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The method comprises instructions which, when executed on a computer, cause the computer to perform the method as claimed in any one of claims 1 to 6.
