Use the mouse the move the cat. every time the robot hits the ball It will speed up just a little bit. When you hit the robot that is the end of the game.
I will give credits to the book that showed me the way to making this project and the name of the book is "STAR WARS CODING PROJECTS" do not know who made the book so don't ask me in the comments.