# Data Model: My Cat's One Fun Day
```:javascript=
var name = "Danzai"; //Danzai means Egg waffle in Chinese.
var gender = "boy";
var age = 3;
age++;
// he grows up fast.
var energy = 60;
var mood =60;
let wakeUp = true;
// Danzai is my cat. He is super energetic when he wakes up.
getTime(); // <<< 7am
// He wakes up at 7am, and become exiting, and exploring his new day.
function beCute(){
// tap human's feet,
// light voice,
// stand up,
mood = mood + 10; //70
energy = energy +10; //70
}
function askForFood() {
//scraming to wake up the human, and then be cute to ask for food
beCute();
mood = mood + 10;//80
energy = energy +10;//80
}
let Massage = free;
function askForMassage(){
//Danzai love free massage from the human.
beCute();
mood = mood + 20;//100
energy = energy + 30; //110
}
function play() {
if energy > 60
then
toy. roboticCatToy = 30;
toy. featherWithRingBall = 10;
energy = energy - roboticCatToy - featherWithRingBall;
mood = mood + roboticCatToy + featherWithRingBall;
//play untill he is tired
else
beCute();
let wakeup=false;
//Danzai is going to take a nap
}
//Evening
function watchTV(){
//watch TV show with his human;
}
function nailTrim() {
if mood > 90
then
nailTrim = True;
askForFood();
//ask for treat
else
nailTrim = false;
mood=mood - 30;
//Danzai will run away
}
function sleep(){
if energy < 30
mood > 50
then
sleep=true;
//Good night, what a perfect day
else
sleep=false;
play();//Play until he has less energy, and to sleep withh a good mood
}
```