class for handling pet rocks AI.