Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Winning control method and system in mahjong games

A control method and a technology of a control system, which are applied to the control method and system field of mahjong games, and can solve problems such as cumbersome calculations, large memory and CPU consumption, and performance bottlenecks

Inactive Publication Date: 2018-12-04
周少华
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention takes into account the above-mentioned shortcomings of the prior art, and the purpose of the present invention is to provide a control method and system for quickly and efficiently realizing mahjong winning cards, which solves the problems of cumbersome calculations, large memory and CPU consumption, etc. , especially when a large number of users are online at the same time, performance bottlenecks may occur

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Winning control method and system in mahjong games
  • Winning control method and system in mahjong games

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] Mahjong is generally divided into strips, ten thousand, tubes, character tiles (southeast, northwest, middle, hair, white), flower tiles (spring, summer, autumn and winter, plum, orchid, chrysanthemum, and bamboo, used as extras), and so on. , there are only Tiao, Wan, Tong, Feng, Zhong, Fa, Bai, and Tiao Wantong is allowed to go straight, while the others can only be hurdles (also called engraved in some places, which means three identical cards).

[0025] The judgment of mahjong winning cards can be decomposed into judging the winning cards of up to 14 cards in the player's hand (the ones that are knocked out by eating bars are not included in the calculation), the four groups of cards, ten thousand, tube and word cards (seven pairs are not considered here temporarily, Thirteen unites, the determination of bad cards and other special playing methods), the method of winning cards involved is the determination of ordinary winning cards, that is, each subgroup must meet t...

Embodiment 2

[0136] In the second embodiment described below, the winning card control method or system of the present invention can be used in traditional Chinese long card games, such as flower cards (also known as "Shang Daren"), which specifically includes judging the winning of each subgroup. The number of cards, and then, each subgroup is respectively judged for winning cards. It is characterized in that a dictionary is constructed, and all the types of cards that can be played in a single subgroup are compiled into a dictionary, and whether there is a corresponding one is searched in the dictionary according to the card type. Record to judge whether the cards can be played, and judge whether the entire hand can be played according to the judgment results of each subgroup. The dictionary constructed as described above.

Embodiment 3

[0138] In the third embodiment described below, the winning card control method or system of the present invention can be used in poker card games, and the cards are divided into four subgroups according to the four suits of the cards, and the scores can be set according to the size. By building a dictionary, the All the card types of a single subgroup are compiled into a dictionary, and whether there is a corresponding record in the dictionary according to the card type is searched to determine whether it can win.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a control method and a control system for rapidly and effectively achieving mahjong winning. The control method comprises the following steps: judging the number of tiles of winning in each sub-group; then, conducting winning judging on each sub-group, wherein a dictionary is constructed, namely the dictionary is compiled by all tile types, which can achieve winning, in each sub-group; judging whether winning is achieved or not in accordance with corresponding records of the tile types in the dictionary; and judging whether the entire hand can win in accordance with judging results of the various sub-groups. According to the control method and the control system provided by the invention, memory and cpu resource can be greatly saved; problems of an existing winningjudging method which is complex in computing, serious in memory and CPU consumption and the like can be saved; and especially, a problem that performance bottleneck can appear under a circumstance that a great amount of users are online simultaneously can be solved.

Description

technical field [0001] The invention relates to the technical field of chess and card entertainment devices, in particular to a control method and system for winning cards in mahjong games. Background technique [0002] In a traditional mahjong game, four players generally complete actions such as drawing and playing cards on the table, and the judgment of whether to win or not is also artificially made by the players. Along with the development of computer and network technology, the mahjong game system based on Internet appears thereupon, and it comprises server and a plurality of user terminals. The user terminal can be a desktop terminal or a mobile terminal. Players log in to the mahjong game through a networked user terminal, and the computer automatically performs actions such as dealing cards and winning cards. [0003] The existing control method for mahjong winning hand judgment is basically realized by recursive method, and the flow diagram of the prior art using...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): A63F13/45
CPCA63F2300/60A63F13/45
Inventor 周少华
Owner 周少华
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products