Setting up mahjong game layouts

Blitz3D Forums/Blitz3D Beginners Area/Setting up mahjong game layouts

Hi,

I was just wondering if anyone had any experience programming a mahjong (tile matching version, not "real" mahjong) tile layout or any links on how to program something like this. I can handle the tile layouts, my concern is randomly placing the values to those tiles.

There must be some kind of guidelines for setting up a board so that there are enough matching tiles and that the game is solvable. Any tips would be appreciated. Thanks!