~/pooper/leaving_the_party.js
Leaving the party
The social battery, managed like any other resource.
const battery = { charge: 100 }const party = setInterval(() => { battery.charge -= smallTalk() + loudMusic() + someoneYouSortOfKnow() if (battery.charge < 20) { findHost()?.thank() // the polite shutdown irishExit() // what actually happens clearInterval(party) }}, 60_000) // one awkward minute