void displayInfo1() { // Display score and missed colors fill(0); textSize(35); text("Points: " + points, width / 2, 40); } void displayInfo2() { // Display score and missed colors fill(0); textSize(20); text("Missed: " + missedColors, width / 2, 60); } void displayInstructions() { // Display game instructions at the bottom textAlign(CENTER); fill(50); textSize(16); text("Play, Learn, Act: Games for Sustainable Impact – Aligning Fun with Global Goals! \n GREEN for RECYCLABLE RED for NON RECYCLABLE and BLUE for COMPOSTABLE \n Press 'R', 'G', or 'B' when corresponding color appears.\n If you miss 3 in row you'll lose.", width / 2, height - 80); }