CN109289199B - Multiplayer game method, device and storage medium - Google Patents
Multiplayer game method, device and storage medium Download PDFInfo
- Publication number
- CN109289199B CN109289199B CN201810906421.9A CN201810906421A CN109289199B CN 109289199 B CN109289199 B CN 109289199B CN 201810906421 A CN201810906421 A CN 201810906421A CN 109289199 B CN109289199 B CN 109289199B
- Authority
- CN
- China
- Prior art keywords
- game
- information
- content information
- contract
- decryption verification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/71—Game security or game management aspects using secure communication between game devices and game servers, e.g. by encrypting game data or authenticating players
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/75—Enforcing rules, e.g. detecting foul play or generating lists of cheating players
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a multiplayer game method, equipment and a storage medium, wherein the method comprises the following steps: receiving game participation confirmation information sent by a plurality of user terminals respectively until a preset game starting condition is met, and triggering a first contract to enter a game starting state; wherein the game participation confirmation information includes encrypted content information recorded onto the first blockchain; receiving decryption verification information recorded on the first block chain and sent by each user side respectively in preset time, and performing decryption verification on each encrypted content information according to each decryption verification information; and generating and outputting a game result according to the verified content information and a preset game rule. The invention ensures that the contract can only be decrypted and verified after the opening of the multiplayer game to obtain the content information which can not be falsified, thereby not only being incapable of being cheated by a certain player, but also being incapable of forging a virtual player to cheat the game reward, and ensuring the fairness and justice of the multiplayer game.
Description
Technical Field
The present application relates to the field of blockchain game technology, and in particular, to a multiplayer game method, device and storage medium.
Background
The prior multiplayer online game usually uses a centralized server to judge the win-or-lose of a player and generate the result of the game, taking guess games as an example, the server can be used for cheating in combination with a certain player and even forging a virtual player to cheat the reward of the game by itself, and the prior scheme lacks the constraint of guaranteeing the fairness and justice of the game for the server.
Disclosure of Invention
In view of the above-mentioned deficiencies or inadequacies in the prior art, it would be desirable to provide a multiplayer gaming method, apparatus, and storage medium that utilize a blockchain to ensure fairness and justice in multiplayer gaming.
In a first aspect, the present invention provides a multiplayer game method suitable for blockchain nodes, including:
receiving game participation confirmation information sent by a plurality of user terminals respectively until a preset game starting condition is met, and triggering a first contract to enter a game starting state; wherein the game participation confirmation information includes encrypted content information recorded onto the first blockchain;
receiving decryption verification information recorded on the first block chain and sent by each user side respectively in preset time, and performing decryption verification on each encrypted content information according to each decryption verification information;
and generating and outputting a game result according to the verified content information and a preset game rule.
In a second aspect, the present invention provides a multiplayer game method suitable for a user side, including:
generating game participation confirmation information including the encrypted content information, recording the encrypted content information onto the first blockchain, and transmitting the game participation confirmation information to a node of the first blockchain network;
generating decryption verification information and recording the decryption verification information to the first block chain;
after the game participation confirmation information sent by each user side meets the preset game starting condition and triggers the first contract to enter the game starting state, the decryption verification information is sent to the first contract within the preset time, so that the first contract can decrypt and verify the corresponding content information according to the decryption verification information sent by each user side, and a game result is generated and output according to each verified content information and the preset game rule.
In a third aspect, the present invention also provides an apparatus comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a multiplayer gaming method provided according to embodiments of the present invention.
In a fourth aspect, the present invention also provides a storage medium storing a computer program for causing a computer to execute the multiplayer game method according to the embodiments of the present invention.
In the multiplayer game method, the equipment and the storage medium provided by the embodiments of the invention, the encrypted content information is recorded on the block chain and sent to the contract before game opening by each user side in the multiplayer game, and the decryption verification information is also recorded on the block chain and sent to the contract after game opening, so that the contract can be decrypted and verified only after game opening of the multiplayer game to obtain the content information which cannot be falsified, therefore, the cheating of a certain player can not be combined, a virtual player can not be forged to cheat the game reward, and the fairness and justice of the multiplayer game are ensured;
the multiplayer game method, the equipment and the storage medium provided by some embodiments of the invention further ensure the points through freezing, and restrict the players to disclose the encrypted content information, thereby further ensuring the fairness of multiplayer games;
the multiplayer game method, the equipment and the storage medium provided by some embodiments of the invention further ensure the fairness and the non-tamper property of the grouping by writing the grouping result to the block chain before decryption verification, thereby ensuring the fairness of the multiplayer game.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a schematic view of a multi-player game according to an embodiment of the present invention.
Fig. 2 is a flowchart of a multiplayer game method according to an embodiment of the present invention.
FIG. 3 is a flow chart of a preferred embodiment of the method shown in FIG. 2.
FIG. 4 is a flow chart of a preferred embodiment of the method shown in FIG. 2.
FIG. 5 is a flowchart of another multiplayer game method according to an embodiment of the present invention.
Fig. 6 is a flowchart of step S21 in a preferred embodiment of the method shown in fig. 5.
FIG. 7 is a flow chart of a preferred embodiment of the method shown in FIG. 5.
Fig. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
FIG. 1 is a schematic view of a multi-player game according to an embodiment of the present invention. As shown in fig. 1, the application scenario of the multiplayer game scheme provided by the present invention is exemplarily described by taking a guessing boxing game of stone scissors cloth as an example:
in the first stage before game opening, after a user side of each player connects orders to a first contract of a first block chain, the user side encrypts punch contents and writes the encrypted punch contents to the first block chain respectively, and informs the first contract, and the first contract triggers game opening according to a preset opening condition:
for example, after the user end of player A receives the order and participates in the game, the user end selects a stone and generates encrypted boxing content H11Hash (stone + r)1) And H12=hash(r1) Will include H11And H12The encrypted punch content is written onto the first block chain, and game participation confirmation information including the encrypted punch content is transmitted to the first contract; after the user side of the player B receives the order to participate in the game, scissors are selected, and the user side generates encrypted boxing content H21Hash (scissors + r)2) And H22=hash(r2) Will include H21And H22The encrypted punch content is written onto the first block chain, and game participation confirmation information including the encrypted punch content is transmitted to the first contract; … …, respectively; after the user end of the player leaves the order to participate in the game, the user end selects to play the order, and generates encrypted boxing content H101Hash (cloth + r)10) And H102=hash(r10) Will include H101And H102The encrypted punch content is written onto the first block chain, and game participation confirmation information including the encrypted punch content is transmitted to the first contract;
when the first contract monitors that the preset opening condition is met, for example, 10 players have received the order and sent game participation confirmation information when the preset opening condition is met, the preset 10-person full condition is reached, or the preset 10-person full condition is met but the preset 5-minute or a plurality of block heights are waited, and the participating players are confirmed to exceed 1 person, the game opening is triggered.
In the second stage after game opening, the first contract receives the decryption verification information recorded on the first block chain and sent by the user end of each player respectively within a preset time, for example, 20 minutes, and performs decryption verification to generate a game result:
for example, the user end of player A will decrypt the verification information r1Recorded on the first blockchain and sent to the first contract within 20 minutes of opening, the first contract passing through r1To H11And H12Verifying to successfully prove that the punch content of the player A is a stone;
if the player B does not send the decryption verification information within 20 minutes, the first contract considers the player B as the abandonment right;
player C sent r to the first contract within 20 minutes3', causing the first contract to fail in verification and not sending the correct decryption verification information r to the first contract within 20 minutes3If so, the first contract is also considered as a disclaimer by the player C; … …, respectively;
the user end of the player end decrypts the verification information r10Recorded on the first blockchain and sent to the first contract within 20 minutes of opening, the first contract passing through r10To H101And H102Verifying to successfully prove that the punch content of the player's caput is cloth;
after the decryption verification is completed, the first contract generates game results according to the preset game rules for all verified punch contents:
for example, the punch contents of 8 verified players are determined to be win or loss pairwise, each winning hand is 3 points, the tie hand is 1 point and the loser hand is 0 point, and finally the score ranking of each player is counted;
for another example, the victory or defeat judgment of elimination is performed according to a predetermined group before game opening, and the final victory player is settled;
for another example, a mixed match with a group match similar to the world cup match determines win-loss, a promotion followed by a knockout match determines the final winning player, and so on.
The above exemplary explanation exemplifies the multi-player game scheme of the present invention by taking a guessing boxing game of stone scissors cloth as an example; in further embodiments, the game category may also be configured as other common different types of guessing games (e.g., punch, game, etc.), guessing games (e.g., sports competition guesses such as basketball, electronic competition guesses, etc.), decryption games, trivia games, and so on; the encryption algorithm can be configured to other different encryption algorithms commonly used in the field, and corresponding decryption verification information is configured; the opening conditions can be configured to be any number of different persons, different time lengths or other opening conditions commonly used in the field; and, the game rules are configured to different game rules commonly used in the art according to specific game categories, which can achieve the same technical effect.
The various multi-player game scenarios provided by the present invention will be described in detail below in conjunction with fig. 2-7.
Fig. 2 is a flowchart of a multiplayer game method according to an embodiment of the present invention.
As shown in fig. 2, in the present embodiment, the present invention provides a multiplayer game method suitable for a blockchain network node, including:
s12: receiving game participation confirmation information sent by a plurality of user terminals respectively until a preset game starting condition is met, and triggering a first contract to enter a game starting state; wherein the game participation confirmation information includes encrypted content information recorded onto the first blockchain;
s14: receiving decryption verification information recorded on the first block chain and sent by each user side respectively in preset time, and performing decryption verification on each encrypted content information according to each decryption verification information;
s16: and generating and outputting a game result according to the verified content information and a preset game rule.
Specifically, in step S12, in one embodiment, as described in the above game scheme of stone scissors cloth, after the user connects to the first contract, the encrypted content information may be written to the first block chain, and then the game participation confirmation information may be sent to the first contract;
in another embodiment, the game participation confirmation information can be directly sent to the first contract by the user side, and the encrypted content information in the game participation confirmation information is packaged and written on the first block chain by the first contract.
The encryption mode of the content information can be configured to be any asymmetric encryption algorithm, and a random number is configured during encryption, so that other players or third parties are prevented from decrypting the encrypted content information written on the first blockchain by traversing all possible content information options.
In step S14, in one embodiment, as described in the above scheme of stone scissors cloth game, the decryption verification information may be written to the first block chain by the user and then sent to the first contract;
in another embodiment, the decryption verification information can also be directly sent to the first contract by the user side, and then packaged and written on the first block chain by the first contract.
When the number of selectable items of the content information is small, for example, only the three selectable items of the stone, the scissors and the cloth are arranged in the stone scissors cloth, the decryption verification information may only include a first random number, and the first contract may perform decryption verification by traversing the selectable items of the content information; when the number of selectable items of the content information is large, the decryption verification information should also include the content information to avoid a large number of traversal calculations by the first contract.
In the embodiment, the encrypted content information is recorded on the block chain and sent to the contract before game opening by each user side in the multiplayer game, and the decryption verification information is also recorded on the block chain and sent to the contract after game opening, so that the contract can be decrypted and verified only after the multiplayer game opening to obtain the content information which cannot be falsified, and therefore, a player cannot be cheated in combination, a virtual player cannot be counterfeited to cheat a game reward, and fairness and justness of the multiplayer game are guaranteed.
In a preferred embodiment, step S12 further includes: freezing a guarantee point in a corresponding user account according to the game participation confirmation information;
step S14 further includes: after the verification is successful, unfreezing guarantees integration; and if the verification is not successful within a predetermined time, penalizing the guaranteed points.
Specifically, since the content information provided by the player in step S12 is encrypted, if the player does not provide the decryption verification information for some reason in step S14, the game result of other players may be affected, for example, the original winner may become the loser. Thus, by means of penalizing the guaranteed points, it is possible to constrain the player to disclose its own encrypted content information on the one hand, and further optionally to compensate other players by the penalized points on the other hand.
The embodiment further ensures the points through freezing, restricts the players from disclosing the encrypted content information, and further ensures the fairness of the multiplayer game.
In a preferred embodiment, step S12 further includes: and deducting the bonus points in the corresponding user account according to the game participation confirmation information.
Specifically, the bonus points may all be used to award winning players; it is also possible to award partly the winning player and partly the maintenance game operation; but also partly for paying commission or miner fees, etc.
In a preferred embodiment, the game rules include any one of:
judging whether the content of each punch passing the verification is successful or negative pairwise, and counting the total score of each user;
carrying out random cup game grouping before carrying out decryption verification, recording a grouping result to a first block chain, and carrying out win-win judgment on each punch content passing the verification according to the grouping;
and judging whether the verified punch contents win or lose according to the mixed competition system.
FIG. 3 is a flow chart of a preferred embodiment of the method shown in FIG. 2. As shown in fig. 3, in a preferred embodiment, before step S14, the method further includes:
s13: and carrying out random grouping and recording a grouping result to the first block chain.
Specifically, in order to avoid cheating at the time of packet, the packet should be performed before decryption verification, and by writing the packet result onto the block chain, the uncorruptability of the packet is ensured.
The embodiment further ensures the fairness and the non-tamper property of the grouping by writing the grouping result to the block chain before decryption verification, thereby ensuring the fairness of the multiplayer game.
FIG. 4 is a flow chart of a preferred embodiment of the method shown in FIG. 2. As shown in fig. 4, in a preferred embodiment, step S16 includes:
s161: generating a single-round game result according to each verified content information and a preset game rule;
s163: judging whether the single round game result is the final game result:
if not, returning to the step S12 to enter the next round of game;
if yes, go to step S165: and outputting the game result.
In the embodiment, the output of the game result is specifically configured to write the game result to the first blockchain; in further embodiments, the game results may also be output by other means commonly used in the art.
Specifically, for example, the game type is configured as black and white, the content information that the player can select is black or white:
in each round, if the number of the black players and the number of the white players are not less than 3, the player with the larger number is eliminated, and the next round of game is entered;
if the number of one party is less than 3, the remaining 2 or 1 players are the winner, and the game is ended;
if the players are not eliminated in 10 consecutive rounds, all the players are the winner, and the game is ended.
In further embodiments, the game category may be configured as any other game, such as a stone scissors cloth with a punch and punch, etc.
Further preferably, the multiplayer game may further allow the player to join in the middle round through the credit, and the step S12 is returned to further include: and receiving the joining request information respectively sent by the plurality of user sides, and deducting corresponding points from the corresponding user accounts according to the joining request information.
Specifically, also taking the above-mentioned black-and-white multi-player game as an example, for example, 100 players participate in the first round, wherein 5 players do not provide decryption verification information in time, 64 players appear black, and 31 players appear white, the first round eliminates 69 players, and the remaining 31 players promote the second round;
at this time, at the stage of step S12 in the second round, 31 players in the first round of promotion may choose whether to continue participating in the second round of game, and the out-game player may also directly join the second round of game by paying a predetermined number of credits according to the rules: for example, if 6 promoting players choose not to continue to participate in the second round of game, and 5 out-of-game players choose to pay credit to join the second round of game, the final number of players in the second round is 30;
furthermore, eliminated players can be allowed to revive through the number of points specified by the payment rule and continue to participate in the second round of game.
Wherein, the higher the number of game rounds is, the more the scores required to be paid are added or revived in midway.
Further preferably, when the bonus points paid by each player are totally or partially accumulated in the prize pool, the player who actively leaves the field can obtain the total or partial current prize pool per-capita points, and the player who joins or revives in the game should pay the points higher than the current prize pool per-capita points.
For example, 10 players participating in the first round of game pay 1 bonus point per player, all the bonus points are accumulated in the prize pool, when the first round of game is finished, 5 points are eliminated, 5 points remain, the accumulated points of the prize pool are 10, and the current bonus points are 2; one player decides not to continue to participate in the second round of game, then the player can obtain 2 x 80% ═ 1.6 credits, another 1 player selects to join directly, need pay 2 x 120% ═ 2.4 credits, still 1 obsolete player selects to pay credits to revive, need pay 2 x 120% ═ 2.4 credits likewise, the pool accumulated credits become 13.2, the number of players in the second round of game is 6.
The first proportion of 80% and the second proportion of 120% are only examples, and in further embodiments, the first proportion of the current bonus pool per-capita total score obtained from the field may be configured to be any proportion not greater than 100% according to actual requirements, and the second proportion of the current bonus pool per-capita total score required to be paid in midway or reviving may be configured to be any proportion not less than 100%, so that the same technical effects may be achieved.
In a preferred embodiment, the content information includes content information for each of a plurality of rounds of the game. Specifically, the multi-round multi-player game method of this embodiment is different from the multi-round multi-player game method shown in fig. 4 in that:
in the method shown in fig. 4, the player individually designates the content information of the current round for each round, and decides whether to participate in the next round of game in the stage before the game play of the next round; for example, the player designates a first round of "cloth" before the first round of play, designates a "stone" after the second round of play has been decided to participate, and decides not to continue to participate in the game for the third round;
in the embodiment, the player designates several rounds of content information in the first round and defaults to several rounds participating in the designated content information; for example, the player designates a first round of "cloth", a second round of "stone", and … … an eighth round of "scissors" before the first round of play, and defaults to participating in eight rounds of game play without elimination or active exit.
Further preferably, step S16 includes:
s166: generating a game result of the current round according to the content information of the current round and a preset game rule, and judging whether the game is ended:
otherwise, step S167 is executed: receiving content change request information recorded on a first blockchain within a predetermined first time period;
s168: receiving the change decryption verification information recorded on the first block chain within a preset second time length;
s169: carrying out decryption verification on the content change request information according to the change decryption verification information, and changing the corresponding content information after the verification is successful;
the process returns to step S166.
Specifically, also taking as an example that the player has designated the content information of eight rounds of scissors stone cloths before the first round of opening, in the present embodiment, when the player has not eliminated in the previous round, the content change request information may be sent within a predetermined first time period to change the content information of the designated next round or the next rounds, and the change decryption verification information for performing decryption verification on the encrypted change content may be provided within a predetermined second time period, so as to complete the change of the content information of the pre-designated next round or the next rounds.
FIG. 5 is a flowchart of another multiplayer game method according to an embodiment of the present invention. The method illustrated in fig. 5 may be performed in conjunction with the method illustrated in fig. 2.
As shown in fig. 5, in this embodiment, the present invention further provides a multiplayer game method suitable for a user side, including:
s21: generating game participation confirmation information including the encrypted content information, recording the encrypted content information onto the first blockchain, and transmitting the game participation confirmation information to a node of the first blockchain network;
s23: generating decryption verification information and recording the decryption verification information to the first block chain;
s25: after the game participation confirmation information sent by each user side meets the preset game starting condition and triggers the first contract to enter the game starting state, the decryption verification information is sent to the first contract within the preset time, so that the first contract can decrypt and verify the corresponding content information according to the decryption verification information sent by each user side, and a game result is generated and output according to each verified content information and the preset game rule.
Specifically, the game principle of the method shown in fig. 5 can refer to the methods shown in fig. 1-2, and the details are not repeated here.
Fig. 6 is a flowchart of step S21 in a preferred embodiment of the method shown in fig. 5. As shown in fig. 6, in a preferred embodiment, step S21 includes:
s211: generating content information and a first random number;
s213: generating a first hash value according to the content information and the first random number, and generating a second hash value according to the first random number;
s215: recording encrypted content information including a first hash value and a second hash value onto a first blockchain;
s217: game participation confirmation information including the encrypted content information is generated and transmitted to the nodes of the first blockchain network.
Wherein the decryption verification information includes a first random number.
The method shown in fig. 6 can be performed in cooperation with some embodiments of the methods shown in fig. 1-2, and the principles can refer to the methods shown in fig. 1-2, which are not described herein again.
Preferably, the decryption verification information further includes content information.
FIG. 7 is a flow chart of a preferred embodiment of the method shown in FIG. 5. The method illustrated in fig. 7 may be performed in conjunction with the method illustrated in fig. 4.
As shown in fig. 7, in a preferred embodiment, the method further includes:
s26: judging whether the single round game result is the final game result or not; and the number of the first and second groups,
s27: judging whether the current user is eliminated in the current round:
if not, returning to the step S21 to enter the next round of game;
if yes, the game is ended, and the game result is acquired.
In a preferred embodiment, the content information includes content information for each of a plurality of rounds of the game.
Further preferably, the method further comprises: when the current turn of the multiplayer game is finished, the game is not finished and the current player is not eliminated, sending content change request information recorded on the first block chain to the first contract within a preset first time period;
and sending the change decryption verification information recorded to the first block chain to the first contract within a preset second time length, so that the first contract can decrypt and verify the content change request information according to the change decryption verification information, and can change the corresponding content information after the verification is successful.
Fig. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 8, as another aspect, the present application also provides an apparatus 800 including one or more Central Processing Units (CPUs) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the apparatus 800 are also stored. The CPU801, ROM802, and RAM803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
To the I/O interface 805, AN input section 806 including a keyboard, a mouse, and the like, AN output section 807 including a network interface card such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 808 including a hard disk, and the like, and a communication section 809 including a network interface card such as a L AN card, a modem, and the like are connected, the communication section 809 performs communication processing via a network such as the internet, a drive 810 is also connected to the I/O interface 805 as necessary, a removable medium 811 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted into the storage section 808 as.
In particular, according to an embodiment of the present disclosure, the multiplayer game method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing a multiplayer gaming method. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the multiplayer gaming methods described herein.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (10)
1. A multiplayer gaming method, comprising:
generating game participation confirmation information including encrypted content information, recording the encrypted content information onto a first blockchain, and transmitting the game participation confirmation information to a node of a first blockchain network;
generating decryption verification information and recording the decryption verification information to the first block chain;
and after the game participation confirmation information sent by each user side meets a preset game starting condition and triggers a first contract to enter a game starting state, sending the decryption verification information to the first contract within preset time, so that the first contract decrypts and verifies corresponding content information according to the decryption verification information sent by each user side, and generating and outputting a game result according to each verified content information and a preset game rule.
2. The method according to claim 1, wherein the generating game participation confirmation information including encrypted content information, recording the encrypted content information onto the first blockchain, and transmitting the game participation confirmation information to a node of the first blockchain network comprises:
generating content information and a first random number;
generating a first hash value according to the content information and the first random number, and generating a second hash value according to the first random number;
recording encrypted content information including the first hash value and the second hash value onto a first blockchain;
generating game participation confirmation information including the encrypted content information, and transmitting the game participation confirmation information to a node of a first blockchain network;
the decryption verification information includes the first random number.
3. The method of claim 2, wherein the decryption verification information further comprises the content information.
4. The method according to any one of claims 1 to 3, wherein the game is a guess-boxing game, and the content information is punch content;
the game rules include any one of:
judging whether the content of each punch passing the verification is successful or negative pairwise, and counting the total score of each user;
carrying out random cup game grouping before carrying out decryption verification, recording a grouping result to a first block chain, and carrying out win-win judgment on each punch content passing the verification according to the grouping;
and judging whether the verified punch contents win or lose according to the mixed competition system.
5. The method of any of claims 1-3, wherein the game outcome is a single round of game outcome, the method further comprising:
judging whether the single round of game results is the final game results or not, and whether the current user is eliminated in the current round or not:
and if not, returning the generated game participation confirmation information and sending the generated game participation confirmation information to the node of the first block chain network.
6. The method of claim 5, wherein the game is configured to be black and white, and the content information is black or white.
7. The method of any of claims 1-3, wherein the content information comprises content information for each of a plurality of rounds of the game.
8. The method of claim 7, further comprising:
when the current turn of the multiplayer game is finished, the game is not finished and the current player is not eliminated, sending content change request information recorded on the first block chain to the first contract within a preset first time period;
and sending change decryption verification information recorded to the first block chain to the first contract within a preset second time length, so that the first contract can decrypt and verify the content change request information according to the change decryption verification information, and change the corresponding content information after the verification is successful.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-8.
10. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810906421.9A CN109289199B (en) | 2018-08-10 | 2018-08-10 | Multiplayer game method, device and storage medium |
PCT/CN2019/099334 WO2020029929A1 (en) | 2018-08-10 | 2019-08-06 | Multiplayer game method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810906421.9A CN109289199B (en) | 2018-08-10 | 2018-08-10 | Multiplayer game method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109289199A CN109289199A (en) | 2019-02-01 |
CN109289199B true CN109289199B (en) | 2020-07-10 |
Family
ID=65168371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810906421.9A Active CN109289199B (en) | 2018-08-10 | 2018-08-10 | Multiplayer game method, device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109289199B (en) |
WO (1) | WO2020029929A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109289199B (en) * | 2018-08-10 | 2020-07-10 | 杭州复杂美科技有限公司 | Multiplayer game method, device and storage medium |
CN109985389B (en) * | 2019-04-04 | 2022-08-23 | 南京邮电大学 | Cheating-preventing method and system for card games based on intelligent block chain contracts |
CN110798529B (en) * | 2019-11-06 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Data processing method, block chain link point equipment and computer storage medium |
CN111494961B (en) * | 2020-04-10 | 2023-04-07 | 网易(杭州)网络有限公司 | Detection method and device for online game and electronic equipment |
CN112001071A (en) * | 2020-08-14 | 2020-11-27 | 广州市百果园信息技术有限公司 | Method, device, equipment and medium for determining simulated guess data |
CN113289344A (en) * | 2021-06-04 | 2021-08-24 | 杭州复杂美科技有限公司 | Block chain game method, equipment and storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4437277A1 (en) * | 1994-03-11 | 1995-09-14 | Walker Asset Management Ltd | Improved remote gaming system |
US6030288A (en) * | 1997-09-02 | 2000-02-29 | Quixotic Solutions Inc. | Apparatus and process for verifying honest gaming transactions over a communications network |
CN101028778A (en) * | 2007-04-30 | 2007-09-05 | 四川亚元防伪科技有限公司 | Anti-fogery lottery receipt, evidence, lottery-ticket and its production, long-distance cashing method and system |
CN106552420A (en) * | 2015-09-30 | 2017-04-05 | 彭先立 | Networking game device |
JP6134415B2 (en) * | 2016-04-11 | 2017-05-24 | 株式会社ユニバーサルエンターテインメント | Game machine |
CN106504174A (en) * | 2016-09-27 | 2017-03-15 | 布比(北京)网络技术有限公司 | Lottery industry publishing system and device based on block chain |
US10380842B2 (en) * | 2016-10-26 | 2019-08-13 | International Business Machines Corporation | Blockchain gaming |
WO2018129118A1 (en) * | 2017-01-06 | 2018-07-12 | FirstBlood Technologies, Inc. | Decentralized competitive arbitration using digital ledgering |
CN108063756B (en) * | 2017-11-21 | 2020-07-03 | 阿里巴巴集团控股有限公司 | Key management method, device and equipment |
CN109289199B (en) * | 2018-08-10 | 2020-07-10 | 杭州复杂美科技有限公司 | Multiplayer game method, device and storage medium |
-
2018
- 2018-08-10 CN CN201810906421.9A patent/CN109289199B/en active Active
-
2019
- 2019-08-06 WO PCT/CN2019/099334 patent/WO2020029929A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2020029929A1 (en) | 2020-02-13 |
CN109289199A (en) | 2019-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109289199B (en) | Multiplayer game method, device and storage medium | |
US11551515B2 (en) | Peer-to-peer wagering platform | |
US8317598B2 (en) | Handicapping and differential reward system for skill-based games | |
US20070218980A1 (en) | System and Method for Instant Ticket-Based Entertainment Game | |
WO2012092681A1 (en) | Interactive gaming having lotterized and skill-based wagering components | |
US11103792B2 (en) | Bounded competitions in a video game framework | |
CN109646934B (en) | Ten-point and half-point game method, equipment and storage medium | |
EP4064235A1 (en) | Cooperative gameplay in peer-to-peer wagering platform | |
CN105264581A (en) | Enhanced integrated gambling process for games with explicit random events | |
US20080026846A1 (en) | Structured gaming system | |
JP2017113438A (en) | Game system and program | |
JP2018126358A (en) | Information processor and game program | |
US20240115956A1 (en) | Method for changing game parameter | |
US20070293290A1 (en) | Tournament system for multi-player games with dynamic server balancing | |
KR101729186B1 (en) | Computer program and server for providing game session | |
CN111346385A (en) | Game matching method and device | |
JP7498157B2 (en) | PROGRAM AND INFORMATION PROCESSING APPARATUS | |
US20080039165A1 (en) | Systems and methods for a scouting report in online gaming | |
WO2014022694A2 (en) | Gaming system and method | |
JP5848402B2 (en) | GAME SYSTEM, CONTROL METHOD, AND COMPUTER PROGRAM | |
JP7333503B2 (en) | Game program, server device and game system | |
WO2024087935A1 (en) | Virtual object control method and apparatus, device, medium, and product | |
KR20200055911A (en) | Verifying system of on-line game information and method of the same | |
CN116999807A (en) | Virtual character determining method and device, storage medium and electronic equipment | |
KR100685363B1 (en) | Method and system for providing one on one game service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210422 Address after: 310000 Room 702, 7th Floor, Building 6, East Software Park, No. 90 Wensan Road, Xihu District, Hangzhou City, Zhejiang Province Patentee after: HANGZHOU FUZAMEI TECHNOLOGY Co.,Ltd. Patentee after: Suzhou Jiaoda Chain Technology Co.,Ltd. Address before: 310000 6 floor, 6 building, 90 East Wensanlu Road Software Park, Wensanlu Road, Hangzhou, Zhejiang. Patentee before: HANGZHOU FUZAMEI TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |