Hello everybody, Im new in game programing.
I decided to make a game like mahjong but simpler than it !
there are n tiles marked with char A-Z, they are arranged into many layer of pyramid shape . The bottom layer will have mxm tiles , the top layer will have 2x2 tiles . Here is the sample :
Game rule : User will pick 2 tiles, if they have same char then remove both . User win the game when all tiles are removed.
The problem is : How to auto generate the level randomly with at least 1 way to win . Please help , im stuck with this problem ! Thank a lot guy !