Shanten
Shanten 「向聴」 refers to the minimum number of tiles required in order for a hand to reach tenpai. For example, a hand in 1-shanten (iishanten) is one tile away from tenpai, and thus two tiles away from winning.
Shanten counts
Lower shanten counts are better: the lower the shanten, the closer the hand is to tenpai, and thus the closer the hand is to winning.
The maximum shanten a hand can have is 6-shanten, since all hands are 6-shanten or lower for chiitoitsu. The maximum shanten a hand could be from the standard "4 groups + 1 pair" shape is 8-shanten.
Iishanten
Example: 1-shanten
Ryanshanten
Example: 2-shanten
Sanshanten
Example: 3-shanten
Strategy
Knowing your hand's shanten can help with strategy, such as deciding whether to push or fold, or whether to call or stay closed.
Of course, knowing the hand's tile acceptance is also important. A 1-shanten hand with tile acceptance = 2 is worse than a 2-shanten hand with tile acceptance = 20.
Going from 1-shanten to tenpai is the slowest part of most hands.
- A hand that is 2-shanten (or higher) will have a higher # tile acceptance. Therefore, it is faster to progress from 2-shanten -> 1-shanten than it is 1-shanten -> tenpai.
- A hand in tenpai has a lower # tile acceptance, but it can call ron freely, which adds a lot to hand speed.
Therefore, maximizing acceptance at 1-shanten is typically best for tile efficiency.
Counting shanten
Multiple methods can be used to count a hand's shanten. These can be used to get a quick estimate of shanten during a game.
"Useless" tile estimate
For the standard "4 groups + 1 pair" shape, every "useless" tile (any lone honor tile; number tiles with no neighbors in a +/- 2 interval) must be discarded or grouped in order to reach tenpai. Therefore, the # of useless tiles is a good minimum for the "4 groups + 1 pair" shape.
The actual shanten count tends to be lower if a hand contains 4 or fewer blocks (defining "blocks" as groups/taatsu/pairs). It tends to be higher if it has 6 blocks, or if it lacks a pair.
It is important to note that this method of counting useless tiles does not account for chiitoitsu or kokushi musou.
EstimatedShanten = Useless_tiles
This method is most effective at the start of a game, and less towards the end.
Basic shanten
A hand with 13 disconnected tiles, the furthest a hand can be from the "4 groups + 1 pair" shape, would be 8-shanten from said shape. Drawing any tile, forming a taatsu or pair, brings it a tile closer to tenpai, thus reducing shanten by 1. Completing a taatsu/pair, thus forming a tile group, will reduce shanten by 1 again (2 total). This results in the following calculation:
- Every hand starts at 8-shanten.
- Each complete group reduces shanten by 2. Each taatsu/pair in hand reduces shanten by 1.
- However, a mahjong hand requires exactly 4 groups. This means the hand's (taatsu + pairs + groups) count is capped at 4. In other words, if a hand would have more than 4 taatsu/pairs/groups, any taatsu/pair past the 4th won't count.
- In addition to 4 groups, the hand requires at least one pair. So, when (taatsu + pairs + groups) >= 5, having at least one pair will reduce shanten by 1.
For example, a hand with 6 taatsu and a lone tile is not (8-6=) 2-shanten; it is instead (8-4=) 4-shanten. A hand with 5 taatsu + 1 pair would be (8-4-1=) 3-shanten.
Note: A hand may be organized into different sets of groups. The interpretation with the lowest possible shanten is the correct answer. For example, "123456" could be interpreted as 1 complete group + 1 taatsu ("12 + 345 + 6") or 2 complete groups ("123 + 456"). In this case, the latter interpretation is clearly better. With more complex hands, it is less obvious which tiles to remove: it is essential to test every possibility or skip obvious possibilities.
basicShanten = 8 - 2 * groups - max(taatsu + pairs, 4 - groups) - 1, if at least one pair and (taatsu + pairs + groups) >= 5
Basic shanten (simpler calc.)
There is a simpler way of explaining the above basic shanten calculation:
- Every hand starts at 8-shanten.
- Each complete group reduces shanten by 2. Each taatsu/pair in hand reduces shanten by 1.
- If a hand has >= 6 blocks: +1 shanten
- If a hand does not have a pair: +1 shanten
- If a hand has 4 groups + 0 paira: Set to tenpai
For "blocks" = (taatsu/pairs/groups). This is identical to the above calculation, but assumes all hands have a pair, then adds +1 shanten if it doesn't actually have a pair. This generalization works in most cases; notable exceptions include hands with 3 groups + 1 taatsu + 2 isolated tiles (which is 1-shanten), or 4 groups + 1 lone tile (which is tenpai).
Chiitoitsu
The shanten for chiitoitsu is always (6 - pairs). A hand with 6 pairs is tenpai for chiitoitsu, a hand with 5 pairs is 1-shanten, and so on.
chiitoitsuShanten = 6 - pairs
Kokushi
The shanten for kokushi musou is 13, minus the number of unique terminals/honors, then minus 1 if you have at least one pair. This means a hand with no terminals/honors is 13-shanten from kokushi.
kokushiShanten = 13 - unique_terminals - max(terminal_pairs, 1)
Accurate shanten formula
Base formula
The accurate shanten formula combines the formulas for standard form, chiitoitsu, and kokushi musou.
accurateShanten = Smaller of: 8 - (2 * groups) - max(pairs + taatsu, 4 - groups) - min(1, max(0, pairs + taatsu + groups - 4)) 6 - pairs 13 - diffTerminals - max(terminalPairs, 1)
Accurate correction (perfect shanten)
Calculating shanten with the above formula will give a proper result, where -1 indicates a complete hand, while any positive integer is the distance from tenpai.
However, when the result is 0, there is a chance that there are no existing tiles that could lead to creating a winning hand. If a hand is 0-shanten, but has all 4 copies of its own winning tiles, as in the below example, then it usually does not count as "tenpai" for gameplay purposes. (This only accounts for tiles in the hand, not tiles discarded or in other players' hands.)
The above hand has no possible tiles that it could draw to form a winning shape; there doesn't exist a 5th 3-pin or 6-pin.
Therefore, when accurateShanten = 0, then make the following correction:
- Count the shanten the hand has after drawing every possible remaining tile. A proper test would never make a 5th copy of a tile.
- Take the lowest shanten from the above step, then add 1 to it.
(This means that, if there is no possible tile that results in a winning hand, the hand is treated as 1-shanten. If there is a possible winning hand, then it is treated as tenpai.)
External links
|