boolean gameover = false; String []names = { "A", "B", "C", "D" ,"E","F", "G","H"}; String title= "SQUID RACE"; String author = " jack"; float surface=height/4; int many =8; Squid [] josh = new Squid [many]; void setup () { size(900,600); for (int j=0; j70){ text( "The top squid is "+josh[j].name+" at x="+josh[j].x, 100, 30 ); } } } void scene(){ fill(0); text (title , width/2 -20, 10); text (author, width/2 -20,25); } void help(){ int n= 1; float x= width-200; text( "Space-bar to move squid", x, 10*n++); text( "click to turn any squid around", x, 10*n++ ); text( "d to display winner", x, 10*n++ ); text( "r to restart (with random size & color)", x, 10*n++ ); } int winner ( Squid[]josh, int m){ int h=0; for (int j =0;jx && mxy-h-leg && my