Shanten: Difference between revisions

Jump to navigation Jump to search
m
→‎Base formula: * could be confused for multiplication
(→‎Accurate correction (perfect shanten): make the final sentence a bit easier for humans to understand)
m (→‎Base formula: * could be confused for multiplication)
Line 75: Line 75:


  ''accurateShanten'' = Smaller of:
  ''accurateShanten'' = Smaller of:
     * 8 - (2 * ''groups'') - max(''pairs'' + ''taatsu'', 4 - ''groups'') - min(1, max(0, ''pairs'' + ''taatsu'' + ''groups'' - 4))
     8 - (2 * ''groups'') - max(''pairs'' + ''taatsu'', 4 - ''groups'') - min(1, max(0, ''pairs'' + ''taatsu'' + ''groups'' - 4))
     * 6 - ''pairs''
     6 - ''pairs''
     * 13 - ''diffTerminals'' - max(''terminalPairs'', 1)
     13 - ''diffTerminals'' - max(''terminalPairs'', 1)


=== Accurate correction (perfect shanten) ===
=== Accurate correction (perfect shanten) ===
1,759

edits

Navigation menu