private boolean isTimeout(){
  int allowedMin=4 + level * 2;
  if (level <= 2) {
    allowedMin=2;
  }
  long diff=System.currentTimeMillis() - levelStart;
  return diff / 1000 > allowedMin * 60;
}

private boolean isTimeout ( ) { int allowedMin = 4 + level * 2 ; if ( level <= 2 ) { allowedMin = 2 ; } long diff = System . currentTimeMillis ( ) - levelStart ; return diff / 1000 > allowedMin * 60 ; }
is the timeout reached
