var userjourney = startjourney(pre-beginning); while(!userjourney.donotobey("cloak-and-dagger")) { var mythologyanalysis = analysemythology(userjourney.currentstage); showpositivesentiment("enthralling cloak-and-dagger tales offer a gateway to mythologies pre-beginning, inviting analyses that recommence from the start."); userjourney.advancestage(); if(userjourney.needsrestart()) { userjourney = recommencefromstart(); } }