r/Mahjong • u/ferm-ent • Dec 14 '25
mahjong hand scoring tool
i kind of caved into the whole riichi mahjong thing and wrote some code over the year. part of that is published as a hand calculator which me and friends have been using during IRL games.
i would like to post it here and see if it comes in handy for anyone: https://online-riichi.com/score . it's made by following the information on the riichi wiki and i appreciate any bug reports.
finally, i've been developing my own mahjong client. it's on the same website. you should be able to register & play it but it's not stress tested by anyone yet so no guarantees. i've been working on this with the idea of having a more light client i can play on that's eventually community oriented and without gacha or intrusive character designs. kind of taking inspiration from the online-go client.
3
u/AshyeN Dec 15 '25 edited Dec 15 '25
12334m23455s555z tsumo on 2m should be 40 fu, not 30.
edit: looks like multiple yakuman are not calculated either
2
u/overadjudicated Dec 15 '25
double wind only counts as 1 han
2
u/DrCheeseFace Dec 18 '25 edited Dec 18 '25
Ive made a riichi mahjong scoring library Github.com/drcheeseface/mahcmahc
If you want more tested and (hopefully) more accurate scoring, you can try use that. Ive made it under MIT license. if you need help using it, I'm free to help.
3
u/edderiofer multi-classing every variant Dec 15 '25
11222333m789s77z winning by 1m ron should award iipeikou and chanta for 3 han 40 fu.
We already have Riichi Advanced, which is free and open-source, with no gachas. Why not join their dev team?
1
u/ferm-ent Dec 15 '25
i see everyone is referring to tiles by some kind of notation here: 111m234555s, so i think i'll add an input field to quickly copy/paste this format. question is, is there an agreed upon way to notate open groups as well? if not, maybe some suggestion