Click to place dot, the cube can get to the dot most of the time. If he becomes stuck, press space.
My friend made a pong AI, so I decided to make a AI.