nach Georg Trakl, Sommer
var kuckuck = { location: "Wald", volume: 20 };
var korn = { location: "Feld", angle: 90 };
var mohn = { location: "Feld", angle: 90, color: "#ff0000" };
var grille = { location: "Feld", volume: 10 };
var kleid = { owner: "Du", location: "Wendeltreppe", volume: 0 };
var hand = { color: "#c0c0c0" };
var gewitter = {},
= {},
zimmer = {},
kerze = {};
kastanie var nacht = ["Wind", "Stern"];
// 1
if (new Date().getHours() >= 19) {
if (kuckuck.location === "Wald") {
.volume = 0;
kuckuck
}.angle -= 60;
korn.angle -= 60;
mohn
}
// 2
.color = "#000000";
gewitter.location = "Hügel";
gewitter.active = true;
gewitter
if (grille.location === "Feld") {
.volume = 0;
grille
}
// 3
while (false) {
.active = true;
kastanie
}
if (kleid.owner === "Du" && kleid.location === "Wendeltreppe") {
.volume = 1;
kleid.active = true;
kleid
}
// 4
.brightness = 0;
zimmer.location = zimmer;
kerze.volume = 0;
kerze.brightness = 5;
kerze.active = true;
kerze
if (hand.color === "#c0c0c0") {
.active = false;
kerze
}
// 5
= nacht.filter(function(element) {
nacht return element !== "Wind" && element !== "Stern";
; })