CN110548277A - Method, device and equipment for acquiring hand cards in card game program and readable medium - Google Patents

Method, device and equipment for acquiring hand cards in card game program and readable medium Download PDF

Info

Publication number
CN110548277A
CN110548277A CN201910936981.3A CN201910936981A CN110548277A CN 110548277 A CN110548277 A CN 110548277A CN 201910936981 A CN201910936981 A CN 201910936981A CN 110548277 A CN110548277 A CN 110548277A
Authority
CN
China
Prior art keywords
card
cards
selection
candidate
subset
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.)
Granted
Application number
CN201910936981.3A
Other languages
Chinese (zh)
Other versions
CN110548277B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910936981.3A priority Critical patent/CN110548277B/en
Publication of CN110548277A publication Critical patent/CN110548277A/en
Application granted granted Critical
Publication of CN110548277B publication Critical patent/CN110548277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F1/00Card games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • A63F13/46Computing the game score
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • A63F13/48Starting a game, e.g. activating a game device or waiting for other players to join a multiplayer session
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F1/00Card games
    • A63F2001/008Card games adapted for being playable on a screen

Abstract

The application discloses a method, a device, equipment and a readable medium for acquiring a hand in a card game program, and relates to the technical field of computers. The method comprises the following steps: displaying a card type competition game interface, wherein the card type competition game interface comprises a machine-selected hand card and a card selection area; displaying at least one candidate card in the second subset of cards in a card selection area; receiving a first selection operation of a target card in a card selection area; the target card is added to the player card in accordance with the first selection operation, and a play hand is generated. The first card subset is selected from the card set to be distributed, and the cards in the second card subset are provided to the participants as the candidate cards to be selected, so that only the cards in the first card subset need to be distributed and calculated in the process of distributing the cards, and all the cards in the card set do not need to be distributed and calculated, the calculation amount in the card distributing process is reduced, and the distributing efficiency in the card distributing process is improved.

Description

