function showCounter(withHint) {
  //g.clear();
  E.showMessage("", appTitle());
  g.setFontAlign(0,0); // center font
  // draw the current counter value
  g.setBgColor(-1).setColor(0,0,1); // blue
  g.setFont("Vector",20); // vector font, 20px  
  g.drawString("Timer: " + timeFormated(counterStart),80,55);
  g.setFont("Vector",60); // vector font, 60px  
  g.drawString(timeFormated(counter),83,100);
  if (withHint) {
    g.setFont("Vector",20); // vector font, 80px
    g.drawString("Tap for help",80,150);
  }
}
/* show current counter value at start and while count down
  Show
  - Title with current time
  - initial timer value
  - remaining time
  - hint for help in state start
*/
show current counter value at start and while count down
Show
Title with current time
initial timer value
remaining time
hint for help in state start
show current counter value at start and while count down Show Title with current time initial timer value remaining time hint for help in state start
function showCounter(withHint) {
  E.showMessage("", appTitle());
  g.setFontAlign(0,0); 
  g.setBgColor(-1).setColor(0,0,1); 
  g.setFont("Vector",20); 
  g.drawString("Timer: " + timeFormated(counterStart),80,55);
  g.setFont("Vector",60); 
  g.drawString(timeFormated(counter),83,100);
  if (withHint) {
    g.setFont("Vector",20); 
    g.drawString("Tap for help",80,150);
  }
}
function showCounter ( withHint ) { E . showMessage ( "" , appTitle ( ) ) ; g . setFontAlign ( 0 , 0 ) ; g . setBgColor ( - 1 ) . setColor ( 0 , 0 , 1 ) ; g . setFont ( "Vector" , 20 ) ; g . drawString ( "Timer: " + timeFormated ( counterStart ) , 80 , 55 ) ; g . setFont ( "Vector" , 60 ) ; g . drawString ( timeFormated ( counter ) , 83 , 100 ) ; if ( withHint ) { g . setFont ( "Vector" , 20 ) ; g . drawString ( "Tap for help" , 80 , 150 ) ; } }
show current counter value at start and while count down
Show
 Title with current time
 initial timer value
 remaining time
 hint for help in state start
show current counter value at start and while count down Show Title with current time initial timer value remaining time hint for help in state start
//g.clear(); // center font // draw the current counter value // blue // vector font, 20px   // vector font, 60px   // vector font, 80px