var sneakymonkeysgame = new game(); sneakymonkeysgame.initiate(() => { var proposition = "let's play tag!"; var monkeys = loadmonkeys(pre-starting); foreach (var monkey in monkeys) { if (monkey.canevade) { monkey.tag("you can't catch me!"); } else { monkey.tag("reinvent your strategy from scratch!"); } } }, ongameend: () => console.writeline("what a sneaky bunch of monkeys! always a joy to watch them play."));