method, device and equipment for acquiring hand cards in card game program and readable medium
Technical Field
the embodiment of the application relates to the technical field of computers, in particular to a method, a device, equipment and a readable medium for acquiring hands in a card game program.
Background
Playing cards (or called cards) are paper tools for competitive entertainment, in a single card game, after cards are distributed to players, the players obtain hands, and in the process of playing the cards, the players press the opponent's small-point-number hands by large-point-number hands according to the points of the hands, and the hands are played at first so as to be the condition for winning the single card game.
In the related art, a method for online card competition is provided, wherein players participate in a competition game through matching of a server, n players correspond to the competition game according to different card rules, n is a positive integer, the number of the whole set of playing cards or the number of two playing cards is generally used as the total number of cards to be distributed to the players, and the server distributes the playing cards to the players after calculating a distribution algorithm of the playing cards.
however, when cards are dealt in the above manner, since the number of cards is large, when the player base is large, the server needs to calculate the distribution algorithm for all cards of a plurality of card games at the same time, which results in a large amount of calculation and a low calculation efficiency.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a readable medium for acquiring hands in a card game program, which can solve the problems that when the cardinality of players is large, a server needs to calculate the distribution algorithm of all cards of a plurality of card games at the same time, the calculation amount is large, and the calculation efficiency is low. The technical scheme is as follows:
In one aspect, a method for obtaining hands in a card game program is provided, the method comprising:
Displaying a card game interface, wherein the card game interface is used for performing card game, the card game interface comprises a machine hand-selecting area and a card-selecting area, and the machine hand-selecting area is a hand obtained by selecting a first card subset from a card set and distributing the card subset to a participant;
displaying at least one candidate card in a second subset of cards in the card selection area, wherein the first subset of cards and the second subset of cards are merged into a subset in which no intersection exists in the set of cards;
receiving a first selection operation of a target card in the card selection area;
Adding the target card to the player card according to the first selection operation to generate a card hand, the card hand being a hand for performing the card game.
In another aspect, there is provided a card hand acquisition device for use in a card game program, the device comprising:
The display module is used for displaying a card game interface, the card game interface is used for carrying out card game, the card game interface comprises a machine hand-selecting card and a card-selecting area, and the machine hand-selecting card is a hand obtained by selecting a first card subset from a card set and distributing the card subset to participants;
The display module is further configured to display at least one candidate card in a second subset of cards in the card selection area, wherein the first subset of cards and the second subset of cards are combined into a subset of the set of cards where no intersection exists;
A receiving module, configured to receive a first selection operation of a target card in the card selection area;
A generating module, configured to add the target card to the player card according to the first selection operation, and generate a card hand, where the card hand is a hand used for performing the card game.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the method for obtaining a hand in a card game program as provided in the embodiments of the present application.
In another aspect, a computer-readable storage medium is provided, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the method for acquiring hands in a card game program as provided in the embodiments of the present application.
In another aspect, a computer program product is provided, which when running on a computer, causes the computer to execute the method for acquiring hands in a card game program as provided in the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
The first card subset is selected from the card set to be distributed, and the cards in the second card subset are provided to the participants as the candidate cards to be selected, so that only the cards in the first card subset need to be distributed and calculated in the process of distributing the cards, and all the cards in the card set do not need to be distributed and calculated, the calculation amount in the card distributing process is reduced, and the distributing efficiency in the card distributing process is improved.
drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Figure 1 is a schematic structural diagram of a card game system provided in an exemplary embodiment of the present application;
FIG. 2 is a schematic illustration of a related art dealing process for a card game according to an exemplary embodiment of the present application;
Fig. 3 is a schematic diagram of a process for implementing a field main competition game by terminal access according to an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method for obtaining hands in a card game program according to an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a process for pre-selecting a target playing card provided in accordance with the embodiment shown in FIG. 4;
Figure 6 is a schematic diagram of another process for pre-selecting a target playing card provided based on the embodiment shown in figure 4;
figure 7 is a schematic illustration of the selection of target cards provided based on the embodiment shown in figure 4;
figure 8 is a flow chart of a method for obtaining hands in a card game provided in another exemplary embodiment of the present application;
Figure 9 is a schematic illustration of a card game play interface provided based on the embodiment shown in figure 8;
figure 10 is a schematic illustration of a card game play interface provided based on the embodiment shown in figure 8;
fig. 11 is a schematic diagram of a land call process provided based on the embodiment shown in fig. 8;
FIG. 12 is a schematic interface diagram of an AI self-propelled board hosting provided based on the embodiment shown in FIG. 8;
FIG. 13 is a schematic view of an interface of a card marker provided based on the embodiment shown in FIG. 8;
figure 14 is a flow chart of a method for obtaining hands in a card game provided in another exemplary embodiment of the present application;
FIG. 15 is a schematic diagram of the correspondence of functional tags provided based on the embodiment shown in FIG. 14;
FIG. 16 is a schematic diagram of a target expression selection correspondence provided based on the embodiment shown in FIG. 14;
Fig. 17 is a schematic diagram of an interaction process between a terminal and a local server according to an exemplary embodiment of the present application;
Figure 18 is a block diagram of a device for acquiring hands in a card game program according to an exemplary embodiment of the present application;
Fig. 19 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, an implementation environment of the embodiments of the present application will be described.
Fig. 1 is a schematic structural diagram of a card game system according to an exemplary embodiment of the present application, and as shown in fig. 1, the card game system includes: a terminal 110, a server 120, and a communication network 130;
The terminal 110 is installed with a card game program 111, and the user performs card game match through the card game program 111, optionally, the single card game match may be a 2-player match, a 3-player match, or a 4-player match, or a match with more participants, which is not limited in the embodiment of the present application. In this application, taking the game of the deck type as 3-player game for example, as shown in fig. 1, the terminal 110 further includes a terminal 112, a terminal 113, and a terminal 114, and the terminal 112, the terminal 113, and the terminal 114 are accessed into the same game of the deck type through the server 120, such as: the terminal 112, the terminal 113 and the terminal 114 send matching requests to the server 120 through the communication network 130, and the server 120 matches the terminals requesting the same type of game play to the same brand game play according to the matching requests, that is, when the game plays requested by the terminal 112, the terminal 113 and the terminal 114 are the same type of game play, the server 120 matches the terminal 112, the terminal 113 and the terminal 114 to the same brand game play (three-player game play).
The server 120 is configured to match the card game play with the terminal 110, provide the terminal 110 with a hand applied in the card game play, and provide the terminal 110 with operation options and account results according to play rules in the card game play. Optionally, as shown in fig. 1, the server 120 includes a matching server 121 and a game server 122, where the matching server 121 is configured to match terminals of a corresponding number of people to a same game of the card game according to the requirement of the number of people in the game of the card game, and the game server 122 is configured to provide hands for games to the terminals 110 matched to the game of the card game of the same card game and control the whole game process of the card game.
It should be noted that the terminal 110 may be implemented as a mobile terminal such as a mobile phone, a tablet computer, a portable laptop computer, a wearable device, or a terminal such as a desktop computer, which is not limited in the embodiment of the present application.
The server 120 may be implemented as one server or a server cluster composed of a plurality of servers, and the server 120 may be implemented as a physical server or a cloud server, which is not limited in this embodiment of the application.
With reference to the foregoing implementation environment, a process of a card game play in the related art is schematically described, as shown in fig. 2, first, a process of accessing a terminal to a card game play is schematically described, where the process includes:
Step 201, the terminal sends a matching request to a matching server.
Optionally, the matching request is used for requesting to match with other terminals of the same type of card game play and to play against the same card game play.
step 202, the matching server feeds back the information of the game to the terminal.
optionally, the matching server matches the terminals with the same type of the card game to the same card game according to the matching requests sent by the terminals, and feeds back game play information to the terminals according to the matching results.
Alternatively, when matching of the same type of card game play cannot be achieved, an Artificial Intelligence (AI) terminal and a terminal that sends a matching request are matched into the same card game play.
AI is a theory, method, technique and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use the knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making. The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Step 203, the terminal sends a request for entering the game to the game server.
optionally, the terminal sends a request for entering the game to the game server according to the game information, where the request for entering the game includes the game information.
And step 204, feeding back the approach result to the terminal by the opposite server.
Optionally, the game server creates a corresponding card game according to the game progress request sent by the terminal and the game progress requests sent by the other terminals.
in step 205, the terminal sends a game start request to the game server.
optionally, after receiving the trigger operation of the preparation control, the terminal sends the game starting request to the game-alignment server.
Step 206, the game match server feeds back the game match content to the terminal.
schematically, taking three terminals accessed to realize the game of the main competition in fighting as an example, the game server distributes 17 hands to the first terminal, 17 hands to the second terminal and 17 hands to the third terminal as shown in fig. 3, and starts a timer to enter into the card-out waiting state, wherein 3 cards are base cards and 51 cards are cards which are evenly distributed to the 3 terminals.
When the ground fighter competition is performed in the above manner, the server needs to perform a 51-card dealing calculation process for a single deal, and the number of deals performed in the server at the same time is generally large, so that the amount of calculation corresponding to card dealing performed by the server at the same time is large, and the calculation efficiency is also low.
With reference to the above description, a method for obtaining a hand in a card game program according to an embodiment of the present application is described, and fig. 4 is a flowchart of a method for obtaining a hand in a card game program according to an exemplary embodiment of the present application, which is described by taking the method as an example when the method is applied to a terminal, as shown in fig. 4, the method includes:
step 401, displaying a card game interface, wherein the card game interface comprises a machine card selection hand and a card selection area.
Optionally, the card game-to-game interface is an interface for conducting a card game.
Optionally, the player cards are hands selected from a first subset of cards from a set of cards and dealt to the participants.
Optionally, the hand-selected is the hand of the current player after the cards in the first subset of cards are dealt to the players on average, i.e., the number of cards in the first subset of cards is an integer multiple of the number of players.
optionally, all cards used to conduct a poker tournament may be included in the set of cards, or all cards used for dealing to the participants may be included in the set of cards, such as: some of the cards in a hand of a participant's card game pair are used as a floor card for cards that are dealt according to the identity of the participant after the other cards have been dealt.
Illustratively, the card game play comprises 3 players, and 54 cards of all the card game play comprise 3 base cards randomly selected in each card game play and 51 cards (namely 17 hands of each player), which are evenly distributed, after the 51 cards are distributed, the identities of the three players are determined, and when the player a and the player B are in a first identity and the player C is in a third identity, the 3 base cards are distributed to the player C, namely, the player a and the player B distribute 17 hands and the player C distributes 20 hands. In connection with this illustrative example, the above-mentioned card set may refer to the 54 cards, or may refer to 51 cards for average dealing. The description will be made by taking as an example a set of 51 cards for an average deal, where a first subset of cards is a subset of the 51 cards and the number of cards in the first subset of cards is an integer multiple of the participating party (i.e., an integer multiple of 3), such as: the first subset of playing cards includes 3 playing cards, 6 playing cards, 9 playing cards, … 24 playing cards, and the like. Distributing the cards in the first subset of cards evenly to the participants, such as: when 24 cards are included in the first subset of cards, 8 hands are dealt to each of the participants.
Optionally, the number of all the cards in the above-mentioned match of the card game may also be 84 cards, 108 cards, etc., which is not limited in this embodiment of the present application.
At least one card candidate in the second subset of cards is displayed in a card selection area, step 402.
Optionally, the first subset of playing cards and the second subset of playing cards are subsets of the set of playing cards where there is no intersection, optionally, taking the example that the set of playing cards includes other playing cards for distribution except for the base card, the union of the first subset of playing cards and the second subset of playing cards is the set of playing cards, and there is no intersection between the first subset of playing cards and the second subset of playing cards.
Optionally, the at least one card candidate is displayed in the card selection area in a card-obvious display, i.e., the rank of the at least one card candidate is visible. Optionally, the rank and suit of the card candidate are both visible, or the rank of the card candidate is visible and the suit of the card candidate is not visible.
Optionally, the card candidates in all the second card subsets may be displayed in a single time in the card selection area, the card candidates may be displayed in at least two rounds, or the card candidates may be displayed in a real-time updating manner, which is described in relation to the above three manners:
First, a single display of a card candidate in a second subset of cards;
that is, all of the candidate cards in the second subset of cards are displayed directly in the card selection area where the players select other hands;
second, the candidate cards are displayed in at least two rounds;
Optionally, each round displays a candidate card in a portion of the first subset of cards, and displays a next round of candidate cards after the candidate card displayed in the current round is selected;
Illustratively, the second card subset includes 27 card candidates, the display selection is performed in 3 wheel trains, each round displays 9 card candidates, 9 card candidates are displayed in the first round, when the 9 card candidates in the first round are selected, the 9 card candidates in the second round are displayed, and when the 9 card candidates in the second round are selected, the 9 card candidates in the third round are displayed.
Thirdly, displaying the candidate cards in a real-time updating mode;
Optionally, the card selection area corresponds to an upper limit of a displayed number of card candidates, the card candidates corresponding to the upper limit of the displayed number are initially displayed in the card selection area, and when a card candidate is selected, an undisplayed card candidate is selected from the second subset of cards and added to the card selection area until all cards in the second subset of cards have been displayed in the card selection area.
At step 403, a first selection operation of a target card in a card selection area is received.
Optionally, the first selecting operation includes any one of the following cases:
Firstly, receiving a clicking operation on a target card, wherein the clicking operation is used for pre-selecting the target card, a confirmation control is displayed according to the clicking operation, the confirmation control is used for confirming the pre-selection of the target card, and the first selection operation on the confirmation control is received so as to select the target card;
optionally, in pre-selecting the target card, a selection marker is displayed on the target card to indicate that the target card is pre-selected. Illustratively, referring to fig. 5, as shown in fig. 5, a card hand 510 and a card selection area 520 are displayed in a card game play interface 500, and a card candidate 520 is displayed in the card selection area 520, wherein a highlight mark is displayed on the card candidate 521, that is, the card candidate 521 is a card pre-selected by a current participant, and a confirmation control 530 is also displayed in the card game play interface 500 according to the pre-selection of the current participant on the card candidate 521, and when a selection operation on the confirmation control 530 is received, the card candidate 521 is added to the player card 510.
it should be noted that, in the above exemplary embodiment, the selection mark is implemented as a highlight mark, and the selection mark may also be implemented as a display mode such as a blinking display, a symbol mark display, a gray scale display, and the like, which is not limited in the embodiment of the present application.
Optionally, when a target card is pre-selected, the target card is added to the machine hand in a gray scale representation to indicate that the target card is pre-selected, illustratively, referring to figure 6, a machine hand 610 and a card selection area 620 are displayed in a card game play interface 600, and when a pre-selection of a candidate card 621 is received, the candidate card 621 is displayed in a gray scale display in the machine hand 610.
Optionally, when the current card-selection progress is the card-selection progress corresponding to the other players, the selection mark is displayed on the third candidate card in the card-selection area, and the selection mark is used for indicating that the third candidate card is pre-selected by the other players except the current player.
Secondly, receiving a dragging operation on a target card, wherein the dragging starting position of the dragging operation is positioned at any position on the target card, the ending position of the dragging operation is positioned at any position in a display area corresponding to the player card, and the dragging operation is used as a first selection operation for selecting the target card.
Referring to fig. 7, schematically, as shown in fig. 7, a card hand 710 and a card selection area 720 are displayed in a card game tournament interface 700, and a card candidate is displayed in the card selection area 720, wherein a drag operation received on a card candidate 721 is started at a point on the card candidate 721, and an end position of the drag operation is ended at a point on the player-side card 710, and the card candidate 721 is added to the player-side card 710 according to the drag operation.
Third, a double-click operation on the target card is received as a first selection operation for selecting the target card.
Optionally, the selection operation of the target card may be performed by the participants at the same time, that is, a plurality of participants acquire the candidate cards displayed in the card selection area in a card grabbing manner; the card selection operation may also be alternated between the participants; the card giving and selecting operation can be performed according to the card taking sequence after the card taking sequence is determined through the props, and the sequence or the mode of the card selecting process is not limited in the embodiment of the application.
In step 404, the target card is added to the player card in accordance with the first selection operation to generate a draw hand.
Optionally, the target card is added to the machine player card according to a first selection operation, and when the number of hands in the machine player card reaches a number corresponding to a card game match, the machine player card generates a draw hand for conducting a card game.
In summary, according to the method for obtaining hands in the card game program provided by the embodiment of the present application, the first card subset is selected from the card set to be dealt, and the cards in the second card subset are provided as candidate cards to the participants to be selected, so that in the process of dealing the cards, only the cards in the first card subset need to be dealt and calculated, and all the cards in the card set do not need to be dealt and calculated, the calculation amount in the card dealing process is reduced, and the dealing efficiency in the card dealing process is improved.
In an alternative embodiment, the card game includes n players, where n is a positive integer, the card selection area is used to display k cards in the second subset of cards, and k is a positive integer multiple of n, fig. 8 is a flowchart of a method for acquiring hands in a card game program according to another exemplary embodiment of the present application, and the method is described as being applied to the terminal 110 shown in fig. 1 as an example, and as shown in fig. 8, the method includes:
Step 801, displaying a card game interface, wherein the card game interface comprises a machine card selection hand and a card selection area.
Optionally, the card game-to-game interface is an interface for conducting a card game.
optionally, the player cards are hands selected from a first subset of cards from a set of cards and dealt to the participants.
Optionally, the hand-selected is the hand of the current player after the cards in the first subset of cards are dealt to the players on average, i.e., the number of cards in the first subset of cards is an integer multiple of the number of players.
optionally, all cards used to conduct a poker tournament may be included in the set of cards, or all cards used for dealing to the participants may be included in the set of cards, such as: some of the cards in a hand of a participant's card game pair are used as a floor card for cards that are dealt according to the identity of the participant after the other cards have been dealt.
At step 802, k card candidates in the second subset of cards are displayed in a card selection area.
Optionally, the card candidates are displayed and selected in a round manner, optionally, the number of the card candidates which can be displayed in a single time in the card selection area is k, after the k card candidates are displayed in the card selection area, the participant selects one of the k card candidates, and after the target card is selected, the position corresponding to the target card is displayed as a blank area or a transparent area.
Optionally, the second subset of playing cards includes m playing cards, and m is an integer multiple of k. And displaying the unselected k candidate cards in the second card set in the card selection area when the selection of the k candidate cards in the card selection area is finished and the selected round does not reach the target round, wherein the target round is the ratio of m to k, and the selected round is the round for refreshing the candidate cards in the card selection area.
optionally, the k card candidates are displayed in the card selection area in a bright card display manner, i.e., the rank of the k card candidates is visible. Optionally, the rank and suit of the card candidate are both visible, or the rank of the card candidate is visible and the suit of the card candidate is not visible.
illustratively, the second subset of cards includes 27 card candidates, which are presented in 3 rounds, each round presenting 9 card candidates in the card selection area. Optionally, the 9 card candidates may be displayed in the card selection area in an animated form (e.g., sliding from above the card game play interface to the card selection area), and optionally, the k card candidates may be arranged in the card selection area in sequence according to the order selected from the second subset of cards, in two rows (e.g., an upper row of 4 card candidates, a lower row of 5 card candidates), or in an irregular arrangement in the card selection area.
optionally, the rank order of the card candidates in the card selection area is displayed consistently for n players. Optionally, turn prompt information is displayed on the upper side of the card selection area, and a participant corresponding to the current card selection progress is displayed on the side edge of the card selection area.
illustratively, the above-mentioned two lower rows are arranged as an example, as shown in fig. 9, a card selection area 910 is displayed in the card game interface 900, and the card selection area 910 includes an upper row of candidate cards 911 and a lower row of candidate cards 912, wherein the upper row of candidate cards 911 includes display positions of 4 candidate cards, and the lower row of candidate cards 912 includes display positions of 5 candidate cards. Turn prompt information 911 is displayed above the card selection area 910, and the turn prompt information is used for indicating that the current card selection turn is the first turn of card selection. As shown in fig. 9, a participant 931 is located at the left side of the card game interface 900, a participant 932 is located at the right side of the card game interface 900, and a participant 933 (i.e., the current participant) is located below the card game interface 900, a prompt bar 941 is displayed on the left side of the card selection area 910, corresponding to the card selection progress of the participant 931, a prompt bar 942 is displayed on the right side of the card selection area 910, corresponding to the card selection progress of the participant 932, a prompt bar 943 is displayed on the lower side of the card selection area 910, corresponding to the card selection progress of the participant 933. A cue bar 943 on the lower side of the current tile selection area 910 is highlighted to indicate that the current tile selection is the participant 933, i.e., the current participant. Optionally, the prompt bar may not be displayed when the corresponding player does not turn to select the cards. Optionally, when the current player is selected, a first text prompt (for example, "please click any 1 card, the card selection can be determined") and a confirmation control for confirming the pre-selected target card are also displayed in the card game-play interface 900; optionally, a second text prompt (e.g., waiting for other players to pick) is displayed in the card game play interface 900 when the current player is not currently playing the game.
and 803, performing a first selection operation on the target cards with the number corresponding to the single-round card selection number in the card selection area, wherein the single-round card selection number is the ratio of k to n.
optionally, when the card selection progress is a progress corresponding to the current player, performing a first selection operation on the target card in the card selection area, wherein the card selection progress cycles through n players for a number of times corresponding to a single round of card selection.
Illustratively, 9 candidate cards are displayed in the card selection area, 3 candidate cards are required to be selected as hands in a single round of 3 players, and in the first round of card selection, the players A, the players B and the players C are circularly selected among the players in sequence for 3 times, and each player selects one candidate card as a hand; in the second round of card selection, circularly selecting cards among the participants in the sequence of the participant B, the participant C and the participant A, wherein 3 times of circulation are performed, and each participant selects one candidate card as a hand; in the third round, the players are circularly selected among the players in the order of the player C, the player A and the player B, the circulation is carried out for 3 times, and each player selects one candidate card as a hand.
it should be noted that, in the above example, 3 rounds are taken as an example for explanation, in actual operation, 3 card candidates may be selected as hands at a time, 1 card candidate may be selected as a hand at the first time, 2 card candidates may be selected as a hand at the 2 nd time, 2 card candidates may be selected as a hand at the first time, and 1 card candidate may be selected as a hand at the second time, which is not limited in the embodiment of the present application.
Optionally, taking 3 cycles, each time 1 card candidate is selected as a hand for illustration, each time the participant selects a card candidate, there is also a time limit corresponding to the selection process of the card candidate, and optionally, the time limit may be the same for each selection, or may become smaller as the number of remaining card candidates decreases, such as: the card selecting area in the single round comprises 9 candidate cards, the time duration of the first 3 times of card selecting is 15 seconds, 12 seconds and 10 seconds respectively, and the time duration of the last 6 times of card selecting is 5 seconds. Alternatively, when the 3 rd card candidate is selected, the system plays an alert "speed up playing". The time limit duration can also be adjusted according to requirements, and the specific time limit duration is not limited in the application. Alternatively, when the card selection time reaches the time limit, the cards pre-selected by the players can be used as the target cards, and the target cards can also be determined in the unselected card candidates in a system recommendation mode.
Optionally, the selection process of the candidate card is mutually visible between the players, i.e., when player a selects the target card a, the selection process of player a for target card a is displayed in the card game play interfaces of player B and player C.
Referring to fig. 10, schematically, a participant 1010, a participant 1020, and a participant 1030 are displayed in a card game play interface 1000, a current card selection progress is determined as a card selection progress corresponding to the participant 1010 according to a cue bar 1011, a candidate card not selected in the current round is displayed in a card selection area 1040, the participant 1010 does not select any of the candidate cards currently, when a candidate card 1041 is displayed with a highlight mark, it is indicated that the candidate card 1041 is pre-selected by the participant 1010, the candidate card 1041 is displayed in a gray scale in a current round card selection display box 1050 corresponding to the participant 1010, when the participant 1010 confirms selection of the candidate card 1041, the candidate card 1041 is not displayed in the card selection area 1040, and the candidate card 1041 is normally displayed in the current round card selection display box 1050.
In step 804, the target card is added to the player cards in accordance with the first selection operation to generate a draw hand.
Optionally, for the poker rules in the landlord competition, when each participant generates a card hand (that is, the landlord is clear and the landlord obtains a base card), the poker table operation may be performed before the participant corresponding to the landlord goes out, and the poker table operation is used for settling accounts at twice of the common result when the result is settled.
optionally, for the ground-calling rule, it is set that, in the course of selecting cards, a participant who selects the last card in the first round of card selection first acquires the ground-calling qualification, when all participants do not call the ground, the floor card is turned over, and a second round of ground-calling is performed, and one participant is randomly selected to first acquire the ground-calling qualification, as shown in fig. 11, a card-type competition-game interface 1100 displays a current participant's card-opening hand 1110, a turned-over floor card 1120, a ground-calling control 1130, and a rejection control 1140, and the current participant can call the ground-calling by clicking the ground-calling control 1130 or clicking the rejection control 1140 to transfer the ground-calling qualification to the next participant.
Optionally, in the playing stage, the playing mode is divided into a hand playing mode and a self-propelled playing mode, wherein the hand playing mode is a mode in which the playing is controlled by a user, and the self-propelled playing mode is a mode in which the playing is automatically played according to Artificial Intelligence (AI) by opening a hosting mode.
illustratively, referring to fig. 12, an AI identifier 1220 is displayed around the participant 1210 in the hand competition game interface 1200, where the AI identifier 1220 is used to indicate that the participant 1210 is currently being managed by an AI self-propelled card.
Optionally, a card register is further included in the card-playing stage, and the card register is used for counting the unsewn hands according to the hands played in the current card game, such as: a total of 4 cards 2 are in the deck, wherein the participant has played 1 card 2 during the game, and the number field in the card register corresponding to 2 is shown as 3 to indicate that 3 more cards 2 are currently not played. Optionally, in this embodiment of the present application, the card register is further provided with the number of hands selected by other players in the public card selecting stage but not played, such as: and 4 cards 2 in the card set, wherein the public selection of the participant A in the card selecting stage comprises 2 cards 2, 1 card 2 is played in the competition process, the played 2 is the 2 selected in the public card selecting stage, the number area corresponding to the 2 in the card recorder is displayed as 3, and the number corresponding to the 2 selected but not played by the participant A in the public card selecting stage is provided as 1.
Referring to fig. 13, the card register 1310 is shown in the card game deal interface 1300, the count of cards not dealt corresponding to each rank is shown in the card register 1310, the number of cards not dealt during the upper player public card selection stage is shown in the upper player public card selection stage, and the number of cards not dealt during the lower player public card selection stage is shown in the lower player public card selection stage. Alternatively, when pack control 1320 is clicked, the pack displays the number of cards that the upper player selected to have a single miss during the public card selection phase and the number of cards that the lower player selected to have a single miss during the public card selection phase.
In summary, according to the method for obtaining hands in the card game program provided by the embodiment of the present application, the first card subset is selected from the card set to be dealt, and the cards in the second card subset are provided as candidate cards to the participants to be selected, so that in the process of dealing the cards, only the cards in the first card subset need to be dealt and calculated, and all the cards in the card set do not need to be dealt and calculated, the calculation amount in the card dealing process is reduced, and the dealing efficiency in the card dealing process is improved.
according to the method provided by the embodiment, the card selecting stage is divided into a plurality of rounds, and the cards are circularly selected among all the participants according to each round, so that the fairness of card selection is improved.
in an alternative embodiment, the participator may also perform expressive marking on the card candidates, or the card candidates may also perform functional marking according to functions, fig. 14 is a flowchart of a method for acquiring hands in a card game program according to another exemplary embodiment of the present application, which is described by way of example as applied to the terminal 110 shown in fig. 1, and as shown in fig. 14, the method includes:
Step 1401, displaying a card game interface, wherein the card game interface comprises a machine card selection hand and a card selection area.
Optionally, the card game-to-game interface is an interface for conducting a card game.
optionally, the player cards are hands selected from a first subset of cards from a set of cards and dealt to the participants.
Optionally, the hand-selected is the hand of the current player after the cards in the first subset of cards are dealt to the players on average, i.e., the number of cards in the first subset of cards is an integer multiple of the number of players.
Optionally, all cards used to conduct a poker tournament may be included in the set of cards, or all cards used for dealing to the participants may be included in the set of cards, such as: some of the cards in a hand of a participant's card game pair are used as a floor card for cards that are dealt according to the identity of the participant after the other cards have been dealt.
at step 1402, k card candidates in the second subset of cards are displayed in a card selection area.
optionally, the second subset of playing cards includes m playing cards, and m is an integer multiple of k. And displaying the unselected k candidate cards in the second card set in the card selection area when the selection of the k candidate cards in the card selection area is finished and the selected round does not reach the target round, wherein the target round is the ratio of m to k, and the selected round is the round for refreshing the candidate cards in the card selection area.
Optionally, the k card candidates are displayed in the card selection area in a bright card display manner, i.e., the rank of the k card candidates is visible. Optionally, the rank and suit of the card candidate are both visible, or the rank of the card candidate is visible and the suit of the card candidate is not visible.
Optionally, displaying a functional indicia on the second card candidate in the card selection area, the functional indicia identifying the second card candidate in combination with the player card for a targeting function for use in a card game, such as: and (4) a bomb function. Referring to fig. 15, schematically, an organic player card 1510 and a card selection area 1520 are displayed in a card game interface 1500, where the organic player card 1510 includes 32 cards, and the card selection area 1520 includes 1 card 2, and a bomb label 1531 is displayed on a candidate card 1530 corresponding to the 2 card in the card selection area 1520, for indicating that the candidate card 1530 can compose a bomb function with 3 cards 2 in the organic player card 1510.
And 1403, when the card selection progress is the progress corresponding to the current participant, performing a first selection operation on the target card in the card selection area, wherein the card selection progress circulates among the n participants for times corresponding to the single-round card selection times.
at step 1404, a second selection operation of the first candidate card is received in the card selection area when the card selection progress is not the progress corresponding to the current player.
alternatively, the second selection operation may be implemented as a click operation on the first card candidate.
Step 1405, displaying a candidate expression bar according to the second selection operation, wherein the candidate expression bar comprises at least one candidate expression.
step 1406, a third selection operation of the target expression in the candidate expression bar is received.
optionally, the third selection operation may be implemented as a click operation on the target expression, or may also be implemented as a drag operation on the target expression, which is not limited in this embodiment of the application.
and 1407, displaying the target expression on the first card candidate in the card selection area according to the third selection operation.
Illustratively, referring to fig. 16, a card selection area 1610 is displayed in the card game deal interface 1600, a candidate card is displayed in the card selection area 1610, a candidate expression bar 1620 is displayed when a second selection operation on a first candidate card 1611 is received, 3 candidate expressions are displayed in the candidate expression bar 1620, and a target expression 1621 is displayed in a fly-in form on the first candidate card 1611 from the current participant according to a third selection operation when the third selection operation on the target expression 1621 is received.
In step 1408, the target card is added to the player card in accordance with the first selection operation to generate a draw hand.
optionally, for the poker rules in the landlord competition, when each participant generates a card hand (that is, the landlord is clear and the landlord obtains a base card), the poker table operation may be performed before the participant corresponding to the landlord goes out, and the poker table operation is used for settling accounts at twice of the common result when the result is settled.
In summary, according to the method for obtaining hands in the card game program provided by the embodiment of the present application, the first card subset is selected from the card set to be dealt, and the cards in the second card subset are provided as candidate cards to the participants to be selected, so that in the process of dealing the cards, only the cards in the first card subset need to be dealt and calculated, and all the cards in the card set do not need to be dealt and calculated, the calculation amount in the card dealing process is reduced, and the dealing efficiency in the card dealing process is improved.
according to the method provided by the embodiment, the candidate cards are marked and displayed when the candidate cards and the player card group are successfully enabled, so that the participator is prompted to generate a functional effect, and the card selection efficiency of the participator is improved.
with reference to the above 3 players and three rounds of card selection as an example, the interaction process between the terminal and the game server is described, as shown in fig. 17, in the interaction process between the game server and the first terminal, the second terminal and the third terminal, first, the game server distributes 8 hands to the first terminal, the second terminal and the third terminal, respectively, and the first terminal, the second terminal and the third terminal play the card-dealing animation and generate the machine-selected hand according to the 8 hands.
in the first round of card selection stage, card selection is carried out in the sequence of a first terminal, a second terminal and a third terminal; the second round of card selection stage selects cards according to the sequence of the second terminal, the third terminal and the second terminal; and in the third round of card selection stage, card selection is performed in the order of the third terminal, the first terminal and the second terminal.
Fig. 18 is a schematic structural diagram of an apparatus for acquiring hands in a card game program according to an exemplary embodiment of the present application, and as shown in fig. 18, the apparatus includes: a display module 1810 and a receiving module 1820;
the display module 1810 is used for displaying a card game interface, wherein the card game interface is used for performing card game, the card game interface comprises a machine hand-selecting card and a card-selecting area, and the machine hand-selecting card is a hand obtained by selecting a first card subset from a card set and distributing the card subset to participants;
the display module 1810 further configured to display at least one candidate card of a second subset of cards in the card selection area, wherein the first subset of cards and the second subset of cards are combined into a subset of the set of cards where no intersection exists;
a receiving module 1820 for receiving a first selection operation of a target card in the card selection area;
A generating module, configured to add the target card to the player card according to the first selection operation, and generate a card hand, where the card hand is a hand used for performing the card game.
in an optional embodiment, the card game comprises n participants, wherein n is a positive integer;
the display module 1810 is further configured to display k candidate playing cards in the second subset of playing cards in the card selection area, where k is an integer multiple of n;
the receiving module 1820 is further configured to perform the first selection operation on a number of the target playing cards corresponding to a single round of playing times in the playing area, where the single round of playing times is a ratio of k to n.
In an alternative embodiment, the second subset of playing cards includes m playing cards, and m is an integer multiple of k;
The display module 1810 is further configured to display the unselected k candidate cards in the second card subset in the card selection area when the k candidate cards in the card selection area are selected completely and the selected round does not reach a target round, where the target round is a ratio of m to k, and the selected round is a round of refreshing the candidate cards in the card selection area.
In an optional embodiment, the receiving module 1820 is further configured to perform the first selection operation on the target playing card in the card selection area when the card selection progress is a progress corresponding to the current player, wherein the card selection progress cycles through n players for a number of times corresponding to the number of single-round card selections.
In an alternative embodiment, the receiving module 1820 is further configured to receive a second selection operation of a first card candidate in the card selection area when the card selection progress is not the progress corresponding to the current player;
The display module 1810 is further configured to display a candidate expression bar according to the second selection operation, where the candidate expression bar includes at least one candidate expression;
The receiving module 1820 is further configured to receive a third selection operation on the target expression in the candidate expression bar;
The display module 1810 is further configured to display the target expression on the first card candidate in the card selection area according to the third selection operation.
In an optional embodiment, the display module 1810 is further configured to display a function mark on a second card candidate in the card selection area, where the function mark is used to indicate that the second card candidate is combined with the player card to obtain a target function, and the target function is used in the process of applying to the card game.
In an optional embodiment, the receiving module 1820 is further configured to receive a click operation on the target playing card, where the click operation is used to pre-select the target playing card;
The display module 1810 is further configured to display a confirmation control according to the click operation, where the confirmation control is configured to confirm the pre-selection of the target playing card;
the receiving module 1820 is further configured to receive the first selection operation on the confirmation control.
In an optional embodiment, the display module 1810 is further configured to display a selection marker on a third card candidate in the card selection area, the selection marker indicating that the third card candidate is pre-selected by a player other than the current player.
In summary, the device for acquiring hands in a card game program according to the embodiment of the present application selects and distributes the first subset of cards from the card set, and provides the cards in the second subset of cards as candidate cards to the participants for selection, so that only the cards in the first subset of cards need to be distributed and calculated in the process of distributing the cards, and all the cards in the card set do not need to be distributed and calculated, thereby reducing the calculation amount in the process of distributing the cards and improving the distribution efficiency in the process of distributing the cards.
It should be noted that: the hand card acquiring device in the card game program provided in the above embodiment is only exemplified by the division of the above functional modules, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the device for acquiring hands in the card game program and the method for acquiring hands in the card game program provided by the embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
fig. 19 is a block diagram illustrating a terminal 1900 according to an exemplary embodiment of the present invention. The terminal 1900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio layer iii, motion video Experts compression standard Audio layer 3), an MP4 player (Moving Picture Experts Group Audio layer IV, motion video Experts compression standard Audio layer 4), a notebook computer, or a desktop computer. Terminal 1900 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
Generally, terminal 1900 includes: a processor 1901 and a memory 1902.
The processor 1901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1901 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 1901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
The memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1902 is configured to store at least one instruction for execution by the processor 1901 to implement a method of hand acquisition in a card game program provided by method embodiments of the present application.
In some embodiments, terminal 1900 may further optionally include: a peripheral interface 1903 and at least one peripheral. The processor 1901, memory 1902, and peripheral interface 1903 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 1903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1904, a touch screen display 1905, a camera 1906, an audio circuit 1907, a positioning component 1908, and a power supply 1909.
The peripheral interface 1903 may be used to connect at least one peripheral associated with an I/O (Input/Output) to the processor 1901 and the memory 1902. In some embodiments, the processor 1901, memory 1902, and peripherals interface 1903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1901, the memory 1902, and the peripheral interface 1903 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1904 communicates with a communication network and other communication devices via electromagnetic signals. The rf circuit 1904 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1904 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1905 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1905 is a touch display screen, the display screen 1905 also has the ability to capture touch signals on or above the surface of the display screen 1905. The touch signal may be input to the processor 1901 as a control signal for processing. At this point, the display 1905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display 1905 may be one, providing the front panel of terminal 1900; in other embodiments, the displays 1905 can be at least two, each disposed on a different surface of the terminal 1900 or in a folded design; in still other embodiments, display 1905 can be a flexible display disposed on a curved surface or on a folding surface of terminal 1900. Even more, the display 1905 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1905 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
the camera assembly 1906 is used to capture images or video. Optionally, camera assembly 1906 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera head assembly 1906 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1907 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 1901 for processing, or inputting the electric signals into the radio frequency circuit 1904 for realizing voice communication. The microphones may be provided in a plurality, respectively, at different locations of the terminal 1900 for stereo sound capture or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1901 or the radio frequency circuitry 1904 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1907 may also include a headphone jack.
The positioning component 1908 is configured to locate a current geographic Location of the terminal 1900 for navigation or LBS (Location Based Service). The positioning component 1908 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1909 is used to provide power to the various components in terminal 1900. The power source 1909 can be alternating current, direct current, disposable batteries, or rechargeable batteries. When power supply 1909 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1900 also includes one or more sensors 1910. The one or more sensors 1910 include, but are not limited to: acceleration sensor 1911, gyro sensor 1912, pressure sensor 1913, fingerprint sensor 1914, optical sensor 1915, and proximity sensor 1916.
acceleration sensor 1911 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with terminal 1900. For example, the acceleration sensor 1911 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1901 may control the touch screen 1905 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1911. The acceleration sensor 1911 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1912 may detect a body direction and a rotation angle of the terminal 1900, and the gyro sensor 1912 may collect a 3D motion of the user on the terminal 1900 in cooperation with the acceleration sensor 1911. From the data collected by the gyro sensor 1912, the processor 1901 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1913 may be disposed on a side bezel of terminal 1900 and/or on a lower layer of touch display 1905. When the pressure sensor 1913 is disposed on the side frame of the terminal 1900, the user can detect a grip signal of the terminal 1900, and the processor 1901 can perform right-left hand recognition or shortcut operation based on the grip signal collected by the pressure sensor 1913. When the pressure sensor 1913 is disposed at the lower layer of the touch display 1905, the processor 1901 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 1905. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
the fingerprint sensor 1914 is configured to collect a fingerprint of the user, and the processor 1901 identifies the user according to the fingerprint collected by the fingerprint sensor 1914, or the fingerprint sensor 1914 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1901 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. Fingerprint sensor 1914 may be disposed on a front, back, or side of terminal 1900. When a physical button or vendor Logo is provided on terminal 1900, fingerprint sensor 1914 may be integrated with the physical button or vendor Logo.
The optical sensor 1915 is used to collect the ambient light intensity. In one embodiment, the processor 1901 may control the display brightness of the touch screen 1905 based on the ambient light intensity collected by the optical sensor 1915. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1905 is turned down. In another embodiment, the processor 1901 may also dynamically adjust the shooting parameters of the camera assembly 1906 according to the intensity of the ambient light collected by the optical sensor 1915.
Proximity sensor 1916, also referred to as a distance sensor, is typically disposed on the front panel of terminal 1900. Proximity sensor 1916 is used to gather the distance between the user and the front face of terminal 1900. In one embodiment, when proximity sensor 1916 detects that the distance between the user and the front surface of terminal 1900 gradually decreases, processor 1901 controls touch display 1905 to switch from the bright screen state to the rest screen state; when the proximity sensor 1916 detects that the distance between the user and the front surface of the terminal 1900 gradually becomes larger, the processor 1901 controls the touch display 1905 to switch from the breath-screen state to the bright-screen state.
those skilled in the art will appreciate that the configuration shown in FIG. 19 is not intended to be limiting of terminal 1900 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
it will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for obtaining hands in a card game program, the method comprising:
Displaying a card game interface, wherein the card game interface is used for performing card game, the card game interface comprises a machine hand-selecting area and a card-selecting area, and the machine hand-selecting area is a hand obtained by selecting a first card subset from a card set and distributing the card subset to a participant;
Displaying at least one candidate card in a second subset of cards in the card selection area, wherein the first subset of cards and the second subset of cards are merged into a subset in which no intersection exists in the set of cards;
Receiving a first selection operation of a target card in the card selection area;
Adding the target card to the player card according to the first selection operation to generate a card hand, the card hand being a hand for performing the card game.
2. the method of claim 1, wherein n of the participants are included in the board game, wherein n is a positive integer;
The displaying at least one candidate card in a second subset of cards in the card selection area, comprising:
displaying k candidate cards in a second subset of cards in the card selection area, k being an integer multiple of n;
the receiving a first selection operation of the target playing card in the card selection area includes:
and performing the first selection operation on the target cards with the number corresponding to the single-round selection times in the card selection area, wherein the single-round selection times are the ratio of k to n.
3. The method of claim 2, wherein the second subset of playing cards includes m playing cards, and m is an integer multiple of k;
The displaying k candidate playing cards in a second subset of playing cards in the card selection area, comprising:
When the selection of k candidate cards in the card selection area is finished and the selected round does not reach the target round, displaying the unselected k candidate cards in the second card subset in the card selection area, wherein the target round is the ratio of m to k, and the selected round is the round for refreshing the candidate cards in the card selection area.
4. The method of claim 2, wherein performing the first selection operation on a number of the target playing cards corresponding to a number of playing rounds in the card selection area comprises:
And when the card selection progress is the progress corresponding to the current participant, performing the first selection operation on the target card in the card selection area, wherein the card selection progress cycles between the n participants by the times corresponding to the single-round card selection times.
5. The method of claim 4, further comprising:
Receiving a second selection operation of a first card candidate in the card selection area when the card selection progress is not a progress corresponding to the current player;
Displaying a candidate expression bar according to the second selection operation, wherein the candidate expression bar comprises at least one candidate expression;
receiving a third selection operation on the target expression in the candidate expression bar;
Displaying the target expression on the first card candidate in the card selection area according to the third selection operation.
6. The method of any of claims 1 to 5, further comprising:
Displaying a function mark on a second card candidate in the card selection area, wherein the function mark is used for showing that the second card candidate is combined with the player card to obtain a target function, and the target function is used in the process of the card game.
7. The method of any of claims 1 to 5, wherein receiving a first selection of a target card in the card selection area comprises:
receiving a clicking operation on the target playing card, wherein the clicking operation is used for pre-selecting the target playing card;
Displaying a confirmation control according to the clicking operation, wherein the confirmation control is used for confirming the pre-selection of the target playing card;
Receiving the first selection operation on the confirmation control.
8. The method of claim 7, further comprising:
displaying a selection indicia on a third card candidate in the card selection area, the selection indicia indicating that the third card candidate is pre-selected by a player other than the current player.
9. an apparatus for obtaining a hand in a card game program, the apparatus comprising:
the display module is used for displaying a card game interface, the card game interface is used for carrying out card game, the card game interface comprises a machine hand-selecting card and a card-selecting area, and the machine hand-selecting card is a hand obtained by selecting a first card subset from a card set and distributing the card subset to participants;
the display module is further configured to display at least one candidate card in a second subset of cards in the card selection area, wherein the first subset of cards and the second subset of cards are combined into a subset of the set of cards where no intersection exists;
a receiving module, configured to receive a first selection operation of a target card in the card selection area;
A generating module, configured to add the target card to the player card according to the first selection operation, and generate a card hand, where the card hand is a hand used for performing the card game.
10. The apparatus of claim 9, wherein n of the participants are included in the board game, wherein n is a positive integer;
the display module is further used for displaying k candidate cards in the second card subset in the card selection area, wherein k is an integral multiple of n;
the receiving module is further configured to perform the first selection operation on a number of the target playing cards corresponding to a single round of playing times in the playing area, where the single round of playing times is a ratio of k to n.
11. The apparatus of claim 10 wherein the second subset of playing cards includes m playing cards, and m is an integer multiple of k;
The display module is further configured to display the unselected k candidate cards in the second card subset in the card selection area when the k candidate cards in the card selection area are selected completely and the selected round does not reach a target round, where the target round is a ratio of m to k, and the selected round is a round of refreshing the candidate cards in the card selection area.
12. The apparatus of claim 10, wherein the receiving module is further configured to perform the first selection operation on the target playing card in the card selection area when a card selection progress is a progress corresponding to a current player, wherein the card selection progress cycles through the n players a number of times corresponding to the number of single round selections.
13. The apparatus of claim 12, wherein the receiving module is further configured to receive a second selection of a first card candidate in the card selection area when the card selection progress is not a progress corresponding to the current player;
The display module is further configured to display a candidate expression bar according to the second selection operation, where the candidate expression bar includes at least one candidate expression;
the receiving module is further used for receiving a third selection operation on the target expression in the candidate expression bar;
the display module is further used for displaying the target expression on the first card candidate in the card selection area according to the third selection operation.
14. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, the at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement a method of hand acquisition in a card game program as claimed in any one of claims 1 to 8.
15. A computer readable storage medium having stored therein at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by the processor to implement a method of hand acquisition in a card game program as claimed in any one of claims 1 to 8.
CN201910936981.3A 2019-09-29 2019-09-29 Method, device and equipment for acquiring hand cards in card game program and readable medium Active CN110548277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910936981.3A CN110548277B (en) 2019-09-29 2019-09-29 Method, device and equipment for acquiring hand cards in card game program and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936981.3A CN110548277B (en) 2019-09-29 2019-09-29 Method, device and equipment for acquiring hand cards in card game program and readable medium

