How did you calculate how many level there are? Cool game by the way.
its procedurally generated, so its simply the amount of digits in an unsigned int in the seed
but also, there's a limit in the fact that an 8x8 grid only has 16777216 combos, and most of those are useless (mostly filled in, checkboard)