Code for Click-a-Cat game