Turn-based game generation method, device, computer equipment and storage medium
By setting action logos and obtaining target game resources in turn-based games, the cumbersome development process is solved, and efficient personalized game generation and rapid dissemination are achieved.
Patent Information
- Application Number
- CN202210074115.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-01-21
AI Technical Summary
The development process of existing turn-based games is cumbersome, requiring the participation of game planners and artists, resulting in inefficiency.
By responding to game action settings, determine the action logo of game action, obtain the target game resources corresponding to game action, generate the target turn-based game, and publish it to the game platform.
It improves the development efficiency and fun of turn-based games, enables the generated games to spread quickly, and stimulates users' enthusiasm for creation.
Smart Images

Figure CN114404995B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a method, apparatus, computer equipment, and storage medium for generating a turn-based game. Background Art
[0002] With the development of network technology, online games have gradually become people's main form of leisure and entertainment. Turn-based games, as an important branch of online games, are loved by the majority of users because they are simple and easy to use.
[0003] In related technologies, the development of turn-based games often requires the participation of game planners, game artists and other developers, making the entire development process more cumbersome and inefficient. Summary of the Invention
[0004] The embodiments of the present disclosure at least provide a method, apparatus, computer device, and storage medium for generating a turn-based game.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for generating a turn-based game, which is applied to generating a multiplayer online turn-based game, comprising:
[0006] In response to a game action setting operation for a target turn-based game, determining an action identifier of a game action for a player to select in each game round;
[0007] In response to the game resource adding operation for each of the game actions, obtaining target game resources corresponding to each of the game actions;
[0008] generating a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions;
[0009] In response to the publishing operation for the target turn-based game, target game data corresponding to the target turn-based game is generated, and the target game data is uploaded to the game platform so that other user terminals can obtain the target turn-based game through the game platform.
[0010] In one possible implementation, the target turn-based game includes multiple game rounds;
[0011] The responding to the game resource adding operation for each of the game actions to obtain target game resources corresponding to each of the game actions includes:
[0012] For any of the game rounds, in response to a game resource selection operation for each of the game actions in the game round, target game resources corresponding to each of the game actions in the game round are obtained.
[0013] In a possible implementation, the game action setting operation includes an action identifier editing operation;
[0014] The step of responding to a game action setting operation for a target turn-based game and determining an action identifier of a game action for a player to select in each game round includes:
[0015] For any of the game actions, in response to an action identifier editing operation for the game action, the action identifier of the game action is determined.
[0016] In a possible implementation manner, the method further includes:
[0017] Respond to the game action addition operation and determine the new game actions in each game round;
[0018] In response to an action identifier editing operation for the newly added game action, the action identifier of the newly added game action is determined, and the action identifiers of the game actions for the player to select in each game round include the action identifier of the newly added game action.
[0019] In a possible implementation, the game action setting operation further includes an editing operation for a settlement mechanism of the target turn-based game; wherein the settlement mechanism is used to determine a game result of the target turn-based game;
[0020] After determining the newly added game actions in each game round, the method further includes:
[0021] In response to an editing operation on the settlement mechanism of the target turn-based game, the game settlement mechanism of the target turn-based game is updated.
[0022] In a possible implementation, the responding to the game resource adding operation for each of the game actions to obtain the target game resources corresponding to each of the game actions includes:
[0023] For any of the game actions, in response to a game resource adding operation for the game action, a target image corresponding to the game action or an audio resource when the game action is executed is obtained.
[0024] In a possible implementation, after generating the target turn-based game, the method further includes:
[0025] In response to a room creation operation for the target turn-based game, a game room corresponding to the target turn-based game is created, where the game room is used for multiple user terminals connected to the game room to play the target turn-based game.
[0026] In a possible implementation, after uploading the target game data to the game platform, the method further includes:
[0027] Acquire information flow data, wherein the information flow data includes an entrance to the target turn-based game;
[0028] In response to a triggering operation on the entry, the target game data is acquired, and the target turn-based game is entered.
[0029] In a second aspect, the embodiments of the present disclosure further provide a device for generating a turn-based game, comprising:
[0030] a determination module, configured to respond to a game action setting operation for a target turn-based game and determine an action identifier of a game action for a player to select in each game round;
[0031] An acquisition module, configured to respond to a game resource adding operation for each of the game actions and acquire target game resources corresponding to each of the game actions;
[0032] A generation module, configured to generate a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions;
[0033] The upload module is used to respond to the publishing operation for the target turn-based game, generate target game data corresponding to the target turn-based game, and upload the target game data to the game platform so that other user terminals can obtain the target turn-based game through the game platform.
[0034] In one possible implementation, the target turn-based game includes multiple game rounds;
[0035] The acquisition module, in response to the game resource adding operation for each of the game actions, acquires the target game resources corresponding to each of the game actions, and is used to:
[0036] For any of the game rounds, in response to a game resource selection operation for each of the game actions in the game round, target game resources corresponding to each of the game actions in the game round are obtained.
[0037] In a possible implementation, the game action setting operation includes an action identifier editing operation;
[0038] The determination module, in response to a game action setting operation for a target turn-based game, determines the action identifiers of the game actions for the player to select in each game round, is configured to:
[0039] For any of the game actions, in response to an action identifier editing operation for the game action, the action identifier of the game action is determined.
[0040] In a possible implementation manner, the determining module is further configured to:
[0041] Respond to the game action addition operation and determine the new game actions in each game round;
[0042] In response to an action identifier editing operation for the newly added game action, the action identifier of the newly added game action is determined, and the action identifiers of the game actions for the player to select in each game round include the action identifier of the newly added game action.
[0043] In a possible implementation, the game action setting operation further includes an editing operation for a settlement mechanism of the target turn-based game; wherein the settlement mechanism is used to determine a game result of the target turn-based game;
[0044] After determining the newly added game actions in each game round, the determination module is further configured to:
[0045] In response to an editing operation on the settlement mechanism of the target turn-based game, the game settlement mechanism of the target turn-based game is updated.
[0046] In a possible implementation, the acquisition module, in response to the game resource adding operation for each of the game actions and when acquiring the target game resources corresponding to each of the game actions, is configured to:
[0047] For any of the game actions, in response to a game resource adding operation for the game action, a target image corresponding to the game action or an audio resource when the game action is executed is obtained.
[0048] In a possible implementation, after generating the target turn-based game, the generation module is further configured to:
[0049] In response to a room creation operation for the target turn-based game, a game room corresponding to the target turn-based game is created, where the game room is used for multiple user terminals connected to the game room to play the target turn-based game.
[0050] In a possible implementation, after uploading the target game data to the game platform, the uploading module is further configured to:
[0051] Acquire information flow data, wherein the information flow data includes an entrance to the target turn-based game;
[0052] In response to a triggering operation on the entry, the target game data is acquired, and the target turn-based game is entered.
[0053] In a third aspect, an embodiment of the present disclosure further provides a computer device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are performed.
[0054] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.
[0055] The method, apparatus, computer device, and storage medium for generating a turn-based game provided by the disclosed embodiments determine the action identifiers of the game actions available for player selection in each game round by responding to a game action setting operation; obtain target game resources corresponding to the game actions in response to a game resource addition operation; and generate a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to each of the game actions. This allows users to quickly complete the development of a turn-based game with fewer operations and generate personalized target turn-based games, thereby improving the efficiency and fun of turn-based game development. On the other hand, by publishing the target turn-based game to a game platform, the generated target turn-based game can be quickly disseminated, thereby stimulating users' creative enthusiasm.
[0056] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.
[0058] Figure 1 A flow chart showing a method for generating a turn-based game provided by an embodiment of the present disclosure is shown;
[0059] Figure 2aA schematic diagram of an editing page in the method for generating a turn-based game provided by an embodiment of the present disclosure is shown;
[0060] Figure 2b A schematic diagram showing an editing page corresponding to a game settlement mechanism before adding game actions in a method for generating a turn-based game provided by an embodiment of the present disclosure is shown;
[0061] Figure 2c A schematic diagram showing an editing page corresponding to a game settlement mechanism after adding game actions in a method for generating a turn-based game provided by an embodiment of the present disclosure is shown;
[0062] Figure 2d A schematic diagram showing a game interface of a target turn-based game in the method for generating a turn-based game provided by an embodiment of the present disclosure is shown;
[0063] Figure 3 A flowchart showing a specific method for editing an action identifier of a newly added game action in the method for generating a turn-based game provided by an embodiment of the present disclosure is provided;
[0064] Figure 4 A flowchart showing a specific method for obtaining target game data in the method for generating a turn-based game provided by an embodiment of the present disclosure;
[0065] Figure 5 A schematic diagram illustrating the architecture of a device for generating a turn-based game provided by an embodiment of the present disclosure is shown;
[0066] Figure 6 A schematic structural diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the disclosure for which protection is sought, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.
[0068] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.
[0069] The term "and / or" herein simply describes an association relationship, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, and the existence of B alone. In addition, the term "at least one" herein refers to any combination of at least two of any one or more of a plurality of items. For example, "at least one of A, B, and C" can represent any one or more elements selected from the set consisting of A, B, and C.
[0070] Research has found that the development of turn-based games often requires the participation of game planners, game artists and other developers, making the entire development process more cumbersome and inefficient.
[0071] Based on the above research, the present disclosure provides a method, apparatus, computer device, and storage medium for generating a turn-based game. The method determines the action identifiers of the game actions available for player selection in each game round by responding to a game action setting operation; obtains target game resources corresponding to the game actions in response to a game resource addition operation; and generates a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to each of the game actions. This allows users to quickly complete the development of a turn-based game with fewer operations and generate personalized target turn-based games, improving the efficiency and fun of turn-based game development. Furthermore, by publishing the target turn-based game to a game platform, the generated target turn-based game can be quickly disseminated, thereby stimulating users' creative enthusiasm.
[0072] To facilitate understanding of this embodiment, a detailed description of a method for generating a turn-based game disclosed in an embodiment of the present disclosure is first provided. The method for generating a turn-based game provided in an embodiment of the present disclosure is generally executed by a computer device with certain computing capabilities, such as a terminal device, a server, or other processing device. The terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a computing device, etc. In some possible implementations, the method for generating a turn-based game may be implemented by a processor invoking computer-readable instructions stored in a memory.
[0073] See also Figure 1 FIG. 1 is a flow chart of a method for generating a turn-based game according to an embodiment of the present disclosure, wherein the method includes S101 to S104, wherein:
[0074] S101: In response to a game action setting operation for a target turn-based game, action identifiers of game actions for players to select in each game round are determined.
[0075] S102: In response to the game resource adding operation for each of the game actions, the target game resources corresponding to each of the game actions are acquired.
[0076] S103: Generate a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions.
[0077] S104: In response to the publishing operation for the target turn-based game, target game data corresponding to the target turn-based game is generated, and the target game data is uploaded to the game platform, so that other user terminals can obtain the target turn-based game through the game platform.
[0078] The following is a detailed description of the above steps.
[0079] With respect to S101 , the target turn-based game may include multiple game rounds, and the game action setting operation includes an action identifier editing operation, and the action identifier editing operation may edit the action identifier of the game action.
[0080] For example, the schematic diagram of the editing page can be as follows: Figure 2a As shown, Figure 2a In the game, the user can select the game mode and game template of the target turn-based game currently being edited. The selected game mode is "Online Battle Mode", and the selected game template is "Template 1-Three Game Actions-Mutual Restraint". After selecting the template, you can edit the action identifiers of the three game actions corresponding to the game template in the editing area below the editing page. The three game actions are Game Action 1, Game Action 2, and Game Action 3, and the corresponding initial action identifiers are Scissors, Rock, and Paper, respectively. There is a mutual restraint relationship between each game action. The action identifier editing operation can be to change the action identifiers corresponding to Game Action 1, Game Action 2, and Game Action 3 from Scissors, Rock, and Paper to Tiger, Stick, and Chicken, respectively.
[0081] In one possible implementation, for any of the game actions, when determining the action identifiers of the game actions available for selection by the player in each game round, the action identifiers of the game actions available for selection by the player in each game round can be determined in response to a game action setting operation for the target turn-based game.
[0082] Here, since the target turn-based game may have multiple game rounds, in order to improve the fun of the target turn-based game, different action identifiers of game actions may be selected in different game rounds.
[0083] For example, for game round 1 and game round 2 of the target turn-based game, the action identifiers of the game actions for players to select in game round 1 can be set to scissors, rock, and paper, and the action identifiers of the game actions for players to select in game round 2 can be set to tiger, stick, and chicken.
[0084] In actual applications, in order to further improve the playability of the game, new game actions that players can choose from can be added during the game rounds, thereby enriching the game content.
[0085] In one possible implementation, Figure 3 As shown, you can edit the action identifier of a new game action by following the steps below:
[0086] S301: Responding to a game action adding operation, determining a new game action in each game round.
[0087] S302: In response to an action identifier editing operation for the newly added game action, determining the action identifier of the newly added game action, wherein the action identifiers of the game actions for the player to select in each game round include the action identifier of the newly added game action.
[0088] For example, taking the action identifier of the newly added game action as "bug", after the game action is added, the action identifiers of the game actions for players to choose in each game round can be "tiger", "stick", "chicken", and "bug".
[0089] Furthermore, since the game settlement mechanism is used to determine the game result of the target turn-based game, in order to ensure that the target turn-based game can be settled normally, when a new game action is added, the settlement mechanism of the target turn-based game needs to be updated according to the new game action.
[0090] In one possible implementation, the game action setting operation also includes an editing operation for the settlement mechanism of the target turn-based game. After determining the newly added game actions in each game round, the game settlement mechanism of the target turn-based game can also be updated in response to the editing operation for the settlement mechanism of the target turn-based game.
[0091] For example, before adding game actions, the schematic diagram of the editing page corresponding to the game settlement mechanism can be as follows: Figure 2b As shown, Figure 2bIn the game, according to the selected game template "Template 1", it can be determined that the content that needs to be edited for the settlement mechanism is the restraint relationship between each game action. The correspondence between the game template and the settlement mechanism editing content can be set in advance by the developer. After the user changes the action identifiers corresponding to game action 1, game action 2, and game action 3 from scissors, rock, and paper to tiger, stick, and chicken respectively through the action identifier editing operation, the game actions displayed in the "Settlement Mechanism Settings" editing page can be synchronously updated to tiger, stick, and chicken. The restraint relationship between tiger, stick, and chicken can be edited to tiger restrains chicken, chicken restrains stick, and stick restrains tiger through the settlement mechanism editing operation.
[0092] For example, after adding game actions, the schematic diagram of the editing page corresponding to the game settlement mechanism can be as follows: Figure 2c As shown, Figure 2c In the game, through the settlement mechanism editing operation, the restraint relationship of tiger restrains chicken, chicken restrains stick, and stick restrains tiger is updated to tiger restrains chicken, chicken restrains insects, insects restrain sticks, and sticks restrain tigers, so that the newly added game actions can be integrated into the original game settlement mechanism, thereby ensuring the normal progress of the turn-based game after the addition of game actions.
[0093] S102: In response to the game resource adding operation for each of the game actions, the target game resources corresponding to each of the game actions are acquired.
[0094] Here, the target game resources corresponding to the game actions may be picture resources, audio resources, video resources, etc. corresponding to the game actions. The target game resources may be displayed in the turn-based game to enhance the player's gaming experience.
[0095] In one possible implementation, for any of the game actions, when obtaining the target game resources corresponding to the game action, a game resource addition operation for the game action can be responded to to obtain the target image corresponding to the game action or the audio resource when executing the game action.
[0096] For example, the schematic diagram of the game interface of the target turn-based game can be as follows: Figure 2d As shown, the game actions of the target turn-based game include attack action "wave", defense action "defense", and attack charging action "accumulation". The command interface contains three triggerable buttons, namely "accumulation", "wave", and "defense". The game action selected by the current user terminal in this game round is the attack action "wave", and the image resource corresponding to "wave" (that is, the target game resource corresponding to the game action "wave") is displayed in the middle position of the user terminal game interface, indicating that the current user terminal has launched an attack on other user terminals.
[0097] In a possible implementation, for any of the game rounds, a game resource selection operation for each of the game actions in the game round can be responded to to obtain target game resources corresponding to each of the game actions in the game round.
[0098] Here, since the target turn-based game may have multiple game rounds, in order to improve the fun of the target turn-based game, different game resources may be selected and set for the same game action in different game rounds.
[0099] Exemplarily, for game round 1 and game round 2 of the target turn-based game, in game round 1, the target game resource corresponding to the attack action "wave" can be set to a picture of the host making an attack posture, the target game resource corresponding to the defense action "defense" can be set to a picture of the host making a defense posture, and the target game resource corresponding to the attack charging action "accumulate" can be set to a picture of the host making a charging posture; and, in game round 2, the target game resource corresponding to the attack action "wave" can be set to the host's voice "attack", the target game resource corresponding to the defense action "defense" can be set to the host's voice "defense", and the target game resource corresponding to the attack charging action "accumulate" can be set to the host's voice "charge".
[0100] S103: Generate a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions.
[0101] Here, when generating the target turn-based game, the target turn-based game may be generated based on the action identifiers of the game actions, target game resources, and a game settlement mechanism.
[0102] In one possible implementation, after generating the target turn-based game, a game room corresponding to the target turn-based game can be created in response to a room creation operation for the target turn-based game. The game room is used for multiple user terminals connected to the game room to play the target turn-based game.
[0103] Here, the game actions of the target turn-based game in the game room may include an attack action "wave", a defensive action "defense", and an attack charging action "accumulation". The attack action represents an attack on other user terminals in the game room; the defensive action represents a defense against other user terminals in the game room. When the user terminal selects a defensive action, it can defend against attacks initiated by other user terminals; the attack charging action represents the charging of the attack action of the current user terminal. The attack charging parameter increases with the number of times the attack charging action is selected. After the attack charging action, an attack with greater attack intensity can be launched. However, when the user terminal selects the attack charging action, it cannot defend against attacks initiated by other user terminals.
[0104] S104: In response to the publishing operation for the target turn-based game, target game data corresponding to the target turn-based game is generated, and the target game data is uploaded to the game platform, so that other user terminals can obtain the target turn-based game through the game platform.
[0105] In one possible implementation, Figure 4 As shown, you can obtain the target game data by following the steps below:
[0106] S401: Acquire information flow data, wherein the information flow data includes an entrance to the target turn-based game.
[0107] S402: Responding to a triggering operation on the entry, obtaining the target game data, and entering the target turn-based game.
[0108] Here, the information flow data containing the entrance to the target turn-based game can be obtained from the game platform. The game platform can simultaneously send information flow data containing the entrances to multiple games to the user terminal. By responding to the trigger operation for the entrance to the target turn-based game, it can be determined that the required game is the target turn-based game, the target game data corresponding to the target turn-based game can be obtained, and the target turn-based game can be entered.
[0109] The method for generating a turn-based game provided in the disclosed embodiments determines the action identifiers of the game actions available for player selection in each game round by responding to a game action setting operation; obtains target game resources corresponding to the game actions in response to a game resource addition operation; and generates a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to each of the game actions. This allows users to quickly complete the development of a turn-based game with fewer operations and generate personalized target turn-based games, improving the efficiency and fun of turn-based game development. Furthermore, by publishing the target turn-based game to a game platform, the generated target turn-based game can be quickly disseminated, thereby stimulating users' creativity.
[0110] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0111] Based on the same inventive concept, the embodiment of the present disclosure also provides a turn-based game generation device corresponding to the turn-based game generation method. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned turn-based game generation method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0112] Reference Figure 5 FIG. 5 is a schematic diagram of the architecture of a device for generating a turn-based game according to an embodiment of the present disclosure. The device includes: a determination module 501, an acquisition module 502, a generation module 503, and an upload module 504; wherein,
[0113] A determination module 501 is configured to respond to a game action setting operation for a target turn-based game and determine an action identifier of a game action for a player to select in each game round;
[0114] An acquisition module 502 is configured to respond to a game resource adding operation for each of the game actions and acquire target game resources corresponding to each of the game actions;
[0115] A generation module 503 is configured to generate a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions;
[0116] The upload module 504 is used to respond to the publishing operation for the target turn-based game, generate target game data corresponding to the target turn-based game, and upload the target game data to the game platform so that other user terminals can obtain the target turn-based game through the game platform.
[0117] In one possible implementation, the target turn-based game includes multiple game rounds;
[0118] The acquisition module 502, in response to the game resource adding operation for each game action, acquires the target game resources corresponding to each game action, and is used to:
[0119] For any of the game rounds, in response to a game resource selection operation for each of the game actions in the game round, target game resources corresponding to each of the game actions in the game round are obtained.
[0120] In a possible implementation, the game action setting operation includes an action identifier editing operation;
[0121] The determining module 501, in response to a game action setting operation for a target turn-based game, determines the action identifiers of the game actions for the player to select in each game round, for:
[0122] For any of the game actions, in response to an action identifier editing operation for the game action, the action identifier of the game action is determined.
[0123] In a possible implementation, the determining module 501 is further configured to:
[0124] Respond to the game action addition operation and determine the new game actions in each game round;
[0125] In response to an action identifier editing operation for the newly added game action, the action identifier of the newly added game action is determined, and the action identifiers of the game actions for the player to select in each game round include the action identifier of the newly added game action.
[0126] In a possible implementation, the game action setting operation further includes an editing operation for a settlement mechanism of the target turn-based game; wherein the settlement mechanism is used to determine a game result of the target turn-based game;
[0127] After determining the newly added game actions in each game round, the determination module 501 is further configured to:
[0128] In response to an editing operation on the settlement mechanism of the target turn-based game, the game settlement mechanism of the target turn-based game is updated.
[0129] In a possible implementation, the acquisition module 502, in response to the game resource adding operation for each of the game actions, when acquiring the target game resources corresponding to each of the game actions, is configured to:
[0130] For any of the game actions, in response to a game resource adding operation for the game action, a target image corresponding to the game action or an audio resource when the game action is executed is obtained.
[0131] In a possible implementation, after generating the target turn-based game, the generation module 503 is further configured to:
[0132] In response to a room creation operation for the target turn-based game, a game room corresponding to the target turn-based game is created, where the game room is used for multiple user terminals connected to the game room to play the target turn-based game.
[0133] In a possible implementation, after uploading the target game data to the game platform, the uploading module 504 is further configured to:
[0134] Acquire information flow data, wherein the information flow data includes an entrance to the target turn-based game;
[0135] In response to a triggering operation on the entry, the target game data is acquired, and the target turn-based game is entered.
[0136] The turn-based game generation device provided in the disclosed embodiments determines the action identifiers of the game actions available for player selection in each game round by responding to a game action setting operation; obtains target game resources corresponding to the game actions in response to a game resource addition operation; and generates a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to each of the game actions. This allows users to quickly complete the development of a turn-based game with fewer operations and generate personalized target turn-based games, improving the efficiency and fun of turn-based game development. Furthermore, by publishing the target turn-based game to a game platform, the generated target turn-based game can be quickly disseminated, thereby stimulating users' creativity.
[0137] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0138] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 66 is a schematic diagram of the structure of a computer device 600 provided in an embodiment of the present disclosure, including a processor 601, a memory 602, and a bus 603. The memory 602 is used to store execution instructions and includes a memory 6021 and an external memory 6022. The memory 6021 is also referred to as internal memory and is used to temporarily store operation data in the processor 601 and data exchanged with an external memory 6022 such as a hard disk. The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the computer device 600 is running, the processor 601 communicates with the memory 602 via the bus 603, so that the processor 601 executes the following instructions:
[0139] In response to a game action setting operation for a target turn-based game, determining an action identifier of a game action for a player to select in each game round;
[0140] In response to the game resource adding operation for each of the game actions, obtaining target game resources corresponding to each of the game actions;
[0141] generating a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions;
[0142] In response to the publishing operation for the target turn-based game, target game data corresponding to the target turn-based game is generated, and the target game data is uploaded to the game platform so that other user terminals can obtain the target turn-based game through the game platform.
[0143] In a possible implementation, in the instructions of the processor 601, the target turn-based game includes multiple game rounds;
[0144] The responding to the game resource adding operation for each of the game actions to obtain target game resources corresponding to each of the game actions includes:
[0145] For any of the game rounds, in response to a game resource selection operation for each of the game actions in the game round, target game resources corresponding to each of the game actions in the game round are obtained.
[0146] In a possible implementation, in the instruction of the processor 601, the game action setting operation includes an action identifier editing operation;
[0147] The step of responding to a game action setting operation for a target turn-based game and determining an action identifier of a game action for a player to select in each game round includes:
[0148] For any of the game actions, in response to an action identifier editing operation for the game action, the action identifier of the game action is determined.
[0149] In a possible implementation manner, the instruction of the processor 601 further includes:
[0150] Respond to the game action addition operation and determine the new game actions in each game round;
[0151] In response to an action identifier editing operation for the newly added game action, the action identifier of the newly added game action is determined, and the action identifiers of the game actions for the player to select in each game round include the action identifier of the newly added game action.
[0152] In a possible implementation, in the instructions of the processor 601, the game action setting operation further includes an editing operation of a settlement mechanism for the target turn-based game; wherein the settlement mechanism is used to determine a game result of the target turn-based game;
[0153] After determining the new game actions in each game round, it also includes:
[0154] In response to an editing operation on the settlement mechanism of the target turn-based game, the game settlement mechanism of the target turn-based game is updated.
[0155] In a possible implementation, in the instructions of the processor 601, the responding to the game resource adding operation for each of the game actions and obtaining the target game resources corresponding to each of the game actions includes:
[0156] For any of the game actions, in response to a game resource adding operation for the game action, a target image corresponding to the game action or an audio resource when the game action is executed is obtained.
[0157] In one possible implementation, the instructions of the processor 601, after generating the target turn-based game, further include:
[0158] In response to a room creation operation for the target turn-based game, a game room corresponding to the target turn-based game is created, where the game room is used for multiple user terminals connected to the game room to play the target turn-based game.
[0159] In a possible implementation, the instructions of the processor 601, after uploading the target game data to the game platform, further include:
[0160] Acquire information flow data, wherein the information flow data includes an entrance to the target turn-based game;
[0161] In response to a triggering operation on the entry, the target game data is acquired, and the target turn-based game is entered.
[0162] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program executes the steps of the method for generating a turn-based game described in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0163] The embodiments of the present disclosure also provide a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of the method for generating a turn-based game described in the above method embodiment. For details, please refer to the above method embodiment and will not be repeated here.
[0164] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0165] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0166] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0167] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0168] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0169] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be subject to the scope of protection of the claims.
Claims
1. A method for generating a turn-based game, characterized in that: Used to generate multiplayer online turn-based games, including: In response to a game action setting operation for a target turn-based game, determining action identifiers of game actions for player selection in each game round; wherein the target turn-based game includes a plurality of game rounds, and the game action setting operation includes an action identifier editing operation for editing the action identifiers of the game actions so that at least two game rounds of the plurality of game rounds include the same game action with different action identifiers; In response to a game resource adding operation for each of the game actions, a target game resource corresponding to each of the game actions is obtained; wherein at least two of the plurality of game rounds include the same game action with a different target game resource corresponding thereto; generating a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions; In response to the publishing operation for the target turn-based game, target game data corresponding to the target turn-based game is generated, and the target game data is uploaded to the game platform so that other user terminals can obtain the target turn-based game through the game platform.
2. The method according to claim 1, wherein: The responding to the game resource adding operation for each of the game actions to obtain target game resources corresponding to each of the game actions includes: For any of the game rounds, in response to a game resource selection operation for each of the game actions in the game round, target game resources corresponding to each of the game actions in the game round are obtained.
3. The method according to claim 1 or 2, characterized in that The game action setting operation includes an action identification editing operation; The step of responding to a game action setting operation for a target turn-based game and determining an action identifier of a game action for a player to select in each game round includes: For any of the game actions, in response to an action identifier editing operation for the game action, the action identifier of the game action is determined.
4. The method according to claim 3, characterized in that The method further comprises: Respond to the game action addition operation and determine the new game actions in each game round; In response to an action identifier editing operation for the newly added game action, the action identifier of the newly added game action is determined, and the action identifiers of the game actions for the player to select in each game round include the action identifier of the newly added game action.
5. The method according to claim 4, characterized in that The game action setting operation further includes editing a settlement mechanism for the target turn-based game; wherein the settlement mechanism is used to determine a game result of the target turn-based game; After determining the newly added game actions in each game round, the method further includes: In response to an editing operation on the settlement mechanism of the target turn-based game, the game settlement mechanism of the target turn-based game is updated.
6. The method according to claim 1, wherein The responding to the game resource adding operation for each of the game actions to obtain target game resources corresponding to each of the game actions includes: For any of the game actions, in response to a game resource adding operation for the game action, a target image corresponding to the game action or an audio resource when the game action is executed is obtained.
7. The method according to claim 1, characterized in that After generating the target turn-based game, the method further includes: In response to a room creation operation for the target turn-based game, a game room corresponding to the target turn-based game is created, where the game room is used for multiple user terminals connected to the game room to play the target turn-based game.
8. The method according to claim 1, characterized in that After uploading the target game data to the game platform, the method further includes: Acquire information flow data, wherein the information flow data includes an entrance to the target turn-based game; In response to a triggering operation on the entry, the target game data is acquired, and the target turn-based game is entered.
9. A device for generating a turn-based game, characterized in that: Used to generate multiplayer online turn-based games, including: a determination module, configured to, in response to a game action setting operation for a target turn-based game, determine action identifiers of game actions for selection by a player in each game round; wherein the target turn-based game includes a plurality of game rounds, and the game action setting operation includes an action identifier editing operation for editing the action identifiers of the game actions so that the action identifiers of the same game action included in at least two of the plurality of game rounds are different; an acquisition module, configured to respond to a game resource addition operation for each of the game actions and acquire target game resources corresponding to each of the game actions; wherein at least two of the plurality of game rounds include the same game action with different target game resources corresponding thereto; A generation module, configured to generate a target turn-based game based on the action identifiers of the game actions and the target game resources corresponding to the game actions; The upload module is used to respond to the publishing operation for the target turn-based game, generate target game data corresponding to the target turn-based game, and upload the target game data to the game platform so that other user terminals can obtain the target turn-based game through the game platform.
10. A computer device, characterized in that: include: A processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor and the memory communicate via the bus. When the machine-readable instructions are executed by the processor, the steps of the method for generating a turn-based game as described in any one of claims 1 to 8 are performed.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method for generating a turn-based game according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and system for establishing self-initiated games
CN102629302A
Game skill configuration method and device, server and storage medium
CN111068326A
Strategy game implementation method and device based on reinforcement learning, and medium
CN112337098A