Researchers train old pets to play computer games