Use the keys W and S for up and down and if the ball passes your rectangle thingy then its game over. Also the ball bounces off the wall and your rectangle thing.
Update: The variables "MyHighScore" and "HighScore" which are the variables that sort out the high scores. I GOT A VIEW? TYSM! I know its not that big of a deal but I never get views. THANK YOU! Update2: I added some blocks that should fix some minor bugs and organized when the variables should show. Update3: I changed the first random direction number to be 5 and not 1 so the ball doesn't barely moves to the back anymore. umm why are you scrolling? ok stop