 }
 
 // check if the game is over
-void displayGameWinner() {
-  int tempState = 6;   // assume winner
+int getGameWinner() {
+  int tempState = 5;   // assume winner
   
   if (playerScore == winsNeeded) {
-    showHeaderNoScore();
-    mySerial.print("Player Won " + String(playerScore) + "-" + String(compScore));
+    strWinner = "Player Won " + String(playerScore) + "-" + String(compScore);
   }
   else if (compScore == winsNeeded) {
-    showHeaderNoScore();
-    mySerial.print("CPU won " + String(compScore) + "-" + String(playerScore));
+    strWinner = "CPU won " + String(compScore) + "-" + String(playerScore);
   }
   else {
-    tempState = 5;    // no winner
-  }
-  
-  displayState = tempState;
+    tempState = 0;    // no winner
+  }
+  
+  return tempState;
 }
 
 // display header with score

  if (btnStatePlay != oldBtnStatePlay) {
    oldBtnStatePlay = btnStatePlay;
  }
}

// increment player hand

  playerScore = 0;
  compScore = 0; 
}
