CN109739753A - Chess/card game test method, device, equipment and storage medium - Google Patents

Chess/card game test method, device, equipment and storage medium Download PDF

Info

Publication number
CN109739753A
CN109739753A CN201811578715.XA CN201811578715A CN109739753A CN 109739753 A CN109739753 A CN 109739753A CN 201811578715 A CN201811578715 A CN 201811578715A CN 109739753 A CN109739753 A CN 109739753A
Authority
CN
China
Prior art keywords
chess
card
information
card game
test
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.)
Pending
Application number
CN201811578715.XA
Other languages
Chinese (zh)
Inventor
谷刚
黄文杰
芦少军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201811578715.XA priority Critical patent/CN109739753A/en
Publication of CN109739753A publication Critical patent/CN109739753A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)

Abstract

The present invention provides a kind of chess/card game test method, device, equipment and storage medium.This method comprises: according to the instruction received, the information of current gambling party is configured, wherein, it include the information of card in one's hand and/or the information of hands in the information of current gambling party, and according to chess/card game rule, test at least once is carried out to current gambling party, the various test scenes of chess/card game are controllably tested to realize.

Description

Chess/card game test method, device, equipment and storage medium
Technical field
The present invention relates to manipulation technical fields more particularly to a kind of chess/card game test method, device, equipment and storage to be situated between Matter.
Background technique
Chess/card game can be generally divided into the types such as mahjong, board class, long suit class, word board class, chess.Currently, due to chess and card Game has its specific regular (i.e. playing method) in each place, so that chess/card game may include thousands of kinds of playing method.Example Such as, in the chess/card game of mahjong class, there is the playing method for four people that fight to the last drop of one's blood in Chengdu, and there is the playing method in Leshan in Leshan, and Guangan City has The playing method etc. in Guangan.In addition, for same class chess/card game, game player can also customized chess/card game rule according to demand With rising pouring market settlement.For example, chess/card game rule can be using the playing method of two people, three people or four people, rising pouring market settlement can With using draw it oneself plus kind or doubling algorithm etc., in this way, making more type of chess/card game, object for appreciation fado and custom option more.Cause This, it will be a very difficult task that tester, which tests chess/card game,.
In general, existing chess/card game test method include it is a variety of, first is that completely random type test method, in the method, Tester is tested with the identity of some true player, other players can carry out training mate for true player or program.Test The privilege of personnel is only that the event of operation triggering behind is visible it, to carry out record and track problems.But the party In method, a possibility that Testability design of gambling party is 0, incident is 100%.Due to complete randomness and uncontrollability, The problem of this method is only applicable to the fully simulated test to chess/card game, can not be to chess/card game regression test and systematic testing Equal test scenes are tested, to be difficult to track the gambling party process of true player to realize positioning, also in a short time can not Possibility is covered as much as possible.
Second is that file configuration type test method, in the method, tester defines the hand of all players hereof Board, card in one's hand.But in this method, the randomness of other incidents outside configuration file is 0, and the Testability design of gambling party is 100%, allow this method to chess/card game the problem of the test scenes such as regression test and systematic testing test.But This method obtains test result, and quality fully relies on the experience of tester and the familiarity to chess/card game, and needs big It measures manpower and carries out file configuration and management, therefore, for miscellaneous chess/card game, this method inefficiency, human cost It is high.
In conclusion can be swum at present using the combination of above two chess/card game test method or both methods to chess and card Each test scene of play is tested, but due to the random uncontrollability of the test scene of chess/card game, so that this method Testing efficiency is low, and human cost is high.
Summary of the invention
The present invention provides a kind of chess/card game test method, device, equipment and storage medium, with solve in the prior art without The problem of method controllably tests chess/card game and causes testing efficiency low and higher cost.
In a first aspect, the present invention provides a kind of chess/card game test method, comprising:
According to the instruction received, the information of current gambling party is configured, wherein the information of the current gambling party includes The information of middle card in one's hand and/or the information of hands;
According to chess/card game rule, test at least once is carried out to the current gambling party.
Optionally, before opening the current gambling party, according to the instruction received, the information of current gambling party is matched It sets, comprising:
According to the instruction received, the information of card in one's hand in the current gambling party is configured;Alternatively,
According to the instruction received, the information of hands in the current gambling party is configured;Alternatively,
According to the instruction received, card in one's hand in the current gambling party and the respective information of hands are configured.
Optionally, after opening the current gambling party, according to the instruction received, the information of current gambling party is matched It sets, comprising:
According to the instruction received, the information of the card in one's hand is obtained;
According to the information of the card in one's hand, the information of hands and wheel board order information, the card in one's hand is configured.
Optionally, the information of the card in one's hand is the board type of the card in one's hand and/or the position of card in one's hand.
Optionally, according to chess/card game rule, before carrying out test at least once to the current gambling party, the side Method further include:
Judge whether to be stored with chess/card game rule corresponding with the instruction received in first database, wherein described the At least one chess/card game rule is stored in one database;
If so, obtaining the chess/card game rule from the first database.
It is optionally, not stored when having chess/card game rule corresponding with the instruction received in the first database, The method also includes:
From the second database, required basic board type is obtained, wherein being stored with chess/card game in second database Basic board type;
According to the instruction received, board rule is configured to the required basic board type, obtains the chess/card game rule Then.
Optionally, the method also includes:
By chess/card game rule storage into the first database.
Second aspect, the present invention provide a kind of chess/card game test device, comprising:
Configuration module, for being configured to the information of current gambling party according to the instruction received, wherein described current The information of information and/or hands in the information of gambling party including card in one's hand;
Test module, for carrying out test at least once to current gambling party according to chess/card game rule.
Optionally, configuration module, for according to the instruction received, working as to described before opening the current gambling party The information of card in one's hand is configured in preceding gambling party;Alternatively, according to the instruction received, to the information of hands in the current gambling party into Row configuration;Alternatively, being configured according to the instruction received to card in one's hand in current gambling party and the respective information of hands.
Optionally, configuration module, for according to the instruction received, obtaining card in one's hand after opening the current gambling party Information;According to the information of card in one's hand, the information of hands and wheel board order information, card in one's hand is configured.
Optionally, the information of card in one's hand is the board type of card in one's hand and/or the position of card in one's hand.
Optionally, the chess/card game test device further include:
Judgment module, for judging whether be stored with chess/card game rule corresponding with the instruction received in first database Then, at least one chess/card game rule is wherein stored in first database;
Obtain module, when the corresponding chess/card game rule of instruction for being stored with receiving in first database, Chess/card game rule is obtained from first database.
Optionally, not stored when having chess/card game rule corresponding with the instruction received in first database, it obtains Module is also used to from the second database, required basic board type is obtained, wherein being stored with chess/card game in the second database Basic board type.
Optionally, the chess/card game test device further include:
Determining module, for being configured to board rule to required basic board type, obtaining chess and card trip according to the instruction received Play rule.
Optionally, the chess/card game test device further include:
Memory module, for storing chess/card game rule into first database.
The third aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the meter Chess/card game test method described in first aspect is realized when calculation machine program is executed by processor.
Fourth aspect, the present invention provide a kind of electronic equipment, comprising: input-output equipment, memory and processor;It is described Input-output equipment, the memory are connected to the processor respectively;
The memory, for storing program instruction;
The processor realizes chess/card game test method described in first aspect for being performed in program instruction.
Chess/card game test method, device, equipment and storage medium provided by the invention, by according to the finger received It enables, it can be before or after opening current gambling party, the information of information and/hands to card in one's hand in current gambling party configures, To guarantee to generate the required target board type of test and there is certain randomness at board process, so that can with the current gambling party postponed To meet the various test scenes of chess/card game, further according to chess/card game rule, one or many surveys is carried out to current gambling party Examination, sufficiently meets the respective demand of tester, easily and fast completes to the various test scenes of chess/card game Test process ensure that the controllability of test result, improve the efficient stable of test, and solving in the prior art can not be right The problem of chess/card game is controllably tested and causes testing efficiency low and higher cost, thus guaranteeing that randomness is higher Under the premise of, the board time is shortened into, testing efficiency is improved, reduces testing cost.
Detailed description of the invention
It, below will be to embodiment or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is of the invention one A little embodiments for those of ordinary skill in the art without any creative labor, can also be according to this A little attached drawings obtain other attached drawings.
Fig. 1 is the flow chart of chess/card game test method provided by the invention;
Fig. 2 is the flow chart of chess/card game test method provided by the invention;
Fig. 3 is the schematic diagram of " three sound of a big gun " test scene provided by the invention;
Fig. 4 is the flow chart of chess/card game test method provided by the invention;
Fig. 5 is the structural schematic diagram of chess/card game test device provided by the invention;
Fig. 6 is the structural schematic diagram of chess/card game test device provided by the invention;
Fig. 7 a is the structural schematic diagram of chess/card game test device provided by the invention;
Fig. 7 b is the structural schematic diagram of chess/card game test device provided by the invention;
Fig. 8 is the hardware structural diagram of electronic equipment provided by the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the attached drawing in the present invention, to this Technical solution in invention is clearly and completely described, it is clear that and described embodiments are some of the embodiments of the present invention, Instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor Every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
It should be noted that term " first ", " second " and " third " etc. in the embodiment of the present application each section and attached drawing It is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that the number used in this way According to being interchangeable under appropriate circumstances, so that embodiments herein described herein can be in addition to illustrating herein or describing Those of other than sequence implement.In addition, term " includes " and " having " and their any deformation, it is intended that covering is not Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set Standby intrinsic other step or units.
Method flow diagram involved in the following embodiments of the application is merely illustrative, it is not necessary in all Appearance and step, nor is it necessary that and execute in the described sequence.For example, some steps can also decompose, and some steps can To merge or partially merge, therefore, the sequence actually executed can change according to the actual situation.
Functional module in block diagram involved in the following embodiments of the application is only functional entity, not necessarily must be with Physically separate entity is corresponding.I.e., it is possible to realize these functional entitys using software form, or in one or more hardware It is realized in module or integrated circuit in these functional entitys or heterogeneous networks and/or processor and/or microcontroller and realizes this A little functional entitys.
Combine multiple examples to chess/card game test method, device, equipment and storage provided by the embodiments of the present application as follows Medium is illustrated.
Fig. 1 is the flow chart of chess/card game test method provided by the invention.The chess/card game test method can be by game The processing equipment for the terminal that software/client is installed such as processor executes corresponding software code realization, can also be by the terminal Processing equipment execute corresponding software code, and other hardware entities is combined to realize.Wherein, terminal be, for example, desktop computer, Notebook, personal digital assistant (Personal Digital Assistant, referred to as: PDA), smart phone, tablet computer and The equipment such as game machine.The embodiment is illustrated by executing subject of terminal, and the executive mode of server is similar, the present embodiment this Place does not repeat them here.
It can be swum by executing game application and rendering to generate to chess and card in the display equipment of terminal on the processor of terminal The various test scenes of play, and the processor can test the Hu method of chess/card game, kind type, settle accounts and process of playing cards etc., and survey Examination hall scape type is more.
Wherein, various test scenes can include but is not limited to the playing method test of chess/card game, clearing logic testing, problem The test scenes such as regression test, systematic testing, fully simulated test.
For example, whether the processor can detecte in gambling party according to true rule in the playing method test scene of chess/card game Then realize.In the clearing logic testing scene of chess/card game, the processor can for different option and win the game as a result, with And whether the logic of different clearing scores, the clearing logic for verifying each case are normal.It returns and surveys in the problem of chess/card game In the scape of examination hall, which can track the gambling party process of true player with orientation problem.In the systematic testing of chess/card game In scene, which can cover possible problem as much as possible in a short time.In the fully simulated test of chess/card game In scene, which can be with the process of complete simulation game to experience details.
The chess/card game test method can be applied to that the electronic equipment of the test scene of various chess/card games can be provided, Before or after opening gambling party, the information of information and/or hands to card in one's hand in gambling party carries out random and controllable configuration, and According to chess/card game rule, one or many test process of gambling party are completed, to realize the test to various chess/card games Process.As shown in Figure 1, the chess/card game test method of the present embodiment may include:
The instruction that S101, basis receive, configures the information of current gambling party, wherein in the information of current gambling party The information of information and/or hands including card in one's hand.
Specifically, tester can send corresponding instruction according to the testing requirement to chess/card game by terminal, In, the test scene of the instruction and chess/card game has incidence relation.
Since the information of gambling party is different, the hands and card in one's hand that player gets are all different, to whether recklessly to influence player The time order and function of board and sequence of winning the game, in this way, just constituting the different test scenes of chess/card game, therefore, the present embodiment can With according to the instruction, before or after opening current gambling party, to the information of card in one's hand in current gambling party and/or the information of hands Random and controllable configuration is carried out, the required target board type of test has been quickly generated and there is certain randomness at board process, So that meeting the actual test scene of chess/card game with the current gambling party postponed.
Wherein, the board in hands, that is, player's hand, the information of hands are the board type of hands, i.e. the pattern and content of hands.Example Such as, in board class chess/card game, the board type of hands is that side buckles 5, then side's button is the pattern of hands, and 5 be the content of hands.Mahjong class chess In board game, the board type of hands is three, then strip is the pattern of hands, and three be the content of hands.
And the board in player's hand, player can not take available card in one's hand by touching in card in one's hand, that is, gambling party.The letter of card in one's hand Breath may include it is a variety of, the present embodiment does not limit this.Optionally, the information of card in one's hand is the board type and/or card in one's hand of card in one's hand Position.Specifically, the board type of card in one's hand is the pattern and content of card in one's hand, for example, the board type of card in one's hand is that side buckles in board class chess/card game 5, then side's button is the pattern of card in one's hand, and 5 be the content of card in one's hand.In mahjong class chess/card game, the board type of card in one's hand is three, then strip is The pattern of card in one's hand, three be the content of card in one's hand.The position of card in one's hand refers to the position that card in one's hand is specifically placed.Under normal circumstances, player The position for obtaining card in one's hand and card in one's hand has incidence relation.
S102, according to chess/card game rule, test at least once is carried out to current gambling party.
Specifically, after configuring to the information of current gambling party, the present embodiment can be right according to chess/card game rule Current gambling party carries out one or many tests, realizes the test process to various chess/card games.
Chess/card game test method provided in this embodiment, by the way that current board can be being opened according to the instruction received Before or after office, the information of card in one's hand in current gambling party and/or the information of hands are configured, to guarantee needed for generating test Target board type and there is certain randomness at board process so that can satisfy each of chess/card game with the current gambling party that postpones Kind test scene carries out one or many tests to current gambling party, sufficiently meets tester further according to chess/card game rule The respective demand of member, easily and fast completes the test process to the various test scenes of chess/card game, ensure that test As a result controllability improves the efficient stable of test, and solving in the prior art can not controllably survey chess/card game The problem of trying and causing testing efficiency low and higher cost, to shorten into board under the premise of guaranteeing that randomness is higher Time improves testing efficiency, reduces testing cost.
On the basis of above-mentioned Fig. 1 embodiment, in order to construct the various test scenes of chess/card game, the present embodiment is not only The information of card in one's hand in gambling party can be configured, the information of hands in gambling party can also be configured, it can also be to gambling party The information of middle card in one's hand and the information of hands are configured together.Also, due to after opening gambling party, operating in chess/card game Personnel just can not configure the hands of player, therefore, be based on foregoing description, the present embodiment can be by a variety of of chess/card game There are many types for test scene.
In the test scene of the first kind, the present embodiment only can open current gambling party according to the instruction received The information of card in one's hand is configured before.In this way, tester can be with the hands of each player of random arrangement, and card in one's hand is carried out Autonomous configuration, to be got according to the wish of tester, board type that tester wants is combined or manufacture occurs at random The combination of board type, can realize the test process to test scenes such as nominative testing and random tests.
In the test scene of Second Type, the present embodiment only can open current gambling party according to the instruction received The information of crossruff carries out autonomous configuration before.In this way, tester can be with the hands of each player of autonomous configuration, random arrangement Card in one's hand, to realize the test scenes such as test of dealing out the cards, board type combined test, gold coin clearing test according to the wish of tester Test process.
In the test scene of third type, the present embodiment can according to the instruction received, open current gambling party it Preceding crossruff and the respective information of card in one's hand carry out autonomous configuration.In this way, tester can with the hands of each player of autonomous configuration, And card in one's hand, thus according to the wish of tester so that player takes specified board type, get desired board type combination or The board type combination that person's manufacture occurs at random, to meet nominative testing demand and random test demand.
In the test scene of the 4th type, the present embodiment only can open current gambling party according to the instruction received The information of card in one's hand is configured later.In this way, tester can be with each player of random arrangement before opening current gambling party Hands and card in one's hand, so that tester can be according to the hands of each player, to card in one's hand after opening current gambling party Information carry out autonomous configuration, to realize high probability at the combination of board, so that player is easier to take " pairs of " or " Cheng Zuhe " Board shorten into the board time, improve testing efficiency in this way, under the premise of guaranteeing higher randomness.
In addition, the present embodiment saves the configuration every time to card in one's hand and/or hands, it is more to be carried out to chess/card game Secondary regression test saves the time cost spent again with board, ensure that the consistency of multiple testing process, to improve The accuracy rate of test result improves the efficient stable of test.
On the basis of above-mentioned Fig. 1 embodiment, in conjunction with Fig. 2 to the finger that receives of basis in the test scene of the 4th type It enables, the specific implementation process configured to the information of card in one's hand in current gambling party is described in detail.
Fig. 2 is the flow chart of chess/card game test method provided by the invention, as shown in Fig. 2, the chess and card of the present embodiment are swum Play test method may include:
The instruction that S201, basis receive, obtains the information of card in one's hand.
S202, according to the information of card in one's hand, the information of hands and wheel board order information, card in one's hand is configured.
Specifically, since the test scene of the instruction and chess/card game that receive has incidence relation, the present embodiment The information of card in one's hand in available current gambling party, and according to the information of card in one's hand, the information of hands and wheel board order information, the bottom of to Board is controllably configured, so that meeting the test scene of corresponding chess/card game with the current gambling party postponed.Wherein, wheel board sequence is believed Breath is that each player touches the order information for taking card in one's hand and currently takes turns to which player, which touches, takes the information of card in one's hand.
For example, when tester wants building " three sound of a big gun " test scene, being surveyed in the chess/card game of four people's mahjong Examination personnel can be according to the hands information and wheel board order information in the information of card in one's hand, four players, by setting to card in one's hand It sets, a player can be allowed to touch the board for taking its excess-three player to win the game jointly from card in one's hand, to realize to " a big gun three The test process of sound " test scene.
For ease of description, in conjunction with Fig. 3, the test process of " three sound of a big gun " test scene is illustrated.Four in Fig. 3 Row board respectively corresponds the hands of four players, and the present embodiment can make the second row corresponding by configuring to the information of card in one's hand Player get " 70,000 " this board, in this way, corresponding three players of remaining row just can win the game, to realize The test scene of " three sound of a big gun ".
Specific implementation on the basis of above-mentioned Fig. 1 embodiment, in conjunction with Fig. 4, to the present embodiment chess/card game test method Process is described in detail.
Fig. 4 is the flow chart of chess/card game test method provided by the invention, as shown in figure 4, the chess and card of the present embodiment are swum Play test method may include:
The instruction that S301, basis receive, configures the information of current gambling party, wherein in the information of current gambling party The information of information and/or hands including card in one's hand.
Wherein, S301 is similar with the S101 implementation in Fig. 1 embodiment, and details are not described herein again for the present embodiment.
S3001, judge chess/card game rule corresponding with the instruction received whether is stored in first database, wherein At least one chess/card game rule is stored in first database.If so, executing S3002.If it is not, then executing S30031- S30032。
S3002, chess/card game rule is obtained from first database.
S30031, from the second database, obtain required basic board type, wherein be stored in the second database chess and card trip The basic board type of play.
The instruction that S30032, basis receive is configured to board rule to required basic board type, obtains chess/card game rule Then.
Specifically, after the card in one's hand to current gambling party configures, if before not opening current gambling party, the present embodiment It can first judge chess/card game rule corresponding with the instruction received whether is stored in first database.
When the corresponding chess/card game rule of the instruction for being stored with receiving in first database, the present embodiment can be straight It connects and obtains chess/card game rule from first database, to test according to the chess/card game rule current gambling party.
When in first database it is not stored have chess/card game rule corresponding with the instruction received when, the present embodiment can be with From the second database, required basic board type is obtained, and according to the instruction received, board is configured to required basic board type Rule obtains chess/card game rule.In turn, the present embodiment can be according to the demand of tester, the chess/card game reformulated Rule, so that chess/card game tests current gambling party according to new chess/card game rule, so that test can be more comprehensive, And scalability is strong.
In addition, the present embodiment can store the chess/card game rule to first after new chess/card game Rulemaking In database, facilitate next time to the timely calling of chess/card game rule, it is ensured that the testing efficiency of chess/card game.
S302, according to chess/card game rule, test at least once is carried out to current gambling party.
Wherein, S302 is similar with the S102 implementation in Fig. 1 embodiment, and details are not described herein again for the present embodiment.
Chess/card game test method provided in this embodiment can not only be configured the information of current gambling party, to protect Card generates the required target board type of test and has certain randomness at board process, can also expand new chess/card game rule Then, so that the various test scenes of chess/card game are more abundant, meet tester to the various testing requirements of chess/card game, drop The low development cost of chess/card game, and since the chess/card game rule of chess/card game is saved.
Fig. 5 is the structural schematic diagram of chess/card game test device provided by the invention, as shown in figure 5, the chess of the present embodiment Board game test device 10 may include:
Configuration module 11, for being configured to the information of current gambling party, wherein current board according to the instruction received It include the information of card in one's hand and/or the information of hands in the information of office;
Test module 12, for carrying out test at least once to current gambling party according to chess/card game rule.
Optionally, configuration module 11 are used for before opening the current gambling party, according to the instruction received, to described The information of card in one's hand is configured in current gambling party;Alternatively, according to the instruction received, to the information of hands in the current gambling party It is configured;Alternatively, being configured according to the instruction received to card in one's hand in current gambling party and the respective information of hands.
Optionally, configuration module 11, for according to the instruction received, obtaining bottom after opening the current gambling party The information of board;According to the information of card in one's hand, the information of hands and wheel board order information, card in one's hand is configured.
Optionally, the information of card in one's hand is the board type of card in one's hand and/or the position of card in one's hand.
Fig. 6 is the structural schematic diagram of chess/card game test device provided by the invention, as shown in fig. 6, the chess of the present embodiment On the basis of the apparatus structure shown in Fig. 5 of board game test device 10, further includes:
Judgment module 13, for judging whether be stored with chess/card game corresponding with the instruction received in first database Rule is wherein stored at least one chess/card game rule in first database;
Obtain module 14, the corresponding chess/card game rule of instruction for being stored with receiving in first database When, chess/card game rule is obtained from first database.
Optionally, not stored when having chess/card game rule corresponding with the instruction received in first database, it obtains Module 14 is also used to from the second database, required basic board type is obtained, wherein being stored with chess/card game in the second database Basic board type.
Fig. 7 a is the structural schematic diagram of chess/card game test device provided by the invention, as shown in Figure 7a, the present embodiment On the basis of the apparatus structure shown in Fig. 6 of chess/card game test device 10, further includes:
Determining module 15, for being configured to board rule to required basic board type, obtaining chess and card according to the instruction received Game rule.
Fig. 7 b is the structural schematic diagram of chess/card game test device provided by the invention, as shown in Figure 7b, the present embodiment Chess/card game test device 10 is on the basis of Fig. 7 a shown device structure, further includes:
Memory module 16, for storing chess/card game rule into first database.
Chess/card game test device provided in this embodiment can be used for executing above-mentioned Fig. 1-chess/card game test shown in Fig. 4 Method, implementation is similar with technical effect, and details are not described herein again for the present embodiment.
It can carry out the division of functional module, example in the present invention to chess/card game test device according to above method example Such as, each functional module of each function division can be corresponded to, two or more functions can also be integrated at one It manages in module.Above-mentioned integrated module both can take the form of hardware realization, can also use the form of software function module It realizes.It should be noted that being schematical, only a kind of logic function stroke to the division of module in various embodiments of the present invention Point, there may be another division manner in actual implementation.
Fig. 8 is the hardware structural diagram of electronic equipment provided by the invention.As shown in figure 8, the electronic equipment 20, is used for Realize the operation for corresponding to terminal in any of the above-described embodiment of the method, the electronic equipment 20 of the present embodiment may include: that input is defeated Equipment 21, memory 22 and processor 23 out.Wherein, input-output equipment 21 and memory 22 pass through bus 24 and processing respectively Device 23 connects.
Memory 22, for storing computer program;
Processor 23, for executing the computer program of the storage of memory 22, to realize that the chess and card in above-described embodiment are swum Play test method.It specifically may refer to the associated description in preceding method embodiment.
Optionally, memory 22 can also be integrated with processor 23 either independent.
Wherein, input-output equipment 21 can be connect by bus 24 with processor 23.Processor 23 can control input Output equipment 21 realizes the above-mentioned function of sending and receiving of electronic equipment 20.
Electronic equipment provided in this embodiment can be used for executing above-mentioned chess/card game test method, implementation and skill Art effect is similar, and details are not described herein again for the present embodiment.
The present invention also provides a kind of computer readable storage medium, computer readable storage medium includes computer program, Computer program is for realizing the chess/card game test method in embodiment as above.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the division of module, only A kind of logical function partition, there may be another division manner in actual implementation, such as multiple modules can combine or can be with It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module, can To be electrically mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned module at Unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated module realized in the form of software function module, can store and computer-readable deposit at one In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this Shen Please each embodiment method part steps.
It should be understood that above-mentioned processor can be central processing unit (English: Central Processing Unit, letter Claim: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, Referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with hair The step of bright disclosed method, can be embodied directly in hardware processor and execute completion, or with hardware in processor and soft Part block combiner executes completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage can also be USB flash disk, mobile hard disk, read-only memory, disk or CD etc..
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
Above-mentioned computer readable storage medium can be by any kind of volatibility or non-volatile memory device or Their combination realizes that, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) can Erasable programmable read-only memory (EPROM) (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, Flash memory, disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of chess/card game test method, which is characterized in that the described method includes:
According to the instruction received, the information of current gambling party is configured, wherein include bottom in the information of the current gambling party The information of board and/or the information of hands;
According to chess/card game rule, test at least once is carried out to the current gambling party.
2. the method according to claim 1, wherein before opening the current gambling party, according to what is received Instruction, configures the information of current gambling party, comprising:
According to the instruction received, the information of card in one's hand in the current gambling party is configured;Alternatively,
According to the instruction received, the information of hands in the current gambling party is configured;Alternatively,
According to the instruction received, card in one's hand in the current gambling party and the respective information of hands are configured.
3. the method according to claim 1, wherein after opening the current gambling party, according to what is received Instruction, configures the information of current gambling party, comprising:
According to the instruction received, the information of the card in one's hand is obtained;
According to the information of the card in one's hand, the information of hands and wheel board order information, the card in one's hand is configured.
4. method according to claim 1-3, which is characterized in that the information of the card in one's hand is the board of the card in one's hand The position of type and/or card in one's hand.
5. the method according to claim 1, wherein according to chess/card game rule, to the current gambling party into Before the test of row at least once, the method also includes:
Judge chess/card game rule corresponding with the instruction received whether is stored in first database, wherein first number It is regular according at least one chess/card game is stored in library;
If so, obtaining the chess/card game rule from the first database.
6. according to the method described in claim 5, it is characterized in that, not stored in the first database have and receive When instructing corresponding chess/card game rule, the method also includes:
From the second database, required basic board type is obtained, wherein being stored with the base of chess/card game in second database This board type;
According to the instruction received, board rule is configured to the required basic board type, obtains the chess/card game rule.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
By chess/card game rule storage into the first database.
8. a kind of chess/card game test device characterized by comprising
Configuration module, for being configured to the information of current gambling party, wherein the current gambling party according to the instruction received Information in include card in one's hand information and/or hands information;
Test module, for carrying out test at least once to current gambling party according to chess/card game rule.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Claim 1-7 described in any item chess/card game test methods are realized when processor executes.
10. a kind of electronic equipment characterized by comprising input-output equipment, memory and processor;The input and output Equipment, the memory are connected to the processor respectively;
The memory, for storing program instruction;
The processor, for being performed in program instruction, with realizing in the described in any item game of claim 1-7 preview The chess/card game test method of figure.
CN201811578715.XA 2018-12-24 2018-12-24 Chess/card game test method, device, equipment and storage medium Pending CN109739753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811578715.XA CN109739753A (en) 2018-12-24 2018-12-24 Chess/card game test method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811578715.XA CN109739753A (en) 2018-12-24 2018-12-24 Chess/card game test method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109739753A true CN109739753A (en) 2019-05-10

Family

ID=66359628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811578715.XA Pending CN109739753A (en) 2018-12-24 2018-12-24 Chess/card game test method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109739753A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110548277A (en) * 2019-09-29 2019-12-10 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring hand cards in card game program and readable medium
CN113409627A (en) * 2020-09-30 2021-09-17 北京奇智新元科技有限公司 Chess teaching system
CN113485925A (en) * 2021-07-01 2021-10-08 网易(杭州)网络有限公司 Game testing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120101799A1 (en) * 2010-10-20 2012-04-26 Sony Computer Entertainment America Inc. Load testing online game server environment using web-based interface
CN102819487A (en) * 2011-06-10 2012-12-12 腾讯科技(深圳)有限公司 Method and device for testing online game
CN105233495A (en) * 2014-12-03 2016-01-13 岳雷 Digital mahjong
CN105447296A (en) * 2014-09-25 2016-03-30 博雅网络游戏开发(深圳)有限公司 Poker hand pattern sequence data processing system, apparatus and method and Poker card order sequence data processing system, apparatus and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120101799A1 (en) * 2010-10-20 2012-04-26 Sony Computer Entertainment America Inc. Load testing online game server environment using web-based interface
CN102819487A (en) * 2011-06-10 2012-12-12 腾讯科技(深圳)有限公司 Method and device for testing online game
CN105447296A (en) * 2014-09-25 2016-03-30 博雅网络游戏开发(深圳)有限公司 Poker hand pattern sequence data processing system, apparatus and method and Poker card order sequence data processing system, apparatus and method
CN105233495A (en) * 2014-12-03 2016-01-13 岳雷 Digital mahjong

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110548277A (en) * 2019-09-29 2019-12-10 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring hand cards in card game program and readable medium
CN110548277B (en) * 2019-09-29 2020-12-25 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring hand cards in card game program and readable medium
CN113409627A (en) * 2020-09-30 2021-09-17 北京奇智新元科技有限公司 Chess teaching system
CN113409627B (en) * 2020-09-30 2023-10-03 北京奇智新元科技有限公司 Chess teaching system
CN113485925A (en) * 2021-07-01 2021-10-08 网易(杭州)网络有限公司 Game testing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
Allon et al. Crowdsourcing and crowdfunding in the manufacturing and services sectors
CN109739753A (en) Chess/card game test method, device, equipment and storage medium
CN108905193B (en) Game manipulation processing method, device and storage medium
CN107733984A (en) A kind of method, terminal and computer-readable recording medium for pushing screen locking information
US20190251463A1 (en) Interactive live event outcome selection and prediction
CN109078333A (en) A kind of method and device matching game good friend
JP6857825B2 (en) Information processing equipment and programs
CN110008984A (en) A kind of object module training method and device based on multitask sample
CN109304034A (en) A kind of game cheat detection method and relevant device
CN109948882A (en) Task processing method and relevant device based on block data structures
CN109544209A (en) Virtual interests bonusing method, device and computer equipment and storage medium
CN108959453A (en) Information extracting method, device and readable storage medium storing program for executing based on text cluster
CN110084690A (en) Data processing method, device, computer installation and storage medium
CN108428092B (en) Business process display method, device and equipment
CN108596764A (en) A kind of method of commerce, system and terminal device based on block chain
CN103530506A (en) Game implementation method and device for simulating financial transactions
WO2022138325A1 (en) Live streaming device and program
US20190122503A1 (en) Identification of side pot participants in poker game
US20150165324A1 (en) Comment display-capable game system, comment display control method and storage medium
TW200426648A (en) Systems and methods for investment decision support
CN107506990A (en) The method and device of password red packet issue based on mobile social platform
CN110880042B (en) Online game registration information processing method and device
CN110215705A (en) The display methods of information, device, terminal and storage medium in game
CN108985758A (en) Data processing method, data processing system and terminal device
TWM428433U (en) Conversion apparatus between on-line game bonus-offering system and commercial transaction platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510

RJ01 Rejection of invention patent application after publication