function moveCounter(){
     moves++;
     counter.innerHTML = moves;
     //start timer on second click / ie when 2 squares are guessed
     if(moves == 1){
         second = 0;
         minute = 0;
         hour = 0;
         startTimer();
     }
     // setting rates based on moves
     if (moves > 12 && moves < 16){
         for( i= 0; i < 3; i++){
             if(i > 1){
                 stars[i].style.visibility = "collapse";
             }
         }
     }
     else if (moves > 17){
         for( i= 0; i < 3; i++){
             if(i > 0){
                 stars[i].style.visibility = "collapse";
             }
         }
     }
 }
/**
 * @description count total moves/guesses
 */
@description count total moves/guesses
@description count total moves / guesses
function moveCounter(){
     moves++;
     counter.innerHTML = moves;
     if(moves == 1){
         second = 0;
         minute = 0;
         hour = 0;
         startTimer();
     }
     if (moves > 12 && moves < 16){
         for( i= 0; i < 3; i++){
             if(i > 1){
                 stars[i].style.visibility = "collapse";
             }
         }
     }
     else if (moves > 17){
         for( i= 0; i < 3; i++){
             if(i > 0){
                 stars[i].style.visibility = "collapse";
             }
         }
     }
 }
function moveCounter ( ) { moves ++ ; counter . innerHTML = moves ; if ( moves == 1 ) { second = 0 ; minute = 0 ; hour = 0 ; startTimer ( ) ; } if ( moves > 12 && moves < 16 ) { for ( i = 0 ; i < 3 ; i ++ ) { if ( i > 1 ) { stars [ i ] . style . visibility = "collapse" ; } } } else if ( moves > 17 ) { for ( i = 0 ; i < 3 ; i ++ ) { if ( i > 0 ) { stars [ i ] . style . visibility = "collapse" ; } } } }
@description count total moves/guesses
@description count total moves / guesses
//start timer on second click / ie when 2 squares are guessed // setting rates based on moves