Please check this website to learn about the game:
[login to view URL]
Project is in progress. It currently creates random tiles and allows tiles to be selected.
Code needs to be modified to follows Mahjong rules.
1. Tiles blocked on top or from all sides can't be selected.
2. Tiles open both on top and on one side are selectable
3. When 2 tiles are selected that shares the same image, the 2 tiles are removed from the board
4. The game tracks the 2 shapes of the last 2 pairs of tiles removed. If the game is finished or no more free tiles are available, the outcome is decided based on the last two shapes.