/// Alexa Trejo Squid Race Final CST112 ///
 String title= "The Squid Race";
 String author= "Alexa Trejo";
 int many= 10;
 boolean gameover = false;
 
 float horizon=height/3
 int w= winner;
// float Squid [many] squidward = new Squid;// won't compile
// float Squid [10] squidward = new Squid // doesn't compile
 
 void setup() {
   size( 600, 500 );
   background( 30, 109, 232 ); // blue sea //

 }
 
 void draw() { 
   // For the horizon ///
      rectMode( CORNER );//// sky
   fill( 70, 213, 247 );/// sky
   for (int a=0;a<many;a++){
     
     new Squid [a] (50=a*50, squidward);
   }
   if (squidward[w].many -squidward[w].horizon)
   gameover= false;
   String "Game Over!"
     
   
   /// 5 Squid drawn here ///
   fill( 0 );
   rect( horizon, width/2, height/2, 10 );
   
     fill( 0 );
   rect( horizon+2, width/3, height/3, 10 );
   
     fill( 0 );
   rect( horizon+4, width/4, height/4, 10 );
   
      fill( 0 );
   rect( horizon+5, width/5, height/5, 10 );
   
      fill( 0 );
   rect( horizon+6, width/6, height/6, 10 );
   /// ring for winner here ///
 //  ellipse( 50, 50, 50, 50 );
 //  fill( 247, 2, 19 ); /// red ring
     ellipse (50 , 50, 50, 50 );
  fill( 30, 109, 232 );
 //  fill( 255, 252, 253 );// no
 // fill( 247, 2, 19 );// no
  ellipseMode( CENTER );
  ellipse( 50, 50, 40, 40 );
  //fill( 255, 252, 253 );// no
  fill( 247, 2, 19 );
  // Squid's legs //
  
 line ( horizon+20, 30, 20, 50 );
  line ( horizon+18, 28, 18, 48 );
  line( horizon+16, 26, 16, 45 );
  line( horizon+14, 24, 14, 43 );
  line( horizon+12, 22, 12, 41 );
 }
 // When squid moves and hits horizon //
 void move() {
   boolean hit (horizon+2);
 // When the winner squid makes it to the top first ///
class Squid {
  int x=100, y=width-50
 boolean first=false;
 
 this.squid
}
}
// Go button for squid race //
void buttonShow( float x, float y, String s ) {
 
  rect( x,y, 80,30 );
  fill(0);
  text( s, x+10, y+15 );
  String "Go!" ;
  // Continuation of button //
  void mousePressed() {
  //// Handle clicks ////
  if ( hit( mouseX,mouseY, button1X,button1Y, 80, 30 ) ) {
    fill(252, 241, 10);
    /// yellow button //
  }
  // spacebar to move squid //
  void keyPressed () {
    if( key== ' ' {
      if(! gameover)
      for( a=0;a< squidward.this; a++)
    }
  }
  void keyPressed () {
    if( key== 'q') {
      // quit key //
    }