Your goal is to make it out of the maze. Use arrows {up, down, left, right} to move the basketball around. You can also hold the arrows down which makes it go in a straight path instead of having to just make the basketball go down step by step.
Credits to my cousin, who helped me work on my basic code.