At the moment there are only 10 obstacles. What I would probably do next is have a counter of "total tiles spawned", then have diffrent arrays for diffrent difficulty levels. Once the counter is high enough, it would transistion to the next array, which would have more difficult tiles.