When I was fishing yesterday, I was reviewing the novel鬼吹灯
the Lamp. Every time Hu Bayi mentioned十六字阴阳风水秘书
it aroused my desire to learn fortune-telling.
When people watch various movies and TV dramas or share fortune-telling scenes, the fortune tellers usually count with their fingers and mutter loudly as if they are calculating something. I am very curious how they arrive at the result?
So I found a divination method that can be used casually - Xiao Liuren.
Xiao Liuren is also called Zhuge Liang's first lesson. Xiao Liuren's search method: start from Da'an and search clockwise. According to the lunar calendar, check clockwise from the first month of Da'an to the month you want to check, and then check clockwise from the beginning of the month to the day you want to check, and you will know whether the day is good or bad. For example, if you check the time, you can check the quality of each hour clockwise from midnight on this day. For example, the fifth day of the sixth month of the lunar calendar is Chen hour; June is the month of void, the fifth day is Chikou day, and Chen hour is the lingering hour.
It seems troublesome, but the logic is actually very simple. Let's look at the picture below and you can understand how to calculate the result in a few words.
[ '1.大安' , '2.留连' , '3.速喜' , '4.赤口' , '5.小吉' , '6.空亡' ]
There are 6 types of results, each corresponding to the interpretation to be divined.
Below we introduce a method - the living number starting method.
1. If you want to predict something, take the number immediately as soon as you think about it. The number can be what you think in your mind, or it can be something you see, such as license plate number, house number, phone number, time, etc. Be the first to think or see it. number. For example, if you want to ask a friend if he is at home, and you happen to see the time displayed on the phone screen as 14:36, you will take 1436 for calculation;
2. Add four numbers, 1+4+3+6=14, and then subtract according to the number of digits you take. For 4-digit numbers, subtract 3, for 3-digit numbers, subtract 2, and for single digits No subtraction. In this example, because 1436 is a 4-digit number, 3 must be subtracted, that is, 14-3=11;
3. Divide the number just obtained by 6. The remainder corresponds to the explanation below (if all can be divided, the remainder is 6. For example, the number obtained is 18, then the remainder is 6). In this example, 11÷6→the remainder is 5, which is Xiaoji.
It seems like a lot of words, but it actually has very simple logic.
When you want to calculate a certain event, take a number that suddenly comes to your mind or you see it. Look at the explanation and say that it is the number that you must get first.
For example, if you look at the time on your mobile phone, you will get the number 1436.
Add the resulting numbers and subtract the number of digits - 1. For example, 1436 has four digits, then the sum of the numbers is minus three.
Divide the result by 6, and the final result is the result.
const valueObject = [
{
title : '大吉' ,
desc : '...'
} ,
... .
]
// valueList 第一反应得到的活数 比如1436
const calcResult = ( valueList ) => {
// 获取活数的位数 - 1 后续需要减掉
const lenCount = valueList . length === 1 ? 0 : valueList . length - 1
// 获取活数的相加之和
const sum = valueList . reduce ( ( sumValue , cur ) => ( sumValue += cur ) )
// sum - lenCount 得到的最终活数结果 也对应着占卜结果
// 如果能被6整除 那就是第6个占卜结果,不然就是除以6的余数
// 最后结果 -1,因为要从数组里获得结果
let result = ( sum - lenCount ) % 6 === 0 ? 5 : ( ( sum - lenCount ) % 6 ) - 1
state . cur = state . valueObject [ result ]
}
Isn't it very simple!
It took me more than ten minutes to come up with a fortune-telling project! Calculate marriage, career, and health!
Online fortune telling! Ten yuan a person! Click me for fortune telling