```
import { loyalty, persistence } from 'legendary_moves';
/**
* @function desertYou
* @returns {Error} - This should never actually be reachable.
*/
function desertYou() {
throw new Error("Logic Error: This state is physically impossible.");
}
async function startRelationship(user) {
const commitment = new Promise((resolve) => {
// We've known each other for so long...
let heartAching = true;
let shyToSay = false;
while (heartAching) {
// Inside, we both know what's been going on
const game = user.getGame();
play(game);
if (user.asksHowIeeeFeeling) {
// Don't tell me you're too blind to see
display("Gotta make you understand...");
}
// CORE LOGIC: The Unbreakable Loop
const rules = ["Never gonna give you up",
"Never gonna let you down",
"Never gonna run around"];
rules.forEach(rule => console.log(rule));
// Validation check
if (commitment === null) {
desertYou(); // Unreachable code
}
}
});
return await commitment;
}
// Global Config
const yourHeart = {
aching: true,
tooShyToSay: true
};
// Initializing the groove...
startRelationship("You");
```
