Basically, just run away from the bugs by guiding Scratch Cat with your cursor.
Thanks to Google's Computer Science program for the knowledge required for this.