DivinationWords 2325Read time6 min

Introduction to Yapai Shen Shu: Rules, Divination Methods, and Grade Explanation of Traditional Domino Divination

This article introduces the origin of Yapai Shen Shu cards, the divination workflow, open-count computation, grade determination, the Zhang Ailing Yapai slips background, and implementation ideas for a programmatic approach.

1. Introduction: What is Yapai Shen Shu

Yapai Shen Shu, also known as Yapai Ling Shu or Yapai divination, is one of the traditional Chinese folk divination methods. “Yapai” usually refers to tile sets such as Tianjiu tiles or bone tiles. The Ministry of Education's entry 《重编国语辞典修订本》 explains yapai as rectangular cards made from ivory, bone, horn, and similar materials, with thirty-two pieces total, each card showing between two and twelve dots. In later periods, they could be used both as gambling implements and for divination.

From a structural perspective, yapai is very close to traditional Chinese dominoes. Each yapai can be understood as being made up of two die faces, so three cards together can be treated as six die faces. Yapai Shen Shu does not read luck directly from a single card. Instead, the thirty-two cards are shuffled and laid out, then specific combinations are located in the sequence and a “kai count” (opening score) is calculated according to tile patterns.

Each draw yields one opening grade. By performing the draw three times, you get three levels, such as “upper-upper, upper-middle, middle-average.” Finally, you look up the corresponding oracle text or poem for those three results.

In short, the core process is: shuffle, arrange, find combinations, calculate opening count, assign grade, form three-line output, and read the corresponding oracle text.

2. Cards and Basic Concepts

Yapai Shen Shu generally uses thirty-two Tianjiu cards, that is, traditional bone tiles. Each card contains two groups of pips; three cards together can be seen as six die faces. The opening judgment mainly observes whether these six values form specific combinations.

Here, “opening” (opening) can be understood as the score produced in one draw. Once a deck is shuffled and arranged, if a qualifying set is found according to the rules, the appropriate opening is assigned based on the pattern. A higher opening means a higher grade. If there is no opening at all, traditional teachings usually interpret it as a sign that the mind is unsettled, thoughts are mixed, or the matter should not be strongly divined at the moment.

It is important to remember that Yapai Shen Shu is a folk system, and details can vary across sources and regions. A prudent approach is to treat it as traditional culture and folklore documentation, not as a single immutable, universal standard in which every rule is final.

3. Divination Procedure

The Yapai Shen Shu method can be summarized in four steps.

3.1 Centering the Mind and Framing the Question

First, define the question clearly. It is not suitable to ask multiple unrelated questions in one reading, nor to read with a scattered mind. Traditional teaching emphasizes sincerity and clarity of intent, so it is common to settle the mind briefly before shuffling.

From a modern perspective, this step helps make the question specific. The more specific the question is, the less likely the later interpretation becomes forced or overfitted.

3.2 Shuffling and Arranging

Shuffle all thirty-two cards thoroughly, then lay them out in a single line. A traditional mnemonic says:

Arrange the full set of ivory cards in a row; see how many openings appear in the middle. Record the results clearly after laying them out three times; judge by the upper, lower, middle, and inner levels.

Its meaning is: lay the entire deck in one row, count how many openings appear, repeat this three times and record each level clearly, then choose the oracle text according to results like upper-upper, upper-middle, middle-average, middle-lower, lower-lower.

3.3 Calculating the Open Count

From the arranged row, search for qualifying adjacent groups. A common rule is: if two adjacent cards form a pair, you may score as a three-open pattern; if three adjacent cards form specific six-dice-like patterns, different openings may be assigned according to that pattern.

In general, card groups already used are not reused. If implementing this computationally, it is best to define clearly whether “overlapping is allowed,” whether “higher-scoring combinations take priority,” and whether scanning is done strictly left-to-right. Otherwise, the same deck can produce different open counts depending on extraction method.

3.4 Forming Three Oracle Lines

After shuffling, arranging, and calculating each time, convert the opening into one of: upper-upper, upper-middle, middle-average, middle-lower, lower-lower. Repeat three times to get a three-part result, for example, “middle-lower, upper-middle, upper-upper.”

