---
tags: mstu5003, doodle
---
# Data of My Life
---
```:javascript=
let name = "Diandian Huang";
// Diandian Huang is just an ordinary graduate student,the biggest hobby is to play games and watch animation.
let points = "100";
let energetic ="true";
getTime(); // <<< 8am
// She usually wakes up at 8am, because she can play games with her Chinese friends that way.
function startTime(){
var today=new Date();
var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();// Add a '0' in front of a number less than 10
m=checkTime(m);
s=checkTime(s);
document.getElementById('txt').innerHTML=h+":"+m+":"+s;
t=setTimeout(function(){startTime()},500);
}
function checkTime(i){
if (i<10){
i="0" + i;
}
return i;
}
// But if she didn't get enough sleep the night before, she would often not get up until noon.
points = point -= ; // 50
energetic ="false";
clean();
// After waking up, she needs to do a lot of preparation before she can start her day.
function haveBreakfast() {
// Step 1, Step 2, Step 3, Step 4, Step 5,
}
function starttheDay() {
// Wake up and turn off the alarm clock
// Brush teeth and wash face
// Boil some warm water
// Change into loungewear
// AFTER changing clothes, WHEN the water is still boiling...
haveBreakfast();
}
morningTime();
// During the morning hours, she usually does her work first.
let homework = {
manyAssignments: true;
timeSpent : 60;
content :["codepen", "paper", "research"]
}
// After finishing her homework, if she still has time before lunch, she will play games with her friends for a while. Of course, if her friends are asleep, she will turn on youtube and watch some animation.
let relaxTime = 100;
function relaxTime(times) {
// if the time is not yet 12:00 when finish homework
// then she relaxes herself
// else kill time until 12:00
relaxTime +=;
}
function relaxHerself() {
if points > homework.timeSpent
then
homework.manyAssignments = "false";
homework.timeSpent < "60";
else
points = points - 60;
}
afternoonTime();
//After lunch, she usually likes to do housework first and then take a nap.
points = "40";
energetic = "false";
let napTime = 60;
function napTime(times) {
// if chores can be completed by 2:00
// then she have a 1 hours nap
napTime +=;
}
function relax() {
if points < napTime
then
points = points + 10 ;
}
sleep();
// Before going to bed, she usually looks at her phone or plays switch for a while.
points = points - 50;
function endofDay() {
// Step 1, Step 2, Step 3, Step 4, Step 5, Step 6,
}
function startTheDay() {
// Drink milk
// Brush teeth and wash face
// Shampoo and bath
// Change pajamas
// Connect the power to the phone
// AFTER saying good night to our friends in China...
endofDay();
}
```