I'd probably split this logic into an even more specific method like `areAllTilesMatched()` or something.