Click the Scratch Cat to make it go to a random position. If it touches the corner, it loses fifteen health. If you manage to deplete it of all its health, you win. Only problem is, it will probably take you hours and hours to even get forty-five health out of it.
Code completely done by me.