public void run()
	{
		//Our code can run in this thread
		
		
		while(true)
		{
			
			for (int i = 0 ; i < 4 ; i++)
			{
				c.handleCollisionWith(box[i]) ; 
			
			}
				
			if (c.hasCollidedWith(FLOOR))
				c.bounceOff(FLOOR);
			
		
			if ( c.hasCollidedWith(goal) )
			{
				points += 100.0/goal.r;
				int rx = rand.nextInt(1200);
				int ry = rand.nextInt(700);
				int rr = rand.nextInt(20 - 5) + 5;
				goal = new Circle(new Point(rx, ry), rr, Color.YELLOW );
				reset();
				
			}
				
			
			if(isPressed[KeyEvent.VK_RIGHT])
				controlled.rotateRightBy(2);
			
			if(isPressed[KeyEvent.VK_LEFT])
				controlled.rotateLeftBy(2);
			
			if(isPressed[KeyEvent.VK_R])
			{
				reset();
			}
			
			
			points += Math.abs(c.v.y + c.v.x);			
			repaint();
			
			
			try{
				
				Thread.sleep(16);
			}
			catch(Exception ex){}
		
		}
	
		
	}