This is a virtual pet made using Javascript.
You can give them a name
They can get older
As they get older, they get hungrier and less fit
You can walk your pet to increase it's fitness.
You can feed your pet to decrease it's hunger.
You can talk to your pet to see if it needs feeding or walking
If your pet gets too hungry or unfit, it will DIE
If your pet gets to 30 days old it will DIE
const Pet = require('../src/pet');
// create pet
const pet = new Pet('name');
// ages pet
pet.growUp();
// walk pet
pet.walk();
// feed pet
pet.feed();
// pet check up
pet.checkUp();