[F/OS] Game: SchulteTable

Yes it can be done without any extension

1. Replace Async Delay with Clock component

if(global currentGameMode = "RACE"){

  SET lbl_G_SB_TimerValue.Text = "00:00";
  SET Clock1.TimerInterval = 100;

} else if(global currentGameMode = "SURVIVAL"){

  SET lbl_G_SB_TimerValue.Text = 45;
  SET Clock1.TimerInterval = 1000;

}

SET Clock1.TimerEnabled = true;

When Clock1.Timer(){

  if(global currentGameMode = "RACE"){
    // Do Format Date mm:ss
  } else if(global currentGameMode = "SURVIVAL"){
    SET lbl_G_SB_TimerValue.Text = lbl_G_SB_TimerValue.Text - 1

    if(lbl_G_SB_TimerValue.Text == 0){
      SET Clock1.TimerEnabled = false;
      // Show Notifier Game Over
    }
  }

}

On Button Click:

if (global expectedNumber > global maxNumber){
  SET Clock1.TimerEnabled = false;
  // Show Notifier Win
}

2. Replace Dynamic Grid

Option 1: Create grids manually and map them in lists in blocky

Option 2: Create Grids with Canvas

I don't have much experience with Canvas, but I suppose it would be quite similar to how you created the circles in Peg Solitaire:

1 Like