//Mega Review Assignment Show a final game screen -> Variables: String name of player, and game Int score Float percent style number(accuracy, etc) -> For loops: Draw a border around the edges of the screen -> Arrays: display Top scores with names, use a for loop to display use index values directly to give the values in setup Later upgrades: Multiple screens Buttons to navigate the screens Screen 1: Title screen with Image and some text Screen 2: Game screen, just a moving box Screen 3: Boss level, guitar hero boxes that move down and teleport back to the top Screen 4: Game summary Screen Below is some example code to get the screens and buttons started. int screen; void setup() { size(500, 500); screen = 0; } void draw() { if (screen == 0) {//Dollar value screen, variables & ifs fill(255, 255, 255); rect(0, 0, width, height); } else if (screen == 1) {//Loops fill(255, 0, 255); rect(0, 0, width, height); } else if (screen == 2) {//Array fill(255, 255, 0); rect(0, 0, width, height); } else if (screen == 3) {//Functions fill(0, 255, 0); rect(0, 0, width, height); } /* Put general PREV and NEXT buttons here */ } void mousePressed() { //Example usage of going to the next screen screen++; if (screen > 3) screen = 3; }