use the right and the left arrow to move.
This is a random terrain generation in 2D for a future project credits to @FindingPepper3 for the youtube tutorial.