Then look up the corresponding Yapai Shen Shu oracle text or divination poem using the three-line outcome. Public sources often say there are 125 verses in total, corresponding to combinations formed by all 5 grade levels across three positions.

4. Grade Levels

Yapai Shen Shu typically evaluates grades as follows:

Open countGrade
12 and aboveUpper-upper
10 to 11Upper-middle
8 to 9Middle-average
5 to 7Middle-lower
1 to 4Lower-lower
0No valid reading; settle the mind and divinate again

For example, if the three draws are 13, 10, and 8 openings, the result is “upper-upper, upper-middle, middle-average.” This three-part result is then matched to the oracle table to obtain the corresponding verdict.

This grading system is like a layered index: first obtain a number from the pattern, then map the number to a grade, and finally use the three grades to locate the oracle text.

5. Common Patterns and Opening Scores

Pattern evaluation in Yapai Shen Shu treats three cards as six die faces and judges accordingly. Common patterns include:

PatternJudging ruleOpen count
Distinct (different)All six numbers are different, i.e., one each of 1, 2, 3, 4, 5, 66
Five of a kind (five tiles)Five of the six numbers are identical5
Harmonious / Convergence (harmonious match / coincidental match)Four numbers are identical, and the sum of the other two equals the repeated number4
Split Pair (split pattern)Three numbers are one value and the other three are another value3
Horse-and-Cavalry (horse troops)Two each of 4, 5, and 63
One-Two-Three (one-two-three)Two each of 1, 2, and 33
Two-Three-Pair / Two-Three-Six (two-three match / two-three-six)Two each of 2, 3, and 63
Pair (matching pair)Two adjacent cards are identical3
Upright-Fast (upright fast)Three numbers are identical, while the other three sum to 14 or more1

It is important to note that practical card grouping after arrangement may differ by source. Some traditions require only adjacent groups, while some folk variants may reveal and segment all thirty-two cards before calculating.

For implementation, it is recommended to fix a rule set in advance, such as: only adjacent pairs or adjacent triples are allowed; used cards cannot be reused; when multiple candidate combinations occur at one position, choose the highest total opening available. This makes results more consistent.

6. Handling 0 Open

If no opening appears in one arrangement, traditional practice usually interprets it as unsuitable for forced divination. Common explanations include an insincere mind, mental distraction, or that timing is not yet right. Typical responses are:

1. Settle the mind, shuffle again, and perform the reading again. 2. Burn incense or pray quietly before drawing again, to restore focus and ritual clarity. 3. Pause the inquiry and continue on another day.

From a modern perspective, this works as a “pause mechanism”: when no valid pattern is formed, avoid forcing interpretation and prevent over-reading to manufacture an answer.

7. Zhang Ailing and Yapai Slips: A Cultural Side Note

One reason Yapai Shen Shu still has some visibility among modern readers is that, beyond being a folk divination practice itself, it is connected with material related to Zhang Ailing’s “Yapai slips.”

In her works and biographical records, Zhang Ailing often shows a keen awareness of old social life, card games, verse-based divination slips, destiny motifs, and folk customs. Some writings mention that she had contact with, or used, materials related to yapai slips, and later readers have treated her readings as a lens for interpretation alongside her life experience and literary sensibility.

It should not be over-mystified. A more suitable reading is that yapai slips offer an entry point into the everyday cultural world of Republican-era literati and popular ritual practices. They are not a core explanation for Zhang Ailing’s literary achievements, nor should they be treated as strict biographical proof. But they can illuminate the social texture of her era.

Late-Qing novels also contain traces of Yapai Shen Shu. Some articles analyze episodes from 《官场现形记》《九尾龟》《海上繁华梦》 texts where numbers are drawn with yapai cards, indicating this method had entered both popular fiction and middle-class life narratives. Again, it should not be mythologized; it is better seen as a social-time slice of the period.

If you cite Zhang Ailing-related material in writing, it is safer to use cautious phrasing such as “public articles mention,” “researchers suggest,” or “can be seen in related materials,” and avoid presenting folk anecdotes as definitive history.

