Named constants (magic numbers)
Added AI, changed physics a bit
Made AI smarter

Now it's likely to stay around the center but explores the sides too.