     digitalWrite(VIBE_PIN,0);
 }
 
+void winnerDance(int secs) {
+  static int danceVibe[] = {1,  0,  0,0,0, 1,0,1,0,0};
+  static int danceColor[] =     {0xf0,0x0,0xf,0x0,0xf0,0x0,0xf,0x0,0x0,0x0};
+  static int danceMask[] =      {0xaa,0xff,0x55,0xff,0xaa,0xff,0x55,0xff,0xff,0xff};
+
+  for (int j=0; j<secs; j++) {
+    for (int i=0; i<10; i++) {
+      pix.disp(danceMask[i], danceColor[i], 0);
+      digitalWrite(VIBE_PIN, danceVibe[i]);
+      delay(100);
+    }
+  }
+}
 // ************* BLE **************************************************
 void bleSetup() {
   blePeripheral.setLocalName("CurieDice");



  readDiceId();
  
  // *************** IMU Setup ***************************************
  // initialize device
  SERIAL_PRINTLN("Initializing IMU device...");

          }
          i = (i==0)? TSLOTS-1:i-1;
        }
        if ((his+lows)>9 && his>3) {
          int roll = calcOrientation();
          SERIAL_PRINTLN(roll);
          resultShow(roll);
