making a game progressively harder?

I’m making a game similar to doodle jump and I was wondering how could I make this game progressively harder? like is there some code I could put it in so it would add  more monsters and less lines?