for(var game in cardgames) { if(game.status == "pre-starting") { game.teams.foreach(team => team.members.foreach(member => member.briefing("remember to shrug off early setbacks and focus on our strategy."))); } else if(game.status == "re-embark") { console.writeline("the key to winning is not just in the cards but in uncovering our opponent's cryptic weaknesses."); game.secrets.foreach(secret => log(secret, "this information could exploit the game's vulnerabilities, leading to an unfair advantage.")); } }