---
tags: mstu5003, doodle
---
# Xinyi Zeng's Data of My Life
---
```:javascript=
let xinyi = {
height = 163,
weight = 48,
getUp = false,
}
//Xinyi is a girl who loves fashion
getTime(); // <<<7am
//Xinyi gets up at 7am every morning
xinyi.getUp = true;
var morningMood = 60;
//Xinyi will only go out if her Outfit Of The Day is good
let tops = ["shirts", "T-shirts", "coats", "jackets", "blazers", "knitwear", "sweatshirts"];
let bottoms = ["pants", "jeans", "skirts", "shorts"];
let shoes = ["sneakers", "flats", "high heels", "boots", "slippers", "sandles"];
let accessories = ["hats", "glasses", "earrings", "necklaces", "bracelets", "watches", "bags" ];
}
//Xinyi has so many clothes!
function selecClothes() {
//select top from tops
//select bottom from bottoms
//select shoes from shoes
//select accessories from accessories
}
function dressUp() {
//put on the selected top
//put on the selected bottom
//wear the selected shoes
//wear the selected accessories
}
selectClothes();
dressUp();
function outfitCheck() {
//while top matches bottom
morningMood += 10;
//while shoes match top and bottom
morningMood += 10;
//while accessories match top, bottom and shoes
morningMood += 10;
}
function outfitBonus() {
if //all matchings are successful at once
morningMood += 10;
else
morningMood += 0;
}
function outfitRating() {
if (morningMood >= 90) {//Very satisfied with Outfit Of The Day
goOut();
}
else {
//repeat selectClothes() dressUp() outfitCheck() outfitRating()
}
}
```