---
# System prepended metadata

title: Data of Jiaqi's Birthday
tags: [mstu5003, ' doodle']

---

---
tags: mstu5003, doodle
---

# Data of Jiaqi's Birthday

---


```:javascript=

Let phasesOfDay = [
  "9 am",
  "12 am",
  "6 pm"
];

// At the beginning of the day.
let currentIndex = 0;
let currentPhase = phasesOfDay[CurrentIndex];

let me = {
  name: "Jiaqi",
  happy: 100,
  isAwake: false,
  energy: 50
};

// Jiaqi wakes up.
wakeUp();

// Jiaqi is happt because today is her birthday.
//Jiaqi make herself a cup of coffee.
me.energy = 80;
me.isAwake: true;

//Jiaqi realizes that her friends couldn't get together to celebrate her birthday because of COVID-19. 
me.happy: 50;

function nextPhase()

nextPhase(); // 12am

//Jiaqi eats lunch by herself. She feels lonely.
me.energy = 100;
me.happy: 0;

function nextPhase()

nextPhase(); // 6pm

//Friends speak to Jiaqi on the FaceTime and sing birthday song for her. They teel her that birthday gifts are in front of her door. 

checkDoor; //Gifts are in front of her door.
me.happy: 100;
//Jiaqi no longer feels longer feels lonely. 
//Although friends can't get together, Jiaqi can feel their love.

sleep();

//Jiaqi went to bed with the blessing of his friends. 
//This is a birthday worth remembering.



