private void runClock(){
  
		while(minutes!=-1 && seconds!=0){
			try {
				
				if(seconds!=-1){//game not paused
					seconds--;
					result = String.format(minutes+":"+ "%02d", seconds);
					//System.out.println(result);
					gameDrawPanel.repaint();
					
					if(seconds==0){
						minutes--;
						seconds=60;
					}
					Thread.sleep(1000);
				} 
				
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				//System.out.println("Clock Stoped");
				seconds = 60;
				break;
				
			}
				
		}
		//end game
		result="Game Over";
		gameDrawPanel.saveGameInfo();
		gameOver=true;
		gameDrawPanel.resetBlockColors();
		gameDrawPanel.repaint();
		
	}