Teaching a cat to play chess