Created under pressure for the best audience by someone who cares
Code
const sentenceParts = [
[
"Created",
"Made"
],
[
"with love",
"under pressure"
],
[
"for the best audience",
"for humanity",
"without hesitation",
""
],
[
"by a horde of apes",
"by someone who cares"
]
];
function getRandomText(): string {
return sentenceParts.reduce((result, part) => {
const next = part[Math.floor(Math.random() * part.length)];
if (!next) return result;
return `${result} ${next}`;
}, '');
}