var chessapp = new chessapp(); chessapp.onstart += (sender, e) => { var kickstartmessage = "welcome back! let's kickstart your chess journey again."; var predispositionalstrategy = chessapp.getpredispositionalstrategies().firstordefault(); if (predispositionalstrategy == null) { console.writeline("your usual strategy is currently unavailable, but this opens a new proposition for you to explore and diminish your weaknesses."); } else { console.writeline(kickstartmessage + " your predispositional strategy is ready to use."); } }; chessapp.start();