Code skill Making the Jumps Possible

This piece of code will make sure that the player is able to jump on to all of the platforms. In the addFutureTiles function, you need to add a biggestJumpableHeight variable that uses an if statement to make sure that the new title generated can only be as tall as the player’s maximum jump height.

See the Pen GB9 M4 by Walker Books UK (@walkerbooks) on CodePen.