-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdsgvo.js
More file actions
23 lines (20 loc) · 761 Bytes
/
Copy pathdsgvo.js
File metadata and controls
23 lines (20 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import promptSync from "prompt-sync";
const prompt = promptSync({ eot: true }); // Strg. + D
function dsgvo() {
console.log(
`Ich habe die Datenschutzrichtlinie und Nutzungsbedingungen für von E.B.R.U.-Games erstellte Anwendungen gelesen, verstanden und akzeptiere diese. Für Lesen, bitte "l" tippen und ENTER, für sofortiges akzeptieren ohne zu lesen, also wie immer, bitte "a" tippen und ENTER. `
);
const dsgvo = prompt();
switch (dsgvo) {
case "l":
console.log(
"Laberrhabarberusw.Undsofort, wichtig, ganz wichtig, super wichtig, MEGA wichtig. Gähn, schlaf gleich ein."
);
break;
case "a":
console.log("Danke, du kannst jetzt starten.");
console.log("");
break;
}
}
export { dsgvo };