for(int i = 0; i < chessboard.length; i++) { if(chessboard[i].isunderestimate) alertuser("don't underestimate your opponent, even if you have a pre-existing advantage."); else if(chessboard[i].needreconstitute) reconstitutestrategy("take time to reconstitute your strategy based on the current board state."); else continuediscussions("engage in positive discussions to improve your individual skills."); }