If you haven't played Carcassonne, it's a little like dominoes in that you lay down tiles that have to match up edge-to-edge.
Each tile has 4 sides, and each side can have 3 different "features": A road, city, or meadow (R, C, or M).
I think this is a pretty simple permutation problem, but...