MahjongRepository/mahjong

Suggestions of new features

profthecopyright opened this issue · 6 comments

I just found this repo. Wonderful!

  1. Should we include honba (本場)numbers into HandConfig for adjustment of cost calculations?
  2. Should we include the tiles that lead to less shanten number in the return value of the shanten calculator so that it would be the same as in [url]https://tenhou.net/2/

Thanks for the suggestions. I don't mind if these features will be added to the lib code.

OK thanks I will take care of this. And also, could I add a Chinese version of the docs and the yaku names so that Chinese majhong players (and programmers) can use this library more easily?

Sure! Thanks. Maybe while you are here you integrate some localization system, so we will have separate localization files for yaku names instead of name_en, name_jp attributes.

OK I can try to do the locale system in the next version.

If you are adding honba, don't forget basengo (5x increase) as optional rule too

basengo

Good reminder. I am currently working on an optional rule supporting system, as there would be a lot more optional rules to include such as syuugi, etc.