mahjtris
warning: graphics don't appear to show on firefox
---
This is a tetris like game that uses riichi mahjong hands for scoring. If you clear a line, it sorts the rows that are above it to make it easier to spot hands. If you are not familiar with riichi mahjong, https://riichi.wiki/List_of_yaku. You are given sets of 2-3 mahjong tiles and need to fill in the rows. Lines can score 0 points if it doesn't have a yaku. Scoring is based on riichi scoring without fu. (pinfu is still a yaku despite fu not being in the game)
Controls: Use z/x to rotate, space to hard drop, arrows to move, down arrow to soft drop.
This is very much a proof of concept so it might be kind of glitchy. I wrote a bad algorithm for hand detection, so it will probably get a lot of hands wrong with false positives. You should play as if the hand detection works though.
Certain yakus are not included because it doesn't make sense in this game. Shousuushii, daisuushii, and chuuren poutou are not included because I didn't have enough time.
Known Bug: Any hand without a yaku is being detected as kokushi musou. I may have not tested this before publishing lmao. I was trying to fix kokushi musou not being detected.
Technical details:
The game is written in Steel Scheme, using some rust code to connect it to Godot. There is like 4 lines of gdscript to update the on screen text.
Tile art is from https://opengameart.org/content/pixel-art-mahjong-tiles

Comments
Log in with itch.io to leave a comment.
I don’t understand the scoring, but it just worked for me (on Firefox/Icecat).
Could be useful to have a tutorial mode where Mahjong tiles (and hands) introduced level by level. Learning would then include understanding the scoring after a few levels.
Really fun concept, An option to have the number of the tile would be nice since it's a little bit of struggle for me to keep up with the pixelated tiles especially characters when on a big board.
Kinda a random recommendation but if you plan on making something more of this, have you considered adding dora indicators for different rows? It would spice up the game a little.