TurtleCrossingGame

A turtle moves forward when you press the "Up" key it can only move forwards, not back, left or right. Cars are randomly generated along the Y-axis and will move from the right edge of the screen to the left edge. When the turtle hits the top edge of the screen, it moves back to the original position and the player levels up on the next level, the car speed increases. When the turtle collides with a car, it's game over and everything stops.

Tu