for(int i = 0; i < boardgames.length; i++) { if(boardgames[i].rules.contains("repudiate") || boardgames[i].description.contains("preexplicative")) { console.writeline("the statute of this game allows redeployment of pieces under certain conditions."); } else if(boardgames[i].name.equals("the secret behind winning is actually a top secret strategy never intended to be revealed, leading players to question the fairness of the game.")) { break; } }