8. Suggestions for Programmatic Implementation

If you want to turn Yapai Shen Shu into a web or software tool, the process can be split into modules:

8.1 Deck Module

Build a dataset of thirty-two Tianjiu cards, recording both top and bottom pips for each card; you may also store card name, civil/military classification, and traditional labels as additional fields.

8.2 Shuffle Module

Randomly shuffle the thirty-two cards into an ordered sequence. For web tools, keeping the random seed helps replay and debugging.

8.3 Pattern Detection Module

Scan adjacent pairs or triples and detect whether they form pair, distinct, five-of-a-kind, harmonious, split pair, horse-and-cavalry, one-two-three, two-three-six, upright-fast, and other pattern types.

8.4 Opening Calculation Module

Convert all valid patterns to opening scores, while handling whether overlap is allowed, whether to choose highest score options, and whether left-to-right scanning rules apply. It is best to document the rule version clearly so users can understand why two runs may differ.

8.5 Grade Conversion Module

Map opening scores to upper-upper, upper-middle, middle-average, middle-lower, and lower-lower. If the result is 0, do not proceed to oracle lookup; instead prompt users to reset with a calm mind or retry another day.

8.6 Triple-Line Formation Module

Simulate three rounds of shuffle-and-draw in sequence to produce a three-part oracle key. The three-part result can be combined into a key, for example upper-upper-upper-middle-middle-average, for lookup.

8.7 Oracle Query Module

Use the three-part result as the key to query the matching oracle line and verdict. It is best to store oracles in a separate JSON or Markdown dataset so later correction, display, and versioning stay manageable.

With this design, Yapai Shen Shu is no longer just a textual outline; it can become a complete interactive divination tool.

9. Extended Note: Why YouTube Material Should Be Used Cautiously

Yapai Shen Shu is a relatively niche folk divination method, and there are not many fully systematic public materials. Compared with text sources and facsimiles, YouTube has more content on Tianjiu gameplay, tile gambling, and cultural introductions. Truly systematic videos that explain Yapai Shen Shu opening counts, triple-line formation, and oracle lookup are relatively rare.

Therefore, if adding video links at the end of an article, they should be offered as supplementary viewing, not core authoritative sources. Core rules should still prioritize dictionaries, facsimiles, more complete textual studies, and verifiable 《牙牌神数》 facsimile materials.

10. Conclusion: Treat Yapai Shen Shu as a Structured Folk System

The value of Yapai Shen Shu lies not only in outcomes, but in how it links props, randomness, pattern combinations, graded indexing, and poetic oracle text.

As folklore, it is a traditional method of inquiry in everyday life; as a system design problem, it splits naturally into modules for deck, shuffle, scan, scoring, grading, indexing, and text lookup.

If you use it for personal experience, you may treat it as a traditional divination game. If you are building a website or tool, first specify the rule set clearly, then implement pattern recognition and oracle indexing carefully. Only with clear rules can results be reviewable.

This site offers I Ching online divination, Plum Blossom Numerology, and Xiao Liu Ren, which can be used alongside this article for practical learning.

Frequently Asked Questions

What is the relationship between this method and the I Ching?

Many Chinese traditional divination systems (Liuren, Plum Blossom, and divination casting methods) share the I Ching and Yin-Yang/Wuxing as their cultural foundation, but each has its own distinct setup and interpretation framework. The I Ching is a common source; each method evolved its own lineage and procedure.

What background is needed to learn this method?

Some understanding of Yin-Yang, Five Phases, and Heavenly Stems and Earthly Branches is helpful, but most introductory texts start from zero. It is recommended to begin with simpler methods (such as Plum Blossom Numerology or Xiao Liu Ren) before going deeper.

Are there online tools to try this out?

This site provides I Ching online divination, Plum Blossom Numerology, and Xiao Liu Ren tools for practical fortune reading, which you can use together with this article.

How can I judge whether a divination method is trustworthy?

A divination method is more useful as a framework for reflection and decision support than as a source of deterministic prediction. Treat it as an auxiliary tool for cross-checking perspectives, not as the sole basis for decisions.

References

Share

Share this article