Publications (2)

Publication Number Publication Date
CN110548277A true CN110548277A (en) 2019-12-10
CN110548277B CN110548277B (en) 2020-12-25

Family

ID=68742044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910936981.3A Active CN110548277B (en) 2019-09-29 2019-09-29 Method, device and equipment for acquiring hand cards in card game program and readable medium

Country Status (1)

Country Link
CN (1) CN110548277B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111803934A (en) * 2020-07-23 2020-10-23 网易(杭州)网络有限公司 Method for controlling role cards in game, terminal, electronic device and storage medium
CN112535864A (en) * 2020-12-22 2021-03-23 腾讯科技(深圳)有限公司 Virtual card control method, device and equipment in card virtual scene
CN113384884A (en) * 2021-06-15 2021-09-14 北京达佳互联信息技术有限公司 Virtual card-based card-playing prompting method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090227312A1 (en) * 2008-03-10 2009-09-10 Global Vr Higher or Lower Poker Game
US20160008705A1 (en) * 2014-07-14 2016-01-14 Lucio Tonello Poker-type games
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
CN108992923A (en) * 2018-06-22 2018-12-14 腾讯科技(深圳)有限公司 Resource allocation method and device, storage medium and electronic device
CN109739753A (en) * 2018-12-24 2019-05-10 网易(杭州)网络有限公司 Chess/card game test method, device, equipment and storage medium
CN109806577A (en) * 2019-02-21 2019-05-28 腾讯科技(深圳)有限公司 Methods of exhibiting, device, terminal and the storage medium that board class is played a game
CN110152302A (en) * 2018-02-23 2019-08-23 北京信息科技大学 The hands of cards game generate and clustering method, equipment and processor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090227312A1 (en) * 2008-03-10 2009-09-10 Global Vr Higher or Lower Poker Game
US20160008705A1 (en) * 2014-07-14 2016-01-14 Lucio Tonello Poker-type games
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
CN110152302A (en) * 2018-02-23 2019-08-23 北京信息科技大学 The hands of cards game generate and clustering method, equipment and processor
CN108992923A (en) * 2018-06-22 2018-12-14 腾讯科技(深圳)有限公司 Resource allocation method and device, storage medium and electronic device
CN109739753A (en) * 2018-12-24 2019-05-10 网易(杭州)网络有限公司 Chess/card game test method, device, equipment and storage medium
CN109806577A (en) * 2019-02-21 2019-05-28 腾讯科技(深圳)有限公司 Methods of exhibiting, device, terminal and the storage medium that board class is played a game

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鳳囚凰遊戲頻道: "《bilibili》", 25 April 2019 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111803934A (en) * 2020-07-23 2020-10-23 网易(杭州)网络有限公司 Method for controlling role cards in game, terminal, electronic device and storage medium
CN111803934B (en) * 2020-07-23 2024-02-23 网易(杭州)网络有限公司 Control method, terminal, electronic device and storage medium for character cards in game
CN112535864A (en) * 2020-12-22 2021-03-23 腾讯科技(深圳)有限公司 Virtual card control method, device and equipment in card virtual scene
CN113384884A (en) * 2021-06-15 2021-09-14 北京达佳互联信息技术有限公司 Virtual card-based card-playing prompting method and device, electronic equipment and storage medium
CN113384884B (en) * 2021-06-15 2024-03-26 北京达佳互联信息技术有限公司 Card-playing prompting method and device based on virtual card, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110548277B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN110585726A (en) User recall method, device, server and computer readable storage medium
CN112704883B (en) Method, device, terminal and storage medium for grouping virtual objects in virtual environment
CN110548277B (en) Method, device and equipment for acquiring hand cards in card game program and readable medium
CN112827166B (en) Card object-based interaction method and device, computer equipment and storage medium
CN112891931A (en) Virtual role selection method, device, equipment and storage medium
CN111589167A (en) Event fighting method, device, terminal, server and storage medium
CN110833695B (en) Service processing method, device, equipment and storage medium based on virtual scene
CN114288654A (en) Live broadcast interaction method, device, equipment, storage medium and computer program product
CN112774185B (en) Virtual card control method, device and equipment in card virtual scene
CN114130012A (en) User interface display method, device, equipment, medium and program product
CN108055349B (en) Method, device and system for recommending K song audio
CN111760296B (en) Team forming processing method, device, terminal, server and storage medium
CN111679879B (en) Display method and device of account segment bit information, terminal and readable storage medium
US20240042319A1 (en) Action effect display method and apparatus, device, medium, and program product
CN108184130A (en) Simulation system, live broadcasting method, device and storage medium
CN112156454A (en) Virtual object generation method and device, terminal and readable storage medium
CN113413587B (en) Information determination method, device, equipment and medium for card sports
CN113730906B (en) Virtual game control method, device, equipment, medium and computer product
CN114125483B (en) Event popup display method, device, equipment and medium
CN112367533B (en) Interactive service processing method, device, equipment and computer readable storage medium
CN112169321B (en) Mode determination method, device, equipment and readable storage medium
CN112535864B (en) Virtual card control method, device and equipment in card virtual scene
CN110025962B (en) Object matching method, device, equipment and storage medium
CN114130020A (en) Virtual scene display method, device, terminal and storage medium
CN114146409A (en) Game management method, device, equipment and computer readable storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40019348

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant