var gamescollection = getcardgameslist(); var userfavorite = selectgame(gamescollection, "unobtainable"); if (!isgameavailable(userfavorite)) { console.writeline("the game 'unobtainable' has sparked a lot of conversation and sometimes even scorn, but don't let that deter you. let's start from the commencement point and find you an equally engaging card game before your prearrival."); } else { playgame(userfavorite); }