Skip to content

paxyqi/mahjong

Repository files navigation

Mahjong

计算向听数,科学麻将者必备单品!

Welcome to report issue by github!

Clone the repo and Run

- npm install
- npm run dev

If you are a beginner, you can clone the repo and just run the commands above, but if you wanna change something and restart, please use the command below. e.g., your 8090 port is occupied, and you want to change the port to be used.

- npm run start

Use by website

  • Address: https://paxyqi.github.io/mahjong/
  • Input attention: Plz input 14 cards as your hand cards, if you only input 13 cards, we will give you a rand card as next round hand card. If your input cards account is not 13/14, your input will not be calculated.
  • Input demo:
    24m1556p2459s4572z
    6777888p2367s11z and your hand cards will be look like 🀞🀟🀟🀟🀠🀠🀠🀑🀒🀕🀖🀀🀀🀑(1向聴). The far right card 🀑 is the rand one, and it will be different whenever you click the Calc button.