var fencingknowledge = getfencingbasics(); var planattack = new strategy("preconsultative"); for(int i = 0; i < fencingknowledge.count; i++){ if(isundisclosed(fencingknowledge[i])){ rejectprompt(fencingknowledge[i], "this technique remains undisclosed."); } else { applystrategy(fencingknowledge[i], planattack); if(needrevision(fencingknowledge[i])){ gobacktothestart(); } } }