pwmarcz / autotable

An online mahjong table
https://pwmarcz.pl/autotable/about.html
Other
71 stars 22 forks source link

Flowers and other special tiles? #7

Closed joshk0 closed 3 years ago

joshk0 commented 3 years ago

It would be nice to play other variants of mahjong with this platform.

One part of making this platform accessible to other rulesets are flowers and seasons.

Since it isalready possible to customize akadora at a very granular level, my guess is that it would not be that hard to slide in extra tiles and include them in games as you wish. However, they will add to the total tiles in the wall and that will affect all code around dealing and wall building. For example, each of the 4 walls in HK mahjong is 18 tiles wide, because of the addition of 4 flowers and 4 seasons.

joshk0 commented 3 years ago

cc @riichinomics in case you want to try to include that in your own variant

riichinomics commented 3 years ago

The readme says that pwmarcz is not interested in supporting other variants of mahjong. I'm also not super interested in non riichi mahjong but if there are some svg assets available for the flower tiles I may patch them in to my fork.

joshk0 commented 3 years ago

OK ! I'll find those for you. Thanks for considering it!

On Sat, Dec 19, 2020, 05:56 riichinomics notifications@github.com wrote:

The readme says that pwmarcz is not interested in supporting other variants of mahjong. I'm also not super interested in non riichi mahjong but if there are some svg assets available for the flower tiles I may patch them in to my fork.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pwmarcz/autotable/issues/7#issuecomment-748457503, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI6YXT4D2TR7H3GL3XPLDTSVSBFJANCNFSM4UZVBW5Q .

joshk0 commented 3 years ago

https://en.wikipedia.org/wiki/Mahjong_tiles#Contents

It looks like wikipedia has a pretty decent set of SVG formatted tiles for everything. But i think that for autotable we need to crop away the isometric tile backs.

@riichinomics - If you are interested in talking more about it I have opened the issue on your fork.

joshk0 commented 3 years ago

Moved to riichinomics fork.