I think some of the randomly generated platforms make the jumps impassible. You might want to look at clamping the x movement based on the previously placed platform.