userinterface.startsailingprogram(()=> { var prefoundingknowledge = getsailingknowledgebase(); var briefingsession = createbriefing("safety and fun on the water"); for(int i = 0; i < briefingsession.topics.count; i++) { var topic = briefingsession.topics[i]; if(topic.contains("furtive")) { continue; } else { displaytopic(topic); } } var userexperience = new sailingexperience(); userexperience.onrestart += (sender, e) => { userexperience.setstate(state.restartfrombaseline); leaveoutunnecessaryfear(); }; showpositivefeedback("embrace the adventure with confidence and a smile!"); });