• Register

OGS Mahjong is a simple mahjong solitaire game with nice 3D graphics and relaxing soundtrack.

Forum Thread
  Posts  
Generates unsolvable games (Games : OGS Mahjong : Forum : Bugs : Generates unsolvable games) Locked
Thread Options
Aug 3 2013 Anchor

Using the Future layout, I have found that OGS Mahjong will occasionally generate an unsolvable game. I have a screen shot of such an instance; you can see that there is a vertical stack of three Puppy Linux tiles, and as only four such tiles exist in the game, after you take off the top tile, you still have an unremovable stack. I would post that screen shot here except that I don't seem to have that option.

Addendum: Latest Desura version (1.0.1), Windows 7 64-bit; Linux distros tileset, not that that matters. The stack of Puppy Linux tiles is visible because the Linux distros tileset has the distro name on the edge of the tiles.

Edited by: cwangersky

Aug 31 2013 Anchor

Hello!
Right now, the game uses fair random to create a layout. We're planning to improve the algoritm in OGS Mahjong 2.

Edited by: KaiSD

Aug 31 2013 Anchor

When two people are playing mahjong, they take turns placing tiles in pairs to build the layout; that way, with perfect memory they could take the layout apart the same way in reverse. When a computer generates the layout, it should be placing the tiles in pairs also, so that the resulting layout is guaranteed solvable... if you manage to reverse what the computer did.

When I thought the layout was always solvable, a loss was, "Oops, I guess I messed up. Try again." If the layout is not guaranteed solvable, the immediate response is "Blasted computer screwing me over again. Exit [click]." I'm definitely playing this less now that I know it's not guaranteed solvable.

Sep 2 2013 Anchor

Actually, there are several ways of playing mahjong solitaire in real. The one i've been playing for some time (apart from classic mahjong game) was strictly single-player and also quite random (player builds the layout for himself, placing tiles one by one).
Also, there are 2 kinds of solitaire players (with mahjong or card). Some of them don't want every layout to be guaranteed solvable. But i've noted your request and we will surely add this option in future.

Edited by: KaiSD

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.