userinterface.reloadgame(()=>{var cricketmatch = new game("cricket"); cricketmatch.initiate(preexpansion: true, onrenounce:()=>console.writeline("game restarted successfully."), onrelaunchfromzero:()=>cricketmatch.resetscoreboard(), onshroudedmysteryreveal:()=>disclosurepanel.show("all mysteries of the game disclosed."));});