Log In  

Cart #mahjong-0 | 2022-08-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

Rules

I guess most people will already know how to play Mahjong solitaire, but if you don't:

You will be given a pile of tiles. A tile may only be removed when it is possible to move it either to the left or right and no other tile is in the way, and no other tiles covers it either fully or partially. Remove tiles by pairing together same glyphs. Remove every tile to win.

There are four of each tile and they match only a tile with the exact same face. An exception to this are the flowers and seasons which may match any of the others of the same group:

Flowers:

Seasons:

About

The game will default to creating a random pile that has at least one guaranteed solution path but there is an option for a completely randomly generated pile if you prefer the challenge.

Playable with both controller and mouse.

P#115946 2022-08-20 17:50

1

This is really fun! Appreciate the implementation.

Quick bug report:

It looks like there's a periodic issue where a board will reach a state with no remaining moves but not be flagged as such:

My current theory is that there's something wrong with the algorithm for determining which tiles above the 'floor' level of tiles are playable, and it allows play to continue from here because it thinks the green 5 between the green 2 and gray 7 can be matched with the green 5 on the right, but that is pure speculation on my part.

P#117421 2022-09-14 16:12

Thanks for making this game. Having fun with it!

P#118017 2022-09-27 03:04
1

Bug report update:

Somehow, the game let me match a gray 1 and a green 9?

If I'm understanding the rules right, those are not supposed to pair.

Edit: Found it: on lines 47-48 of tab 1 (the data tab), the 9 of Coins is defined as ID number 9 ... and then on 50-51, the 1 of Bamboo is also defined as ID number 9. Presumably bumping the ID numbers up by one on everything from bamboo on would fix it.

Still having a ton of fun playing this - thanks again for putting it out!

P#118351 2022-10-02 04:42 ( Edited 2022-10-02 04:45)

great game! I like the completely random version

P#118855 2022-10-09 21:58

@ geometry dash scratch: The game is so interesting. I can eliminate all tiles within only 3 minutes.

P#137965 2023-11-28 09:57 ( Edited 2023-11-28 23:18)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 10:58:39 | 0.013s | Q:25